jpountz commented on PR #14968:
URL: https://github.com/apache/lucene/pull/14968#issuecomment-3113761945

   FWIW I suspect that the speedup to tasks such as `FilteredAndStopWords` is 
not an actual speedup, but a side-effect of the fact that we only every wrap 
`RandomQuery` within a `ConstantScoreQuery`. So specializing 
`ConstantScoreQuery#applyAsRequiredClause` makes some calls monomorphic, while 
they map be polymorphic in production systems where `ConstantScoreQuery` is 
used to wrap `TermQuery` and many other queries.


-- 
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