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

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

Commit a6e968b55bd744171c8e5238438ed351d96634d2 in lucene-solr's branch 
refs/heads/branch_7_1 from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a6e968b ]

LUCENE-8055: MemoryIndex.MemoryDocValuesIterator returns 2 documents instead of 
1

Fixes a bug if there is a DV field in the MemoryIndex the
`MemoryIndex.MemoryDocValuesIterator` will return 2 documents instead of 1.


> MemoryIndex.MemoryDocValuesIterator returns 2 document instead of 1
> -------------------------------------------------------------------
>
>                 Key: LUCENE-8055
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8055
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/other
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: master (8.0), 7.2, 7.1.1
>
>         Attachments: LUCENE-8055.patch
>
>
> If there is a DV field in the MemoryIndex the 
> `MemoryIndex.MemoryDocValuesIterator` will return 2 documents instead of 1. 
> Simple off by one error and no tests. I have a patch ready for it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to