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

Dawid Weiss commented on LUCENE-8055:
-------------------------------------

+1. The MemoryIndex had some serious memory problems! :)

> 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