msfroh opened a new pull request, #16240:
URL: https://github.com/apache/lucene/pull/16240

   ### Description
   
   This change builds on a previous commit (#16222) by adding a "visit budget" 
on F`ilteredTermsEnum`. We can use that to build a `ScorerSupplier` with more 
accurate cost if it can be done cheaply (e.g. prefix / regex queries with a 
prefix). If the terms enum is expensive (e.g. leading wildcard query), then the 
budget is exhausted and we give up.


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