[ https://issues.apache.org/jira/browse/LUCENE-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated LUCENE-743:
----------------------------
Attachment: varient-no-isCloneSupported.BROKEN.patch
a rough variation on Michael's latest patch that makes the changes along two of the lines
i was suggesting before reagrding FilterIndexReader and ising "instanceof Cloneable" instead
of "isCloneSupported()" two important things to note:
1) i didn't change any of the documentation, i was trying to change as little aspossibel so
the two patches could be compared side-by-side
2) this patch is currently broken. TestIndexReaderReopen gets an exception i can't understand
... but i have to stop now, and i wanted to post what i had in case people had comments.
...now that i've done this exercise, i'm not convinced that it's a better way to go, but it
does seem like isCloneSupported isn't neccessary, that's the whole point of the Cloneable
interface.
> IndexReader.reopen()
> --------------------
>
> Key: LUCENE-743
> URL: https://issues.apache.org/jira/browse/LUCENE-743
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Otis Gospodnetic
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 2.3
>
> Attachments: IndexReaderUtils.java, lucene-743-take2.patch, lucene-743.patch,
lucene-743.patch, lucene-743.patch, MyMultiReader.java, MySegmentReader.java, varient-no-isCloneSupported.BROKEN.patch
>
>
> This is Robert Engels' implementation of IndexReader.reopen() functionality, as a set
of 3 new classes (this was easier for him to implement, but should probably be folded into
the core, if this looks good).
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
|