[
https://issues.apache.org/jira/browse/LUCENE-7519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-7519:
---------------------------------------
Attachment: LUCENE-7519.patch
Simple patch, and I fixed the test cases to randomly do it the slow way (pass a
{{MatchAllDocsQuery}}) or the new fast way.
> Optimize computing browse-only facets for taxonomy and sorted set methods
> -------------------------------------------------------------------------
>
> Key: LUCENE-7519
> URL: https://issues.apache.org/jira/browse/LUCENE-7519
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: master (7.0), 6.3
>
> Attachments: LUCENE-7519.patch
>
>
> For the "browse facets" use case, where logically you run
> {{MatchAllDocsQuery}} and then compute facet hits, we can optimize this case
> for both {{SortedSetDocValuesFacets}} and {{FastTaxonomyFacetCounts}} so that
> we don't use the query DISI at all and rather just pull from the doc values
> iterator using {{nextDoc}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]