[ https://issues.apache.org/jira/browse/SOLR-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855576#action_12855576 ]
Yonik Seeley commented on SOLR-1875: ------------------------------------ OK, so the idea is pretty simple: reuse the existing algorithm for single valued string fields that uses the FieldCache. Count per-segment with a per-segment accumulator array, then merge all of the counts at the end (probably with a priority queue - same method used in MultiTermEnum). Seems like a good opportunity to introduce some threading and do the per-segment counting in parallel. > per-segment single valued string faceting > ----------------------------------------- > > Key: SOLR-1875 > URL: https://issues.apache.org/jira/browse/SOLR-1875 > Project: Solr > Issue Type: New Feature > Affects Versions: 3.1 > Reporter: Yonik Seeley > Assignee: Yonik Seeley > > A little stepping stone to NRT: > Per-segment single-valued string faceting using the Lucene FieldCache. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira