[ https://issues.apache.org/jira/browse/SOLR-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-1875: ------------------------------- Attachment: SOLR-1875.patch Here's the first cut - seems to work fine. You can try it out with facet.method=fcs (the extra "s" can either stand for the plural, since there are multiple field caches, or for segment). I haven't introduced a way to limit the number of threads used... it's currently one per segment. I'm thinking of a local param named "threads" for that. Note: this will probably only make sense in NRT scenarios. It will take up more memory for the field caches, more memory per-request for the accumulator arrays, and more CPU since an additional merge step is needed. One possible side benefit is a reduction in field cache memory (due to field cache insanity - per-segment and whole-index field caches both being populated). > 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 > Attachments: SOLR-1875.patch > > > 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