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 14:41:00 UTC
[jira] [Created] (LUCENE-10491) TaxonomyFacetSumValueSource incorrectly provides scores to doc values
Greg Miller created LUCENE-10491:
------------------------------------
Summary: 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
{{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