Yonik Seeley created SOLR-8222:
----------------------------------

             Summary: Optimize count-only faceting when there are many expected 
matches-per-ord
                 Key: SOLR-8222
                 URL: https://issues.apache.org/jira/browse/SOLR-8222
             Project: Solr
          Issue Type: Improvement
          Components: Facet Module
            Reporter: Yonik Seeley


This optimization for the JSON Facet API came up a few months ago on the 
mailing list (I think by Toke).
Basically, if one expects many hits per bucket, use a temporary array to 
accumulate segment ords and map them all at the end to global ords.  This saves 
redundant segOrd->globalOrd mappings at the cost of having to scan the temp 
array.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to