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


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