[
https://issues.apache.org/jira/browse/LUCENE-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-4307.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.0
5.0
> 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
> Fix For: 5.0, 4.0
>
> 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]