[ 
https://issues.apache.org/jira/browse/LUCENE-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Greg Miller resolved LUCENE-9964.
---------------------------------
    Fix Version/s: 8.10
                   main (9.0)
       Resolution: Fixed

> FacetResult.labelValues.value is not accurate for duplicate labels in a 
> document
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-9964
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9964
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 8.8.1
>            Reporter: Gautam Worah
>            Priority: Minor
>             Fix For: main (9.0), 8.10
>
>          Time Spent: 5h 40m
>  Remaining Estimate: 0h
>
> As part of a separate [bug|https://github.com/apache/lucene/pull/131] in 
> FacetResult#value we discovered that FacetResult.labelValues.value is not 
> accurate for duplicate labels in a document that uses 
> SortedNumericDocValuesFields.
> In theory, each label should only be counted once from a document when 
> returning the labelValues, but today, each duplicate label in a document is 
> counted uniquely.
> A test case showing the current (inaccurate) output is 
> [here|https://github.com/gautamworah96/lucene/commit/042878117308f76629a27b0bcf83e25f074dc8b1#diff-6fda2d7520edb7e11d4af3f5b6e80c073a0e20790ec42692573137959837d742]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to