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

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

Commit 650cad19a2ccf780a8ce30a6a8dfcf0d9d85022e in lucene's branch 
refs/heads/main from Greg Miller
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=650cad1 ]

LUCENE-9948: Automatically detect multi- vs. single-valued cases in 
LongValueFacetCounts (#122)

The public API in LongValueFacetCounts previously required the user to specify 
whether-or-not a field being counted should be single- or multi-valued (i.e., 
is it NumericDocValues or SortedNumericDocValues). Since we can detect this 
automatically, it seems unnecessary to ask users to specify.

Co-authored-by: Greg Miller <gmil...@amazon.com>

> Automatically detect multi- vs. single-valued cases in LongValueFacetCounts
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-9948
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9948
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/facet
>    Affects Versions: main (9.0)
>            Reporter: Greg Miller
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The public API in {{LongValueFacetCounts}} currently requires the user to 
> specify whether-or-not a field being counted should be single- or 
> multi-valued (i.e., is it {{NumericDocValues}} or 
> {{SortedNumericDocValues}}). Since we can detect this automatically, it seems 
> unnecessary to ask users to specify. Let's consider updating the 
> implementation to auto-detect these cases and deprecate the ctors that allow 
> explicit specification.
> This is a spin-off issue from LUCENE-9946. 



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