Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Incomplete
-
Lucene.Net 2.9.4g, Lucene.Net 3.0.3
-
None
Description
Replace AnonymousXXXX classes inhereted from JLCA which make the code impossible to read.
Follow Digy's template to replace the single abstract method with Func<> or Action<>
like in FilterCache<T> from:
protected abstract object MergeDeletes(IndexReader reader, object value);
to:
Func<IndexReader, object, object> MergeDeletes;
Determine a solution to the classes with more than 1 abstract method without diverging much from Java.