On 6/19/2011 10:00 AM, Markus Jelsma wrote:
If you wan't to make good use of the filter cache then use filter queries.
Additionally, information in filter queries will not affect relevancy ranking. If you want the terms you are using to affect the document scores, include them in the main query. Filter queries are intended for just that -- filtering. They do it very efficiently, especially if you reuse them frequently, which hits the filter cache as Markus said. It's often good practice to break up your filter queries into multiple fq statements so that there's more likelihood that they will use the cache.
Thanks, Shawn