Robert Muir created LUCENE-4307:
-----------------------------------
Summary: rename IR.getTopReaderContext to IR.getContext
Key: LUCENE-4307
URL: https://issues.apache.org/jira/browse/LUCENE-4307
Project: Lucene - Core
Issue Type: Task
Reporter: Robert Muir
Attachments: LUCENE-4307.patch
IR/IS.getTopReaderContext is supposed to read as "get the ReaderContext, with
this reader treated as the top".
But every time I look at it, it reads as "get context of the top-level reader".
This makes sense for IndexSearcher, but is confusing for IndexReader.
I think it should simply be IR.getContext() for IndexReader.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]