/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | NRTCachingDirectory.java | 168 public synchronized boolean fileExists(String name) throws IOException { method in class:NRTCachingDirectory 169 return cache.fileExists(name) || delegate.fileExists(name); 174 if (cache.fileExists(name)) { 186 if (cache.fileExists(name)) { 198 if (cache.fileExists(name)) { 199 assert !delegate.fileExists(name): "name=" + name; 208 if (cache.fileExists(name)) { 260 if (cache.fileExists(name)) { 272 if (cache.fileExists(nam [all...] |
H A D | FileSwitchDirectory.java | 136 public boolean fileExists(String name) throws IOException { method in class:FileSwitchDirectory 137 return getDirectory(name).fileExists(name);
|
H A D | Directory.java | 62 public abstract boolean fileExists(String name) method in class:Directory
|
H A D | RAMDirectory.java | 127 public final boolean fileExists(String name) { method in class:RAMDirectory
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestCrashCausesCorruptIndex.java | 89 assertFalse(realDirectory.fileExists("segments_2")); 111 assertFalse(realDirectory.fileExists("segments_2")); 215 public boolean fileExists(String name) throws IOException { method in class:TestCrashCausesCorruptIndex.CrashAfterCreateOutput 216 return realDirectory.fileExists(name);
|
H A D | TestNeverDelete.java | 92 assertTrue("file " + fileName + " does not exist", d.fileExists(fileName));
|
H A D | TestSnapshotDeletionPolicy.java | 59 assertTrue("segments file not found in directory: " + segFileName, dir.fileExists(segFileName)); 329 assertTrue("snapshot files should exist in the directory: " + segFileName, dir.fileExists(segFileName)); 358 assertFalse("segments file should not be found in dirctory: " + segFileName, dir.fileExists(segFileName)); 429 assertFalse("snapshotted commit should not exist", dir.fileExists(ic.getSegmentsFileName()));
|
H A D | TestIndexFileDeleter.java | 157 assertTrue(dir.fileExists("_3.fdt")); 158 assertTrue(!dir.fileExists("_3.cfs"));
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/ |
H A D | TestDirectory.java | 66 assertTrue(d2.fileExists(fname)); 83 assertFalse(d2.fileExists(fname)); 145 assertTrue(dir.fileExists(name)); 172 assertTrue(fsDir.fileExists("afile"));
|
H A D | TestFileSwitchDirectory.java | 109 assertTrue(dir.fileExists(name));
|
H A D | TestBufferedIndexInput.java | 363 public boolean fileExists(String name) method in class:TestBufferedIndexInput.MockFSDirectory 366 return dir.fileExists(name);
|
H A D | TestNRTCachingDirectory.java | 142 assertTrue(dir.fileExists(name));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/ |
H A D | TestDirectory.java | 66 assertTrue(d2.fileExists(fname)); 83 assertFalse(d2.fileExists(fname)); 145 assertTrue(dir.fileExists(name)); 172 assertTrue(fsDir.fileExists("afile"));
|
H A D | TestFileSwitchDirectory.java | 109 assertTrue(dir.fileExists(name));
|
H A D | TestBufferedIndexInput.java | 363 public boolean fileExists(String name) method in class:TestBufferedIndexInput.MockFSDirectory 366 return dir.fileExists(name);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | SegmentInfo.java | 245 hasVectors = dirToTest.fileExists(IndexFileNames.segmentFileName(storesSegment, IndexFileNames.VECTORS_INDEX_EXTENSION)); 354 return dir.fileExists(getDelFileName()); 413 return dir.fileExists(fileName); 540 return dir.fileExists(IndexFileNames.segmentFileName(name, IndexFileNames.COMPOUND_FILE_EXTENSION)); 637 if (dir.fileExists(fileName)) 691 if (delFileName != null && (delGen >= YES || dir.fileExists(delFileName))) { 707 if (dir.fileExists(fileName)) { 719 if (fileName != null && dir.fileExists(fileName)) {
|
H A D | CompoundFileReader.java | 177 public boolean fileExists(String name) { method in class:CompoundFileReader
|
H A D | FieldsWriter.java | 132 throw new RuntimeException("fdx size mismatch: " + numDocs + " docs vs " + indexStream.getFilePointer() + " length in bytes of " + fieldsIdxName + " file exists?=" + directory.fileExists(fieldsIdxName));
|
H A D | TermVectorsTermsWriter.java | 65 throw new RuntimeException("tvx size mismatch: " + state.numDocs + " docs vs " + tvx.getFilePointer() + " length in bytes of " + idxName + " file exists?=" + state.directory.fileExists(idxName));
|
H A D | TermVectorsWriter.java | 213 throw new RuntimeException("tvx size mismatch: " + numDocs + " docs vs " + tvx.getFilePointer() + " length in bytes of " + idxName + " file exists?=" + directory.fileExists(idxName));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestNeverDelete.java | 92 assertTrue("file " + fileName + " does not exist", d.fileExists(fileName));
|
H A D | TestSnapshotDeletionPolicy.java | 59 assertTrue("segments file not found in directory: " + segFileName, dir.fileExists(segFileName)); 329 assertTrue("snapshot files should exist in the directory: " + segFileName, dir.fileExists(segFileName)); 358 assertFalse("segments file should not be found in dirctory: " + segFileName, dir.fileExists(segFileName)); 429 assertFalse("snapshotted commit should not exist", dir.fileExists(ic.getSegmentsFileName()));
|
H A D | TestIndexFileDeleter.java | 157 assertTrue(dir.fileExists("_3.fdt")); 158 assertTrue(!dir.fileExists("_3.cfs"));
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/ |
H A D | MockDirectoryWrapper.java | 243 if (!delegate.fileExists(tempFileName)) { 487 if (!delegate.fileExists(name)) 592 /** don't rely upon DirectoryReader.fileExists to determine if we should 713 public synchronized boolean fileExists(String name) throws IOException { method in class:MockDirectoryWrapper 715 return delegate.fileExists(name);
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/ |
H A D | MockDirectoryWrapper.java | 443 if (!delegate.fileExists(name)) 614 public synchronized boolean fileExists(String name) throws IOException { method in class:MockDirectoryWrapper 616 return delegate.fileExists(name);
|