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

Greg Miller commented on LUCENE-10246:
--------------------------------------

[~sokolov] yeah, that's a good point. This is something users can do today (get 
back aggregated weights) and it's definitely something we need to preserve. 
Sounds like there could be good use-cases though for wanting both counts and 
weights.

> 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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to