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

Erick Erickson commented on LUCENE-8055:
----------------------------------------

[~dsmiley] Hmmm, somehow I had it in my mind that some of the randomizing would 
use MemoryIndex, but actually, you know, _looking_ at the code it appears not 
to be true, never mind...

> 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