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

   ### Description
   
   This PR propose to filter the `docAndScoreBuffer` by `maxOtherDoc`, so the 
cost following `filterCompetitiveHits` might be reduced since the elements are 
less. Here is the result under wikimediumall after 20 iterations:
   
   ```
                               TaskQPS baseline      StdDevQPS 
my_modified_version      StdDev                Pct diff p-value
                 CombinedAndHighMed       19.94      (4.9%)       19.55      
(4.7%)   -1.9% ( -11% -    8%) 0.243
                  CombinedOrHighMed       19.39      (6.0%)       19.02      
(4.4%)   -1.9% ( -11% -    9%) 0.295
         FilteredOr2Terms2StopWords       46.08      (5.7%)       45.20      
(4.8%)   -1.9% ( -11% -    9%) 0.291
                          CountTerm     5513.24      (2.5%)     5419.88      
(2.7%)   -1.7% (  -6% -    3%) 0.057
                         OrHighRare       90.97      (6.5%)       89.47      
(7.2%)   -1.6% ( -14% -   12%) 0.485
                  FilteredOrHighMed       36.35      (4.9%)       35.76      
(4.0%)   -1.6% (  -9% -    7%) 0.289
                   FilteredOr3Terms       41.11      (4.6%)       40.46      
(3.8%)   -1.6% (  -9% -    7%) 0.276
                CountFilteredOrMany        4.32      (3.0%)        4.25      
(2.8%)   -1.6% (  -7% -    4%) 0.114
                             IntSet      287.97      (3.3%)      283.60      
(4.4%)   -1.5% (  -8% -    6%) 0.257
                        CountOrMany        4.86      (2.9%)        4.79      
(2.8%)   -1.4% (  -6% -    4%) 0.157
                And2Terms2StopWords       52.86      (7.4%)       52.16      
(7.1%)   -1.3% ( -14% -   14%) 0.594
                 FilteredOrHighHigh       12.39      (3.9%)       12.23      
(2.6%)   -1.3% (  -7% -    5%) 0.257
                       FilteredTerm       60.82      (2.6%)       60.05      
(3.1%)   -1.3% (  -6% -    4%) 0.191
                             OrMany        4.11      (5.2%)        4.05      
(4.5%)   -1.3% ( -10% -    8%) 0.443
                FilteredAndHighHigh       10.33      (3.0%)       10.20      
(2.2%)   -1.2% (  -6% -    4%) 0.169
                    DismaxOrHighMed       44.93      (4.4%)       44.38      
(3.3%)   -1.2% (  -8% -    6%) 0.359
                             IntNRQ       42.96      (3.0%)       42.44      
(3.1%)   -1.2% (  -7% -    5%) 0.244
                           Wildcard       46.61      (3.5%)       46.05      
(2.0%)   -1.2% (  -6% -    4%) 0.216
                  FilteredAnd3Terms       99.45      (3.8%)       98.27      
(2.7%)   -1.2% (  -7% -    5%) 0.291
                     FilteredIntNRQ       42.57      (3.1%)       42.09      
(3.0%)   -1.1% (  -6% -    5%) 0.270
                     FilteredOrMany        3.85      (3.6%)        3.80      
(2.8%)   -1.1% (  -7% -    5%) 0.310
                         TermDTSort      138.65      (4.0%)      137.10      
(3.6%)   -1.1% (  -8% -    6%) 0.389
                CountFilteredPhrase        8.66      (3.9%)        8.56      
(3.7%)   -1.1% (  -8% -    6%) 0.396
               FilteredAndStopWords        8.30      (3.2%)        8.21      
(2.4%)   -1.1% (  -6% -    4%) 0.280
                  TermDayOfYearSort      254.17      (1.8%)      251.60      
(2.4%)   -1.0% (  -5% -    3%) 0.168
        FilteredAnd2Terms2StopWords       55.64      (5.5%)       55.09      
(4.9%)   -1.0% ( -10% -    9%) 0.583
                    CountOrHighHigh       49.57      (1.8%)       49.12      
(1.8%)   -0.9% (  -4% -    2%) 0.140
                       SloppyPhrase        1.12      (3.9%)        1.11      
(3.4%)   -0.9% (  -7% -    6%) 0.486
                   CountAndHighHigh       48.49      (2.0%)       48.06      
(1.8%)   -0.9% (  -4% -    2%) 0.177
                    AndHighOrMedMed       13.72      (3.1%)       13.61      
(3.3%)   -0.8% (  -7% -    5%) 0.446
                 FilteredAndHighMed       30.43      (3.1%)       30.19      
(2.5%)   -0.8% (  -6% -    4%) 0.403
                            Respell       34.92      (3.7%)       34.65      
(3.4%)   -0.8% (  -7% -    6%) 0.526
                FilteredOrStopWords        7.82      (3.7%)        7.76      
(2.3%)   -0.8% (  -6% -    5%) 0.473
                       CombinedTerm       10.69      (3.5%)       10.61      
(5.0%)   -0.7% (  -8% -    8%) 0.627
                     CountOrHighMed       71.71      (2.5%)       71.20      
(1.2%)   -0.7% (  -4% -    3%) 0.287
                             Fuzzy2       33.77      (4.4%)       33.54      
(4.2%)   -0.7% (  -8% -    8%) 0.651
                 CombinedOrHighHigh        5.44      (4.1%)        5.41      
(3.6%)   -0.6% (  -7% -    7%) 0.641
                CombinedAndHighHigh        5.62      (1.1%)        5.59      
(1.4%)   -0.6% (  -3% -    1%) 0.158
                     FilteredPhrase        9.36      (2.9%)        9.31      
(3.0%)   -0.6% (  -6% -    5%) 0.552
                CountFilteredIntNRQ       16.42      (1.3%)       16.33      
(1.2%)   -0.6% (  -3% -    1%) 0.163
                      TermMonthSort     2066.73      (1.9%)     2055.02      
(2.6%)   -0.6% (  -4% -    3%) 0.465
                             Phrase        7.38      (2.8%)        7.35      
(2.8%)   -0.5% (  -5% -    5%) 0.611
                   IntervalsOrdered        2.42      (3.1%)        2.41      
(4.0%)   -0.5% (  -7% -    6%) 0.712
                    CountAndHighMed       70.28      (2.9%)       69.97      
(1.8%)   -0.4% (  -4% -    4%) 0.596
            CountFilteredOrHighHigh       15.79      (1.0%)       15.73      
(0.8%)   -0.4% (  -2% -    1%) 0.175
             CountFilteredOrHighMed       17.88      (0.8%)       17.82      
(0.7%)   -0.3% (  -1% -    1%) 0.203
                             Fuzzy1       37.19      (5.0%)       37.09      
(4.3%)   -0.3% (  -9% -    9%) 0.857
                         DismaxTerm      446.12      (2.8%)      445.45      
(3.7%)   -0.2% (  -6% -    6%) 0.895
                            Term100      398.15      (3.8%)      397.58      
(5.0%)   -0.1% (  -8% -    9%) 0.926
                            Term10K      397.62      (3.7%)      397.06      
(5.1%)   -0.1% (  -8% -    9%) 0.926
                           SpanNear        2.47      (4.4%)        2.47      
(4.5%)   -0.1% (  -8% -    9%) 0.932
                            TermB1M      397.33      (3.8%)      397.16      
(5.1%)   -0.0% (  -8% -    9%) 0.979
                               Term      396.99      (3.8%)      396.98      
(5.0%)   -0.0% (  -8% -    9%) 0.998
                             Term1M      397.20      (3.7%)      397.21      
(5.1%)    0.0% (  -8% -    9%) 0.998
                          TermB1M1P      397.20      (3.8%)      397.27      
(5.2%)    0.0% (  -8% -    9%) 0.991
                          And3Terms       66.67      (5.1%)       66.69      
(4.7%)    0.0% (  -9% -   10%) 0.981
                            Prefix3       73.64      (4.2%)       73.72      
(3.8%)    0.1% (  -7% -    8%) 0.937
                    FilteredPrefix3       68.69      (3.8%)       68.87      
(3.5%)    0.3% (  -6% -    7%) 0.840
                 Or2Terms2StopWords       52.85      (6.4%)       53.02      
(6.4%)    0.3% ( -11% -   14%) 0.884
                   AndMedOrHighHigh       15.57      (2.7%)       15.64      
(2.4%)    0.4% (  -4% -    5%) 0.614
                        CountPhrase        2.58      (4.8%)        2.60      
(4.4%)    0.5% (  -8% -   10%) 0.731
                       AndStopWords        8.30      (3.6%)        8.38      
(3.0%)    1.0% (  -5% -    7%) 0.376
                      TermTitleSort       50.31      (4.6%)       51.27      
(4.4%)    1.9% (  -6% -   11%) 0.216
                           Or3Terms       58.12      (4.4%)       59.26      
(4.7%)    2.0% (  -6% -   11%) 0.209
                         AndHighMed       48.60      (4.9%)       49.56      
(4.4%)    2.0% (  -6% -   11%) 0.215
                          OrHighMed       57.57      (4.9%)       58.85      
(5.3%)    2.2% (  -7% -   13%) 0.208
                   DismaxOrHighHigh       31.71      (3.5%)       32.49      
(3.5%)    2.5% (  -4% -    9%) 0.039
                        OrStopWords        8.07      (3.4%)        8.34      
(3.7%)    3.4% (  -3% -   10%) 0.005
                        AndHighHigh       19.66      (6.2%)       20.65      
(4.7%)    5.0% (  -5% -   17%) 0.008
                         OrHighHigh       17.70      (3.6%)       18.73      
(4.6%)    5.8% (  -2% -   14%) 0.000
   ```
   
   <!--
   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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to