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

Michael McCandless commented on LUCENE-4958:
--------------------------------------------

I think this assert is gone in 4.2?
                
> unnecessary assert on docid
> ---------------------------
>
>                 Key: LUCENE-4958
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4958
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.1
>            Reporter: John Wang
>
> In DocFieldProcessor, on line 353, there is this assert:
>       assert docValuesConsumerAndDocID.docID < docState.docID;
> Is this assert necessary? I don't see in the indexing pipeline that this 
> guarantee is needed. Can we remove this?
> We have implemented a custom indexingchain that rewrites docState.docID is 
> reverse order and it is working well. But we have to do ugly workarounds in 
> our test to avoid this assert.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to