You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Greg Miller (Jira)" <ji...@apache.org> on 2022/03/30 16:53:00 UTC

[jira] [Resolved] (LUCENE-10491) TaxonomyFacetSumValueSource incorrectly provides scores to doc values

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

Greg Miller resolved LUCENE-10491.
----------------------------------
    Fix Version/s: 9.2
       Resolution: Fixed

Fixed and backported.

> TaxonomyFacetSumValueSource incorrectly provides scores to doc values
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-10491
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10491
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 10.0 (main), 9.2
>            Reporter: Greg Miller
>            Assignee: Greg Miller
>            Priority: Major
>             Fix For: 9.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{TaxonomyFacetSumValueSource}} has a bug in the way it provides scores to the user-provided doc values. [On this line|https://github.com/apache/lucene/blob/main/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyFacetSumValueSource.java#L78] it should be {{index = doc}}, not {{index++}}. Thanks to [~mikemccand] for finding this over in #718!
> I've reproduced with a test and will post the test and a fix shortly.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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