You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2017/05/05 00:04:04 UTC
[jira] [Resolved] (LUCENE-7811) Add concurrent version of
SortedSetDocValuesFacetCounts
[ https://issues.apache.org/jira/browse/LUCENE-7811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-7811.
----------------------------------------
Resolution: Fixed
> Add concurrent version of SortedSetDocValuesFacetCounts
> -------------------------------------------------------
>
> Key: LUCENE-7811
> URL: https://issues.apache.org/jira/browse/LUCENE-7811
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: master (7.0), 6.6
>
> Attachments: LUCENE-7811.patch
>
>
> Counting up facets should take advantage of concurrent hardware if the index has multiple segments.
> At first I tried to add an optional {{ExecutorService}} argument to the existing single-threaded {{SortedSetDocValuesFacetCounts}} but it was difficult, so I just made a new class.
> I also internally refactored {{SortedSetDocValuesFacetCounts}} to share code between its {{count}} and {{countAll}} private methods, and switched the {{FacetsCollector}} to use {{DocIdSetBuilder}} instead of always using a {{FixedBitSet}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org