lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5298) Allow aggregating facets by any ValueSource
Date Thu, 07 Nov 2013 07:54:17 GMT

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

ASF subversion and git services commented on LUCENE-5298:
---------------------------------------------------------

Commit 1539541 from [~steve_rowe] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1539541 ]

LUCENE-5298: Maven config: add new lucene-queries dependency to the lucene-facet module; add
new lucene-queries and lucene-expressions dependencies to the lucene-demo module

> Allow aggregating facets by any ValueSource
> -------------------------------------------
>
>                 Key: LUCENE-5298
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5298
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>             Fix For: 4.6, 5.0
>
>         Attachments: LUCENE-5298.patch, LUCENE-5298.patch
>
>
> Facets can be aggregated today by counting them, aggregating by summing their association
values, or summing the scores of the documents. Applications can write their own FacetsAggregator
to compute the value of the facet in other ways. Following the new expressions module, I think
it will be interesting to allow aggregating facets by arbitrary expressions, e.g. {{_score
* sqrt(price)}} where 'price' is an NDV field. I'd like to explore allowing any ValueSource
to be passed in and write a ValueSourceFacetsAggregator.



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