[
https://issues.apache.org/jira/browse/LUCENE-10491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Miller reassigned LUCENE-10491:
------------------------------------
Assignee: Greg Miller
> 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
> Time Spent: 10m
> 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: [email protected]
For additional commands, e-mail: [email protected]