lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-9822) Improve faceting performance with FieldCache
Date Tue, 06 Dec 2016 18:49:58 GMT


Yonik Seeley commented on SOLR-9822:

I tried yet another approach of bulk gathering the id+ord in an array and then looping over
that in the calling code, but it was much slower than the lambda (although still faster than
current master w/o patching by 10%).  Still slow enough I won't bother attaching the patch.

In the spirit of progress over perfection, we should probably just commit the first approach
(since it gives a 50% speedup in those cases.), but limited to the two call sites in that
patch (in FacetFieldProcessorByArrayDV).  We shouldn't over-generalize the results found here.
 It may be that a lambda-type approach will work better in other contexts, and those will
need to be tested.  It's also the case that encapsulating this logic will make it easier to
introduce/maintain additional optimizations such as actually using the skipping of the docvalues
iterator when it's sparse vs our domain set).

> Improve faceting performance with FieldCache
> --------------------------------------------
>                 Key: SOLR-9822
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: master (7.0)
>         Attachments: SOLR-9822.patch, SOLR-9822_OrdValues.patch, SOLR-9822_lambda.patch
> This issue will try to specifically address the performance regressions of faceting on
FieldCache fields observed in SOLR-9599.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message