>From Yonik's blog: "By default, Solr resolves all of the filters before the main query"
By definition, the non-cached fq clause _must_ be executed over the entire data set in order to be cached. Otherwise, how could the next query that uses an identical fq clause make use of the cached value? If cache=false, it's a different story as per Yonik's blog. On Fri, May 6, 2016 at 7:25 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 5/6/2016 12:07 AM, Bastien Latard - MDPI AG wrote: >> Thank you Susmit, so the answer is: >> fq queries are by default run before the main query. > > Queries in fq parameters are normally executed in parallel with the main > query, unless they are a postfilter. I am not sure that the standard > parser supports being run as a postfilter. Some parsers (like geofilt) > do support that. > > Susmit already gave you this link where some of that is explained: > > http://yonik.com/advanced-filter-caching-in-solr/ > > Thanks, > Shawn >