Пример #1
0
 @Test
 public void testNoMergePolicy() throws Exception {
   MergePolicy mp = NoMergePolicy.NO_COMPOUND_FILES;
   assertNull(mp.findMerges(null));
   // LUCENE-3577
   // assertNull(mp.findMergesToExpungeDeletes(null));
   assertFalse(mp.useCompoundFile(null, null));
   mp.close();
 }
  public MergeSpecification findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos)
      throws IOException {

    return inner.findMerges(mergeTrigger, segmentInfos);
  }