Okay I think I found it. Let me know if this makes sense (also for
those curious about this).
1) The IndexSearcher will create a FilteredQuery using the
RANDOM_ACCESS_STRATEGY by default (IndexSearcher#wrapFilter).
2) When the searcher requests the scorer, the FilteredQuery uses the
FilterStrateg
Thanks. So I was poking through this and see that the filters are
calculated up front and stored as docsets that get intersected and
passed into Lucene in the filter. The question though is that
somewhere in the IndexSearcher and somewhere into the scorer it does
this but I can't quite find where.
Amit,
Sure. this method
https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java#L796beside
some other stuff calculates fq's docset intersection which is
supplied into filtered search call
https://github.com/apache/lucene-solr/blob/trunk/sol
Hi all,
Quick question. I've been reading up on the filter query and how it's
implemented and the multiple articles I see keep referring to this
notion of leap frogging and filter query execution in parallel with
the main query. Question: Can someone point me to the code that does
this so I can be