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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to