[
https://issues.apache.org/jira/browse/SOLR-7406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomás Fernández Löbbe updated SOLR-7406:
----------------------------------------
Attachment: SOLR-7406.patch
New patch
* Added javadocs.
* Replaced hardcoded strings with constants and enums.
* Added a distributed test.
* Added tests for {{facet.range.hardend}} setting (for new and old method).
* In case of a group Faceting request or a DateRangeField field, always use the
"filter" method, even if users specify {{facet.range.method=dv}}. Log a warning
if this happens.
I think the patch is pretty much done, I'll add a couple of tests with bad
requests and commit after that unless someone has any concerns.
> Support DV implementation in range faceting
> -------------------------------------------
>
> Key: SOLR-7406
> URL: https://issues.apache.org/jira/browse/SOLR-7406
> Project: Solr
> Issue Type: Improvement
> Reporter: Tomás Fernández Löbbe
> Assignee: Tomás Fernández Löbbe
> Fix For: Trunk
>
> Attachments: SOLR-7406.patch, SOLR-7406.patch
>
>
> interval faceting has a different implementation than range faceting based on
> DocValues API. This is sometimes faster and doesn't rely on filters / filter
> cache.
> I'm planning to add a "method" parameter that would allow users to chose
> between the current implementation ("filter"?) and the DV-based
> implementation ("dv"?). The result for both methods should be the same, but
> performance may vary.
> Default should continue to be "filter".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]