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

Michael McCandless commented on LUCENE-4715:
--------------------------------------------

Here's the per-dim-rollup results.  The index has 2 CLPs: one with only Date, 
the other with username+categories (= many ords, flat), and I facet only on 
Date CLP.

base = trunk, comp = per-dim rollup

{noformat}
                    Task    QPS base      StdDev    QPS comp     StdDev         
       Pct diff
                HighTerm       21.08      (6.9%)       21.26     (5.2%)    0.9% 
( -10% -   13%)
                 MedTerm       50.06      (6.1%)       52.39     (4.4%)    4.6% 
(  -5% -   16%)
                 LowTerm       97.70      (4.7%)      110.47     (4.6%)   13.1% 
(   3% -   23%)
{noformat}

So it helps most for queries matching fewer docs since the rollup is a fixed 
cost in the end ...
                
> Add OrdinalPolicy.NO_DIMENSION
> ------------------------------
>
>                 Key: LUCENE-4715
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4715
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>         Attachments: LUCENE-4715.patch
>
>
> With the move of OrdinalPolicy to CategoryListParams, 
> NonTopLevelOrdinalPolicy was nuked. It might be good to restore it, as 
> another enum value of OrdinalPolicy.
> It's the same like ALL_PARENTS, only doesn't add the dimension ordinal, which 
> could save space as well as computation time. It's good for when you don't 
> care about the count of Date/, but only about its children counts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to