On Thu, Feb 24, 2011 at 6:46 AM, Salman Akram
<salman.ak...@northbaysolutions.net> wrote:
> Hi,
>
> I know Filter Query is really useful due to caching but I am confused about
> how it filter results.
>
> Lets say I have following criteria
>
> Text:: "Abc def"
> Date: 24th Feb, 2011
>
> Now "abc def" might be coming in almost every document but if SOLR first
> filters based on date it will have to do search only on few documents
> (instead of millions)

Yes, this is the way Solr works.  The filters are executed separately,
but the query is executed last with the filters (i.e. it will be
faster if the filter cuts down the number of documents).

-Yonik
http://lucidimagination.com

Reply via email to