You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2017/11/21 11:10:00 UTC

[jira] [Commented] (LUCENE-8055) MemoryIndex.MemoryDocValuesIterator returns 2 document instead of 1

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

Alan Woodward commented on LUCENE-8055:
---------------------------------------

+1.  Oops

> 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
>
>
> It 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org