コード例 #1
0
 @Override
 public void onInit(List<? extends IndexCommit> commits) throws IOException {
   verifyCommitOrder(commits);
   numOnInit++;
   // On init, delete all commit points:
   for (final IndexCommit commit : commits) {
     commit.delete();
     assertTrue(commit.isDeleted());
   }
 }
コード例 #2
0
 @Override
 public boolean isDeleted() {
   return cp.isDeleted();
 }