lucene-dev mailing list archives

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

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message