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

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

Commit fb8338700269b11bfc3982935d5791a41cba0ec3 in lucene's branch 
refs/heads/main from Greg Miller
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=fb83387 ]

LUCENE-10491: Fix correctness bug in TaxonomyFacetSumValueSource score 
providing (#775)



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

Reply via email to