internal SegmentMerger(IndexWriter writer, System.String name) { InitBlock(); directory = writer.GetDirectory(); segment = name; termIndexInterval = writer.GetTermIndexInterval(); }
public DocumentWriter(Directory directory, Analyzer analyzer, IndexWriter writer) { InitBlock(); this.directory = directory; this.analyzer = analyzer; this.similarity = writer.GetSimilarity(); this.maxFieldLength = writer.GetMaxFieldLength(); this.termIndexInterval = writer.GetTermIndexInterval(); }
internal SegmentMerger(IndexWriter writer, System.String name, MergePolicy.OneMerge merge) { InitBlock(); directory = writer.GetDirectory(); segment = name; if (merge != null) { checkAbort = new CheckAbort(merge, directory); } termIndexInterval = writer.GetTermIndexInterval(); }
internal SegmentMerger(IndexWriter writer, System.String name, MergePolicy.OneMerge merge) { InitBlock(); directory = writer.GetDirectory(); segment = name; if (merge != null) { checkAbort = new CheckAbort(merge, directory); } else { checkAbort = new AnonymousClassCheckAbort1(this, null, null); } termIndexInterval = writer.GetTermIndexInterval(); }
internal SegmentMerger(IndexWriter writer, System.String name, MergePolicy.OneMerge merge) { InitBlock(); directory = writer.GetDirectory(); segment = name; if (merge != null) { checkAbort = new CheckAbort(merge, directory); } else { checkAbort = new CheckAbort(null, null, (d) => {/*Do nothing*/ }); } termIndexInterval = writer.GetTermIndexInterval(); }
internal SegmentMerger(IndexWriter writer, System.String name, MergePolicy.OneMerge merge) { InitBlock(); directory = writer.GetDirectory(); segment = name; if (merge != null) checkAbort = new CheckAbort(merge, directory); termIndexInterval = writer.GetTermIndexInterval(); }