Searched defs:sdp (Results 1 - 2 of 2) sorted by relevance
| /lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
| H A D | TestSnapshotDeletionPolicy.java | 71 protected void prepareIndexAndSnapshots(SnapshotDeletionPolicy sdp, argument 78 sdp.snapshot(snapshotPrefix + i); 90 protected void assertSnapshotExists(Directory dir, SnapshotDeletionPolicy sdp, int numSnapshots) throws Exception { argument 92 IndexCommit snapshot = sdp.getSnapshot("snapshot" + i); 235 SnapshotDeletionPolicy sdp = getDeletionPolicy(); 239 IndexWriter writer = new IndexWriter(dir, getConfig(random, sdp)); 240 prepareIndexAndSnapshots(sdp, writer, numSnapshots, "snapshot"); 243 assertSnapshotExists(dir, sdp, numSnapshots); 246 IndexReader.open(sdp.getSnapshot("snapshot0"), true).close(); 249 sdp [all...] |
| /lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
| H A D | TestSnapshotDeletionPolicy.java | 71 protected void prepareIndexAndSnapshots(SnapshotDeletionPolicy sdp, argument 78 sdp.snapshot(snapshotPrefix + i); 90 protected void assertSnapshotExists(Directory dir, SnapshotDeletionPolicy sdp, int numSnapshots) throws Exception { argument 92 IndexCommit snapshot = sdp.getSnapshot("snapshot" + i); 235 SnapshotDeletionPolicy sdp = getDeletionPolicy(); 239 IndexWriter writer = new IndexWriter(dir, getConfig(random, sdp)); 240 prepareIndexAndSnapshots(sdp, writer, numSnapshots, "snapshot"); 243 assertSnapshotExists(dir, sdp, numSnapshots); 246 IndexReader.open(sdp.getSnapshot("snapshot0"), true).close(); 249 sdp [all...] |
Completed in 27 milliseconds