You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "John Wang (JIRA)" <ji...@apache.org> on 2013/04/25 20:06:17 UTC

[jira] [Created] (LUCENE-4958) unnecessary assert on docid

John Wang created LUCENE-4958:
---------------------------------

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