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)

If I put Date parameter in fq would it be first filtering on date and then
doing text search or both of them would be filtered separately and then
intersection? If its filtered separately the issue would be that lets say
"abd def" takes 20 secs on all documents (without any filters - due to large
# of documents) and it will be still taking same time but if its done only
on few documents on that specific date it would be super fast.

If fq doesn't give what I am looking for, is there any other parameter?
There should be a way as this is a very common scenario.



-- 
Regards,

Salman Akram

Reply via email to