So you are agreeing that it does what I want? So in my example "Abc def"
would only be searched on 24th Feb 2010 documents?

When you say 'last with filters' does it mean first it filters out with
Filter Query and then applies Query on it?

On Thu, Feb 24, 2011 at 9:29 PM, Yonik Seeley <yo...@lucidimagination.com>wrote:

> 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
>



-- 
Regards,

Salman Akram

Reply via email to