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

2024-09-16 Thread Rui Wu
Correction: The index has 3.6 million documents. On Mon, Sep 16, 2024 at 1:00 PM Rui Wu wrote: > Dear experts, > > In our Mongodb Atlas Search performance regression test between Lucene 9.7 > and Lucene 9.11, we detect a 43% latency regression in this query shape: > 12 SHOULD clause, and each cl

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

2024-09-16 Thread Rui Wu
Dear experts, In our Mongodb Atlas Search performance regression test between Lucene 9.7 and Lucene 9.11, we detect a 43% latency regression in this query shape: 12 SHOULD clause, and each clause matches all of the documents. Each should clause is wrapped in ConstantScoreQuery. The index has 3.6

Re: Question about the performance of Lucene99PostingsFormat

2024-09-16 Thread Rui Wu
Dear Adrien, We found that the regression of match-all is not caused by the PostingList format, and instead it's caused by MaxScoreBulkScorer class. Let me create a new email thread about it since the tile of this email thread is N/A anymore. On Wed, Sep 11, 2024 at 6:24 PM Rui Wu wrote: > Than