lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kensho Hirasawa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-10528) Use docvalue for range faceting in JSON facet API
Date Thu, 01 Jun 2017 05:39:04 GMT

     [ https://issues.apache.org/jira/browse/SOLR-10528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kensho Hirasawa updated SOLR-10528:
-----------------------------------
    Attachment: SOLR-10528.patch

I added tests and fixed two bugs found by the tests.

The fixed bugs are the following.

* When sub facet have a domain parameter with excludeTags, sub facets of buckets with zero
count are not executed.
* When hardend is true, the document with the same value as end is collected to a wrong bucket.

> Use docvalue for range faceting in JSON facet API
> -------------------------------------------------
>
>                 Key: SOLR-10528
>                 URL: https://issues.apache.org/jira/browse/SOLR-10528
>             Project: Solr
>          Issue Type: Improvement
>          Components: Facet Module
>    Affects Versions: 6.5
>            Reporter: Kensho Hirasawa
>            Priority: Minor
>         Attachments: SOLR-10528.patch, SOLR-10528.patch, SOLR-10528.patch
>
>
> Range faceting in JSON facet API has only one implementation. In the implementation,
all buckets are allocated and then range queries are executed for all the buckets. Therefore,
memory usage and computational cost of range facet can be very high if range is wide and gap
is narrow. 
> I think range faceting in JSON facet should have the implementation which uses DocValues
instead of inverted indices. By scanning DocValues, we can execute range facets much more
efficiently especially when the number of buckets is large.



--
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


Mime
View raw message