[jira] [Commented] (SOLR-5512) Optimize DocValuesFacets
[ https://issues.apache.org/jira/browse/SOLR-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13835587#comment-13835587 ] ASF subversion and git services commented on SOLR-5512: --- Commit 1546675 from [~rcmuir] in branch 'dev/trunk' [ https://svn.apache.org/r1546675 ] SOLR-5512: Optimize DocValuesFacets Optimize DocValuesFacets - Key: SOLR-5512 URL: https://issues.apache.org/jira/browse/SOLR-5512 Project: Solr Issue Type: Improvement Reporter: Robert Muir Attachments: SOLR-5512.patch This works well in the general case (esp with huge numbers of unique values), but the SortedSetDocValuesAccumulator in lucene/facets does the algorithm better for typical cases (smaller number of unique values wrt the size of the document set). In this case, it collects directly with per-segment local ords, then remaps as a second step. So this is a lot less remapping. Its too bad the code is separate at the moment, for now lets steal the heuristic. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5512) Optimize DocValuesFacets
[ https://issues.apache.org/jira/browse/SOLR-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13835593#comment-13835593 ] ASF subversion and git services commented on SOLR-5512: --- Commit 1546676 from [~rcmuir] in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1546676 ] SOLR-5512: Optimize DocValuesFacets Optimize DocValuesFacets - Key: SOLR-5512 URL: https://issues.apache.org/jira/browse/SOLR-5512 Project: Solr Issue Type: Improvement Reporter: Robert Muir Attachments: SOLR-5512.patch This works well in the general case (esp with huge numbers of unique values), but the SortedSetDocValuesAccumulator in lucene/facets does the algorithm better for typical cases (smaller number of unique values wrt the size of the document set). In this case, it collects directly with per-segment local ords, then remaps as a second step. So this is a lot less remapping. Its too bad the code is separate at the moment, for now lets steal the heuristic. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org