[
https://issues.apache.org/jira/browse/LUCENE-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Thacker updated LUCENE-3292:
----------------------------------
Attachment: LUCENE-3292.patch
I am still not sure on 2 things:
In SegmentReader#get the assert statement.
In IW.ReaderPool.SegmentCacheKey the equals() method - Does it need to call
.equals on the SegmetnInfo and context? Since we are just including
IOContext.Context only won't this be wrong ?
> IOContext should be part of the SegmentReader cache key
> --------------------------------------------------------
>
> Key: LUCENE-3292
> URL: https://issues.apache.org/jira/browse/LUCENE-3292
> Project: Lucene - Java
> Issue Type: Task
> Components: core/index
> Affects Versions: 4.0
> Reporter: Simon Willnauer
> Assignee: Varun Thacker
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-3292.patch, LUCENE-3292.patch
>
>
> Once IOContext (LUCENE-2793) is landed the IOContext should be part of the
> key used to cache that reader in the pool
--
This message is automatically generated by JIRA.
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]