Searched refs:newSegment (Results 1 - 7 of 7) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DNoMergePolicy.java70 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) { return useCompoundFile; } argument
H A DDocumentsWriter.java481 private void pushDeletes(SegmentInfo newSegment, SegmentInfos segmentInfos) { argument
485 if (segmentInfos.size() > 0 || newSegment != null) {
494 if (newSegment != null) {
495 newSegment.setBufferedDeletesGen(packet.gen);
506 } else if (newSegment != null) {
507 newSegment.setBufferedDeletesGen(delGen);
545 SegmentInfo newSegment;
572 newSegment = new SegmentInfo(segment, numDocs, directory, false, true, fieldInfos.hasProx(), false);
583 newSegment.setHasVectors(flushState.hasVectors);
590 message("flushedFiles=" + newSegment
[all...]
H A DUpgradeIndexMergePolicy.java134 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) throws IOException { argument
135 return base.useCompoundFile(segments, newSegment);
H A DMergePolicy.java325 public abstract boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) throws IOException; argument
H A DIndexWriter.java3580 final SegmentInfo newSegment = docWriter.flush(this, deleter, mergePolicy, segmentInfos);
3581 if (newSegment != null) {
3582 setDiagnostics(newSegment, "flush");
3583 segmentInfos.add(newSegment);
3645 return newSegment != null;
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestPerSegmentDeletes.java275 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) { argument
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestPerSegmentDeletes.java274 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) { argument

Completed in 265 milliseconds