[ 
https://issues.apache.org/jira/browse/LUCENE-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402386#comment-17402386
 ] 

Greg Miller commented on LUCENE-5309:
-------------------------------------

Hmm, well it looks like there might be a nice little win to be had here. I'll 
attach a PR shortly to show my work, but running the {{wikimedium10m}} task, I 
see a nice QPS improvement to {{BrowseDayOfYearSSDVFacets}} and 
{{BrowseMonthSSDVFacets}} with no obvious regressions anywhere else:

 
{noformat}
                    TaskQPS baseline      StdDevQPS candidate      StdDev       
         Pct diff p-value
              HighPhrase      194.17      (5.4%)      190.18      (5.7%)   
-2.1% ( -12% -    9%) 0.244
                 MedTerm     1397.20      (5.8%)     1371.00      (4.4%)   
-1.9% ( -11% -    8%) 0.249
       HighTermMonthSort      133.09     (11.0%)      130.78      (6.8%)   
-1.7% ( -17% -   18%) 0.549
                 LowTerm     1475.27      (6.5%)     1453.29      (5.0%)   
-1.5% ( -12% -   10%) 0.414
                PKLookup      156.63      (3.1%)      154.65      (3.1%)   
-1.3% (  -7% -    5%) 0.199
            OrHighNotMed      865.84      (6.1%)      855.20      (6.4%)   
-1.2% ( -12% -   11%) 0.532
                HighTerm     1759.85      (9.2%)     1738.79      (5.0%)   
-1.2% ( -14% -   14%) 0.609
               LowPhrase      148.15      (3.6%)      146.52      (3.4%)   
-1.1% (  -7% -    6%) 0.313
               MedPhrase      389.11      (4.6%)      385.17      (5.0%)   
-1.0% ( -10% -    9%) 0.506
           OrNotHighHigh      612.02      (4.9%)      606.68      (4.8%)   
-0.9% ( -10% -    9%) 0.571
             AndHighHigh       38.66      (3.9%)       38.38      (2.9%)   
-0.7% (  -7% -    6%) 0.507
           OrHighNotHigh      586.80      (5.7%)      583.50      (4.6%)   
-0.6% ( -10% -   10%) 0.732
                  IntNRQ      102.81      (2.2%)      102.36      (2.0%)   
-0.4% (  -4% -    3%) 0.511
         MedSloppyPhrase       36.50      (2.6%)       36.43      (2.8%)   
-0.2% (  -5% -    5%) 0.811
        HighSloppyPhrase        8.75      (2.5%)        8.73      (2.6%)   
-0.2% (  -5% -    5%) 0.806
                 Respell       36.84      (2.7%)       36.78      (1.8%)   
-0.2% (  -4% -    4%) 0.817
    HighIntervalsOrdered        6.32      (5.2%)        6.31      (5.4%)   
-0.2% ( -10% -   11%) 0.921
         LowSloppyPhrase       10.40      (3.0%)       10.39      (3.2%)   
-0.1% (  -6% -    6%) 0.923
              AndHighMed      201.53      (3.0%)      201.39      (2.7%)   
-0.1% (  -5% -    5%) 0.941
     MedIntervalsOrdered       96.93      (4.3%)       96.92      (4.1%)   
-0.0% (  -8% -    8%) 0.993
    BrowseDateTaxoFacets        2.52      (4.2%)        2.52      (4.2%)   
-0.0% (  -8% -    8%) 0.994
   BrowseMonthTaxoFacets        2.70      (4.8%)        2.70      (4.7%)   
-0.0% (  -9% -   10%) 0.995
                Wildcard      168.79      (9.5%)      168.83      (7.6%)    
0.0% ( -15% -   18%) 0.992
BrowseDayOfYearTaxoFacets        2.52      (4.1%)        2.52      (4.2%)    
0.0% (  -7% -    8%) 0.975
              OrHighHigh       39.16      (2.0%)       39.20      (2.1%)    
0.1% (  -3% -    4%) 0.859
            OrNotHighMed      604.17      (5.5%)      604.91      (3.9%)    
0.1% (  -8% -    9%) 0.934
     LowIntervalsOrdered       23.06      (3.0%)       23.09      (2.8%)    
0.1% (  -5% -    6%) 0.873
                 Prefix3       70.49      (2.9%)       70.62      (3.4%)    
0.2% (  -5% -    6%) 0.849
             MedSpanNear       31.94      (1.9%)       32.02      (1.6%)    
0.2% (  -3% -    3%) 0.670
               OrHighMed      103.84      (2.3%)      104.12      (2.4%)    
0.3% (  -4% -    5%) 0.708
              TermDTSort       83.02     (13.6%)       83.33     (11.9%)    
0.4% ( -22% -   29%) 0.926
            OrNotHighLow      642.84      (5.8%)      645.32      (4.1%)    
0.4% (  -9% -   10%) 0.809
             LowSpanNear      180.65      (1.9%)      181.75      (2.5%)    
0.6% (  -3% -    5%) 0.380
            HighSpanNear        7.18      (1.7%)        7.23      (1.4%)    
0.7% (  -2% -    3%) 0.143
   HighTermDayOfYearSort      120.42     (12.0%)      121.31     (12.2%)    
0.7% ( -20% -   28%) 0.847
                  Fuzzy1       56.77      (8.8%)       57.19      (8.6%)    
0.7% ( -15% -   19%) 0.786
              AndHighLow      552.08      (3.9%)      556.52      (3.8%)    
0.8% (  -6% -    8%) 0.511
            OrHighNotLow      680.15      (6.8%)      687.49      (4.6%)    
1.1% (  -9% -   13%) 0.558
                  Fuzzy2       52.17     (10.1%)       53.14      (8.6%)    
1.9% ( -15% -   22%) 0.531
               OrHighLow      359.78      (6.1%)      374.03      (4.1%)    
4.0% (  -5% -   15%) 0.016
    HighTermTitleBDVSort      135.98      (8.2%)      144.71     (14.3%)    
6.4% ( -14% -   31%) 0.081
BrowseDayOfYearSSDVFacets       10.02      (4.0%)       11.10      (1.5%)   
10.7% (   5% -   16%) 0.000
   BrowseMonthSSDVFacets       11.05      (5.7%)       12.30      (1.5%)   
11.2% (   3% -   19%) 0.000


{noformat}
 

> when using SortedSetDV faceting, specialize the case when all docs are 
> single-valued
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5309
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5309
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/facet
>            Reporter: Michael McCandless
>            Assignee: Greg Miller
>            Priority: Major
>
> Spinoff from LUCENE-5300 ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to