Reputation: 5850
Could anyone explain me if there are diff in performance between these 2 queries ?
q=field1:xxx
and
q=*:*&fq=field1:xxx
Also, it would be good if you know about documents for Solr performance turning and post them here.
Thanks,
Upvotes: 0
Views: 153
Reputation: 52799
fq utilizes filter cache which allows all the subsequent queries to be fetched from cache rather then the actual index.
Some helpful links :-
http://lucene.472066.n3.nabble.com/fq-vs-q-td495570.html
http://searchhub.org/2012/02/10/advanced-filter-caching-in-solr/
http://www.michaelhamrah.com/blog/2011/11/solr-improving-performance-and-other-considerations/
Upvotes: 4