costin commented on PR #16160:
URL: https://github.com/apache/lucene/pull/16160#issuecomment-4842885236

   Good catch @romseygeek — `MatchAllDocsQuery` was getting rewritten away, so 
the benchmark was measuring the standalone range query path, not 
DenseConjunction.
   
   Replaced with a `TermQuery` on an indexed `StringField` that matches all 
docs. The `TermQuery` survives rewrite and forces the conjunction scorer, so 
`rangeIntoBitSet` is exercised on every iteration.
   
   Applied same fix to the sorted-numeric benchmark in #16285.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to