[ 
https://issues.apache.org/jira/browse/SOLR-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-1904:
-------------------------------

    Attachment: SOLR-1904.patch

Attaching patch.
A quick test reveals about a 35% speedup with a very large minDf.

> Use HashDocSet when random access is needed in faceting
> -------------------------------------------------------
>
>                 Key: SOLR-1904
>                 URL: https://issues.apache.org/jira/browse/SOLR-1904
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>         Attachments: SOLR-1904.patch
>
>
> When facet.method=enum and we have a minDf>0 (when we skip the filter cache), 
> we iterate over documents for a term and call baseDocSet.exists(doc).  We 
> should ensure that this base doc set is fast for .exists(), so if it's a 
> SortedIntSet, make a HashDocSet to use.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to