Re: MaxScoreBulkScorer increased latency for a extreme test case (many SHOULD and each SHOULD clause matches all docs)

2024-09-20 Thread Rui Wu
Hi Adrien, You are right, the Max Conjunction scorer shows up in the flamegraph for 12 MUST clauses: https://htmlpreview.github.io/?https://github.com/wurui90/scratch/blob/main/flamegraphs/exists-with-limit-200-lucene911-must.html Thanks! On Fri, Sep 20, 2024 at 2:27 AM Adrien Grand wrote: >

Re: MaxScoreBulkScorer increased latency for a extreme test case (many SHOULD and each SHOULD clause matches all docs)

2024-09-20 Thread Adrien Grand
This suggests that BlockMaxConjunctionBulkScorer has a similar issue, I'll look into it too. On Thu, Sep 19, 2024 at 2:48 AM Rui Wu wrote: > Hi Adrien, > > Thanks for your help and putting up a fix! > > Another experiment I did without your PR: if the 12 SHOULD clauses are > changed to 12 MUST