Details
-
Task
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
I didn't look too closely, but MergeScheduler has this piece of documentation:
* <p>Implementers of sub-classes should make sure that {@link #clone()} * returns an independent instance able to work with any {@link IndexWriter} * instance.</p>
Now, we don't seem to be using this at all... I think. MergeScheduler doesn't even implement Cloneable. But in any case, I think it'd be better to provide an abstract covariant of this sort:
public abstract MergeScheduler clone() { return this; }
Attachments
Issue Links
- is related to
-
LUCENE-5708 Remove IndexWriterConfig.clone
- Resolved