You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/08/01 20:20:00 UTC

[jira] [Commented] (LUCENE-9964) FacetResult.labelValues.value is not accurate for duplicate labels in a document

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

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

Commit fa49d658e1d60ab3f1de7227cbb9ce6f7ec20fe7 in lucene-solr's branch refs/heads/branch_8x from Greg Miller
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=fa49d65 ]

LUCENE-9964: Duplicate long values in a field should only be counted once when using SortedNumericDocValuesFields (#2543)



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