lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-10528) Use docvalue for range faceting in JSON facet API
Date Thu, 20 Apr 2017 01:59:04 GMT


Yonik Seeley commented on SOLR-10528:

Thanks Kensho!
On first glance, it looks like there is numeric boxing going on... I wonder if it could be
replaced with something like MutableValue to avoid that?
Anyway, we can try to optimize later as well as long as it's just implementation details.

> Use docvalue for range faceting in JSON facet API
> -------------------------------------------------
>                 Key: SOLR-10528
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Facet Module
>    Affects Versions: 6.5
>            Reporter: Kensho Hirasawa
>            Priority: Minor
>         Attachments: 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message