[
https://issues.apache.org/jira/browse/SOLR-10528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975826#comment-15975826
]
Yonik Seeley commented on SOLR-10528:
-------------------------------------
Yep, we should definitely do this. Perhaps use method=dv/enum to force one
method over the other, and otherwise try to pick the best method based on the
data.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]