Searched defs:r2 (Results 1 - 4 of 4) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestIndexReaderReopen.java185 IndexReader r2 = IndexReader.openIfChanged(reader);
186 if (r2 != null) {
188 reader = r2;
855 ReaderCouple(IndexReader r1, IndexReader r2) { argument
857 refreshedReader = r2;
1092 IndexReader r2 = IndexReader.open(dir, false);
1093 r2.deleteDocument(0);
1094 r2.close();
1121 IndexReader r2 = IndexReader.openIfChanged(r1); // MSR
1122 assertNotNull(r2);
[all...]
H A DTestStressIndexing2.java274 IndexReader r2 = IndexReader.open(dir2);
275 verifyEquals(r1, r2, idField);
276 r2.close();
281 IndexReader r2 = IndexReader.open(dir2, true);
282 verifyEquals(r1, r2, idField);
284 r2.close();
303 public static void verifyEquals(IndexReader r1, IndexReader r2, String idField) throws Throwable { argument
308 printDocs(r2);
310 if (r1.numDocs() != r2.numDocs()) {
311 assert false: "r1.numDocs()=" + r1.numDocs() + " vs r2
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestIndexReaderReopen.java185 IndexReader r2 = IndexReader.openIfChanged(reader);
186 if (r2 != null) {
188 reader = r2;
859 ReaderCouple(IndexReader r1, IndexReader r2) { argument
861 refreshedReader = r2;
1096 IndexReader r2 = IndexReader.open(dir, false);
1097 r2.deleteDocument(0);
1098 r2.close();
1125 IndexReader r2 = IndexReader.openIfChanged(r1); // MSR
1126 assertNotNull(r2);
[all...]
H A DTestStressIndexing2.java273 IndexReader r2 = IndexReader.open(dir2);
274 verifyEquals(r1, r2, idField);
275 r2.close();
280 IndexReader r2 = IndexReader.open(dir2, true);
281 verifyEquals(r1, r2, idField);
283 r2.close();
302 public static void verifyEquals(IndexReader r1, IndexReader r2, String idField) throws Throwable { argument
307 printDocs(r2);
309 if (r1.numDocs() != r2.numDocs()) {
310 assert false: "r1.numDocs()=" + r1.numDocs() + " vs r2
[all...]

Completed in 18 milliseconds