lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] [Updated] (LUCENE-5297) Allow rang faceting on any ValueSource
Date Mon, 04 Nov 2013 09:22:19 GMT


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

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

View raw message