Searched refs:newFSDirectory (Results 1 - 25 of 54) sorted by relevance

123

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DCommandLineUtil.java43 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 DMockDirectoryFactory.java28 * 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 DTestIndexSplitter.java37 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 DSolrCoreCheckLockOnStartupTest.java45 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 DAlternateDirectoryTest.java58 return dir = newFSDirectory(new File(path));
H A DTestArbitraryIndexDir.java100 Directory dir = newFSDirectory(newDir);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestIndexWriterLockRelease.java77 Directory dir = newFSDirectory(this.__test_dir);
H A DTestCrashCausesCorruptIndex.java99 Directory realDirectory = newFSDirectory(path);
122 Directory realDirectory = newFSDirectory(path);
H A DTestBackwardsCompatibility.java192 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 DTestDoc.java57 Directory directory = newFSDirectory(indexDir);
102 Directory directory = newFSDirectory(indexDir, null);
137 directory = newFSDirectory(indexDir, null);
H A DTest2BPostings.java41 MockDirectoryWrapper dir = newFSDirectory(_TestUtil.getTempDir("2BPostings"));
H A DTestNeverDelete.java38 final MockDirectoryWrapper d = newFSDirectory(tmpDir);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestIndexWriterLockRelease.java77 Directory dir = newFSDirectory(this.__test_dir);
H A DTestDoc.java64 Directory directory = newFSDirectory(indexDir);
109 Directory directory = newFSDirectory(indexDir);
143 directory = newFSDirectory(indexDir);
H A DTestBackwardsCompatibility.java188 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 DTest2BPostings.java41 MockDirectoryWrapper dir = newFSDirectory(_TestUtil.getTempDir("2BPostings"));
H A DTestNeverDelete.java38 final MockDirectoryWrapper d = newFSDirectory(tmpDir);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestRAMDirectory.java55 Directory dir = newFSDirectory(indexDir);
72 Directory dir = newFSDirectory(indexDir);
104 Directory dir = newFSDirectory(indexDir);
H A DTestNRTCachingDirectory.java126 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 DTestLockFactory.java151 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 DTestRAMDirectory.java55 Directory dir = newFSDirectory(indexDir);
72 Directory dir = newFSDirectory(indexDir);
104 Directory dir = newFSDirectory(indexDir);
H A DTestNRTCachingDirectory.java126 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 DTestLockFactory.java149 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 DCompoundFileExtractor.java81 dir = CommandLineUtil.newFSDirectory(dirImpl, new File(dirname));
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DIndexUpgrader.java104 dir = CommandLineUtil.newFSDirectory(dirImpl, new File(path));

Completed in 323 milliseconds

123