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

[jira] [Comment Edited] (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=16261029#comment-16261029 ] 

Erick Erickson edited comment on LUCENE-8055 at 11/21/17 4:49 PM:
------------------------------------------------------------------

Hmm, I wonder if this is behind some of the test failures? I've never looked at whether some of the errors that are finding doc counts off were using memoryindex. Just saw a test failure go by for testGroupingDVOnly that might possibly be related.....

I guess we'll see.


was (Author: erickerickson):
Hmm, I wonder if this is behind some of the test failures? I've never looked at whether some of the errors that are finding doc counts off were using memoryindex. Just saw a test failure go by for testGroupingDVOnly that might possibly be related.....

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