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

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

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

Slight improvement/optimization to duplicate facet value checking (ref: 
LUCENE-9964) (#234)



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

Reply via email to