Hi. Block Max WAND is an optimization that can skip docs based on score thresholds with some hints in the index. If there are no MUST/SHOULD clauses in the boolean query, then there is no score.
~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Mon, Oct 5, 2020 at 8:15 PM Viral Gandhi <[email protected]> wrote: > Hello, > > I am trying to utilize Block Max WAND optimization. During testing, > BooleanQuery that I passed to IndexSearcher.seach() had multiple clauses > and all of them were of Occur.FILTER type. I noticed that when queries do > not have Occur.MUST clauses, BlockMaxConjunctionScorer is not created for > those clauses. > > Does anyone know why WAND optimization does not apply for Occur.FILTER > clauses? > > Thanks, > Viral Gandhi >
