Yes, pull out language:ENG language:FRA language:RUS into filters,
cache them, and re-use them across all queries.
In Lucene, see CachingWrapperFilter()
In Solr, use a separate fq (for filter query) parameter...
q=+topic:m&a +topic:earn +company:MSFT&fq=language:ENG
-Yonik
On Fri, Jul 25, 200
If I have a frequently queried field, which has a single value per document
(such as language), how can I pre-cache all field values, such that the
underlying query processing always uses memory cache (never disk i/o) for that
particular field? I don't know if it is possible without some custom