Hi Grant,

Thanks for the explanation.

Regards
ericz

On Mon, Aug 30, 2010 at 3:22 PM, Grant Ingersoll <gsing...@apache.org>wrote:

>
> On Aug 30, 2010, at 7:20 AM, Eric Grobler wrote:
>
> > Hi Solr Community
> >
> > If you use a filter like:
> >  q=*:*
> >  fq=make:Volkswagen
> >
> > and then the next query is:
> >  q=blue
> >  fq=make:Volkswagen
> >
> > will Solr use the filter cache before the main query, or only after a
> "blue"
> > subset?
>
> The first query will put the FQ into the cache and then it will be re-used
> on the second (and all subsequent) queries that use it.
>
> > In other words will this query make more sense?
> >  q=(blue) AND (make:Volkswagen)
> >
> > What are the do's and don'ts of Filter Queries and are there differences
> > between Solr versions?
>
> You should use FQs when you expect to have cache hits and can also afford
> the extra memory and won't get hit by garbage collection pauses when doing
> commits, etc.
>
>
> --------------------------
> Grant Ingersoll
> http://lucenerevolution.org Apache Lucene/Solr Conference, Boston Oct 7-8
>
>

Reply via email to