/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | CommandLineUtil.java | 43 public static FSDirectory newFSDirectory(String clazzName, File file) { method in class:CommandLineUtil 46 return newFSDirectory(clazz, file); 105 public static FSDirectory newFSDirectory(Class<? extends FSDirectory> clazz, File file) method in class:CommandLineUtil
|
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/core/ |
H A D | MockDirectoryFactory.java | 28 * Opens a directory with {@link LuceneTestCase#newFSDirectory(File)} 34 MockDirectoryWrapper dir = LuceneTestCase.newFSDirectory(new File(path));
|
/lucene-3.6.0/lucene/contrib/misc/src/test/org/apache/lucene/index/ |
H A D | TestIndexSplitter.java | 37 Directory fsDir = newFSDirectory(dir); 71 Directory fsDirDest = newFSDirectory(destDir); 83 Directory fsDirDest2 = newFSDirectory(destDir2); 113 Directory fsDir = newFSDirectory(indexPath); 130 Directory fsDirDest = newFSDirectory(indexSplitPath); 143 fsDirDest = newFSDirectory(indexSplitPath); 150 fsDirDest = newFSDirectory(indexSplitPath);
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/ |
H A D | SolrCoreCheckLockOnStartupTest.java | 45 Directory directory = newFSDirectory(new File(dataDir, "index")); 57 Directory directory = newFSDirectory(new File(dataDir, "index"), new SimpleFSLockFactory()); 81 Directory directory = newFSDirectory(new File(dataDir, "index"), new NativeFSLockFactory());
|
H A D | AlternateDirectoryTest.java | 58 return dir = newFSDirectory(new File(path));
|
H A D | TestArbitraryIndexDir.java | 100 Directory dir = newFSDirectory(newDir);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestIndexWriterLockRelease.java | 77 Directory dir = newFSDirectory(this.__test_dir);
|
H A D | TestCrashCausesCorruptIndex.java | 99 Directory realDirectory = newFSDirectory(path); 122 Directory realDirectory = newFSDirectory(path);
|
H A D | TestBackwardsCompatibility.java | 192 Directory dir = newFSDirectory(oldIndxeDir); 218 Directory dir = newFSDirectory(oldIndxeDir); 236 Directory dir = newFSDirectory(oldIndxeDir); 295 Directory dir = newFSDirectory(indexDir); 374 Directory dir = newFSDirectory(oldIndexDir); 447 Directory dir = newFSDirectory(oldIndexDir); 501 Directory dir = newFSDirectory(indexDir); 549 Directory dir = newFSDirectory(indexDir); 583 Directory dir = newFSDirectory(outputDir); 715 Directory dir = newFSDirectory(oldIndexDi [all...] |
H A D | TestDoc.java | 57 Directory directory = newFSDirectory(indexDir); 102 Directory directory = newFSDirectory(indexDir, null); 137 directory = newFSDirectory(indexDir, null);
|
H A D | Test2BPostings.java | 41 MockDirectoryWrapper dir = newFSDirectory(_TestUtil.getTempDir("2BPostings"));
|
H A D | TestNeverDelete.java | 38 final MockDirectoryWrapper d = newFSDirectory(tmpDir);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestIndexWriterLockRelease.java | 77 Directory dir = newFSDirectory(this.__test_dir);
|
H A D | TestDoc.java | 64 Directory directory = newFSDirectory(indexDir); 109 Directory directory = newFSDirectory(indexDir); 143 directory = newFSDirectory(indexDir);
|
H A D | TestBackwardsCompatibility.java | 188 Directory dir = newFSDirectory(oldIndxeDir); 214 Directory dir = newFSDirectory(oldIndxeDir); 232 Directory dir = newFSDirectory(oldIndxeDir); 291 Directory dir = newFSDirectory(indexDir); 370 Directory dir = newFSDirectory(oldIndexDir); 443 Directory dir = newFSDirectory(oldIndexDir); 497 Directory dir = newFSDirectory(indexDir); 550 Directory dir = newFSDirectory(outputDir); 682 Directory dir = newFSDirectory(oldIndexDir); 751 Directory dir = newFSDirectory(oldIndxeDi [all...] |
H A D | Test2BPostings.java | 41 MockDirectoryWrapper dir = newFSDirectory(_TestUtil.getTempDir("2BPostings"));
|
H A D | TestNeverDelete.java | 38 final MockDirectoryWrapper d = newFSDirectory(tmpDir);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/ |
H A D | TestRAMDirectory.java | 55 Directory dir = newFSDirectory(indexDir); 72 Directory dir = newFSDirectory(indexDir); 104 Directory dir = newFSDirectory(indexDir);
|
H A D | TestNRTCachingDirectory.java | 126 Directory dir = new NRTCachingDirectory(newFSDirectory(_TestUtil.getTempDir("doesnotexist")), 2.0, 25.0); 138 Directory dir = new NRTCachingDirectory(newFSDirectory(_TestUtil.getTempDir("foo")), 2.0, 25.0);
|
H A D | TestLockFactory.java | 151 Directory dir = newFSDirectory(indexDir, lockFactory); 240 Directory dir1 = newFSDirectory(fdir1, new NativeFSLockFactory(fdir1)); 242 Directory dir2 = newFSDirectory(fdir1, new NativeFSLockFactory(fdir2));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/ |
H A D | TestRAMDirectory.java | 55 Directory dir = newFSDirectory(indexDir); 72 Directory dir = newFSDirectory(indexDir); 104 Directory dir = newFSDirectory(indexDir);
|
H A D | TestNRTCachingDirectory.java | 126 Directory dir = new NRTCachingDirectory(newFSDirectory(_TestUtil.getTempDir("doesnotexist")), 2.0, 25.0); 138 Directory dir = new NRTCachingDirectory(newFSDirectory(_TestUtil.getTempDir("foo")), 2.0, 25.0);
|
H A D | TestLockFactory.java | 149 Directory dir = newFSDirectory(indexDir, lockFactory); 238 Directory dir1 = newFSDirectory(fdir1, new NativeFSLockFactory(fdir1)); 240 Directory dir2 = newFSDirectory(fdir1, new NativeFSLockFactory(fdir2));
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/ |
H A D | CompoundFileExtractor.java | 81 dir = CommandLineUtil.newFSDirectory(dirImpl, new File(dirname));
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | IndexUpgrader.java | 104 dir = CommandLineUtil.newFSDirectory(dirImpl, new File(path));
|