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

   ### Problem
   Currently, for term lookup `TermStates.get` defers for every case (to the 
lambda in TermStates.java). This works great for cold indexes but might not be 
the best for hot indexes.
   
   ### Solution
   We can depend upon prefetch for deferring. If prefetch is being done then 
index is still cold hence we should defer termstate lookup through lambda, if 
not we should short-circuit and look up termstate directly instead of deferring.
   
   ### Testing
   
   TK


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