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 2016/10/22 14:11:58 UTC

[jira] [Updated] (LUCENE-7519) Optimize computing browse-only facets for taxonomy and sorted set methods

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org