InstantiatedIndexReader does not handle #termDocs(null) correct (AllTermDocs)
-----------------------------------------------------------------------------

                 Key: LUCENE-2144
                 URL: https://issues.apache.org/jira/browse/LUCENE-2144
             Project: Lucene - Java
          Issue Type: Bug
          Components: contrib/*
    Affects Versions: 3.0, 2.9.1, 2.9
            Reporter: Karl Wettin
            Priority: Critical


This patch contains core changes so someone else needs to commit it.

Due to the incompatible #termDocs(null) behaviour at least MatchAllDocsQuery, 
FieldCacheRangeFilter and ValueSourceQuery fails using II since 2.9.

AllTermDocs now has a superclass, AbstractAllTermDocs that also 
InstantiatedAllTermDocs extend.

Also:

 * II-tests made less plausable to pass on future incompatible changes to 
TermDocs and TermEnum
 * IITermDocs#skipTo and #next mimics the behaviour of document posisioning 
from SegmentTermDocs#dito when returning false
 * II now uses BitVector rather than sets for deleted documents


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to