uchiha-asha opened a new pull request, #17058:
URL: https://github.com/apache/lucene/pull/17058

   This change uses a term’s postings directly as the document iterator when a 
constant-score multi-term query reduces to one term in a segment.
   
   JMH, `TermInSetQuery` with one term, 8 segments x 32K docs, us/op (3 forks x 
5 x 1 s, JDK 25, shared 4-vCPU VM):
   
   Query | Cache | Baseline | Patched
   -- | -- | -- | --
   common term (25% of docs), top 10 by score | none | 30.0 ± 3.4 | 25.5 ± 1.8
   common term, top 10 by score | default LRU | 30.7 ± 3.9 | 25.9 ± 2.7
   rare term (4 docs, rotating over 1,024 terms), top 10 | none | 18.4 ± 1.9 | 
16.7 ± 1.5
   common term as FILTER next to a 50% term | default LRU | 59.8 ± 8.9 | 58.2 ± 
11.0
   rare term as FILTER next to a 50% term | none | 42.0 ± 6.6 | 40.5 ± 3.4
   
   
   


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