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

   ### Description
   
   Refer - https://github.com/apache/lucene/issues/15887 for details
   
   This skips the scorer construction for clauses with zero cost. As with the 
example given in above issue, if a user sends hundred of should clauses, and 
with most of them or ALL with zero cost, we still end up constructing the 
scorer leading to unnecessary CPU cycles consumption.
   
   <!--
   If this is your first contribution to Lucene, please make sure you have 
reviewed the contribution guide.
   https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
   -->
   


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