Robert Muir created LUCENE-5970:
-----------------------------------

             Summary: Remove 
IndexReaderContext/CompositeReaderContext/AtomicReaderContext
                 Key: LUCENE-5970
                 URL: https://issues.apache.org/jira/browse/LUCENE-5970
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


This hierarchy is mega-confusing, has a overcomplicated hierarchy, and is full 
of bugs.

For example, in a two-segment index with one document in each:
{code}
context.docbase: 1
context.reader().getContext().docBase: 0
{Code}

There is just no need for all this. We can replace it all with 'docbase'. For 
the esoteric stuff solr wants to do, like top-level crap, it can do this with 
its own filterreader instead, rather than pushing the complexity into lucene.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to