You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by revas <re...@gmail.com> on 2009/04/02 21:07:02 UTC
Facets drill down
Hi,
I typically issue a facetdrill down query thus
q=somequery and Facetfield:facetval .
Is there any issues with the above approach as opposed to
&fq=facetfield:value in terms of memory consumption and the use of cache.
Regards
Suajatha
Re: Facets drill down
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Apr 2, 2009, at 3:07 PM, revas wrote:
> Hi,
>
> I typically issue a facetdrill down query thus
>
> q=somequery and Facetfield:facetval .
>
> Is there any issues with the above approach as opposed to
> &fq=facetfield:value in terms of memory consumption and the use of
> cache.
Yes... using fq allows those queries to be cached independently into
the filter cache. Combining clauses like you show avoids the cache,
and also the Facetfield:facetval clause is used in scoring which is
typically unnecessary/undesirable.
Erik