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

Greg Miller commented on LUCENE-9946:
-------------------------------------

Thanks [~rcmuir], I'll have a look! Agreed that asking the user to specify 
multivalued feels a bit clunky. I was aiming for consistency with the approach 
taken in {{LongValueFacetCounts}}, but if there's a better way to do this, I'm 
all for it (and maybe it's an opportunity to improve on 
{{LongValueFacetCounts}} as well). I'll dig into your suggestion shortly and 
follow up.

> Support multi-value fields in range facet counting
> --------------------------------------------------
>
>                 Key: LUCENE-9946
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9946
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/facet
>    Affects Versions: main (9.0)
>            Reporter: Greg Miller
>            Priority: Minor
>
> The {{RangeFacetCounts}} implementations ({{LongRangeFacetCounts}} and 
> {{DoubleRangeFacetCount}}) only work on single-valued fields today. In 
> contrast, the more recently added {{LongValueFacetCounts}} implementation 
> supports both single- and multi-valued fields (LUCENE-7927). I'd like to 
> extend multi-value support to both of the {{LongRangeFacetCounts}} 
> implementations as well.
> Looking through the implementations, I can't think of a good reason to _not_ 
> support this, but maybe I'm overlooking something?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to