You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/11/03 22:05:17 UTC

[jira] [Commented] (LUCENE-5297) Allow rang faceting on any ValueSource

    [ https://issues.apache.org/jira/browse/LUCENE-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812488#comment-13812488 ] 

Michael McCandless commented on LUCENE-5297:
--------------------------------------------

+1, patch looks good!

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