[
https://issues.apache.org/jira/browse/LUCENE-10246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446547#comment-17446547
]
Michael Sokolov commented on LUCENE-10246:
------------------------------------------
Thanks, Greg! I think we might also want an option to report the aggregated
weights, rather than the counts. Consider merging multiple such facet responses
across a sharded index; you'd need to preserve the aggregated weights in order
to properly rank the facets across the entire index.
> Support getting counts from "association" facets
> ------------------------------------------------
>
> Key: LUCENE-10246
> URL: https://issues.apache.org/jira/browse/LUCENE-10246
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Reporter: Greg Miller
> Priority: Minor
>
> We have these nice "association" facet implementations today that aggregate
> "weights" from the docs that facet over, but they don't keep track of counts.
> So the user can get "top-n" values for a dim by aggregated weight (great!),
> but can't know how many docs matched each value. It would be nice to support
> this so users could show the top-n values but _also_ show counts associated
> with each.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]