[
https://issues.apache.org/jira/browse/LUCENE-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shai Erera updated LUCENE-5297:
-------------------------------
Attachment: LUCENE-5297.patch
Handled the nocommits (improved javadocs). All range tests pass and I see no
reason to exercise the API by passing other ValueSources, as the NDV ones are
simulated through LongFieldSource. I think it's ready!
> Allow rang faceting on any ValueSource
> --------------------------------------
>
> Key: LUCENE-5297
> URL: https://issues.apache.org/jira/browse/LUCENE-5297
> Project: Lucene - Core
> Issue Type: New Feature
> Components: modules/facet
> Reporter: Shai Erera
> Attachments: LUCENE-5297.patch, LUCENE-5297.patch
>
>
> Today RangeAccumulator assumes the ranges should be read from a
> NumericDocValues field. Would be good if we can modify it, or introduce a new
> ValueSourceAccumulator which allows you to range-facet on any ValueSource,
> e.g. one that is generated from an expression.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]