/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/ |
H A D | RAMDirectoryFactoryTest.java | 20 import org.apache.lucene.store.Directory; 35 final Directory directory = new RefCntRamDirectory(); 38 Directory openNew(String path) throws IOException { 43 Directory dir1 = factory.open(path); 44 Directory dir2 = factory.open(path); 53 Directory dir = factory.open("/fake/path");
|
H A D | AlternateDirectoryTest.java | 23 import org.apache.lucene.store.Directory; 49 public static volatile Directory dir; 52 public Directory open(String path) throws IOException { 68 public IndexReader newReader(Directory indexDir, boolean readOnly)
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/ |
H A D | NIOFSDirectoryFactory.java | 19 import org.apache.lucene.store.Directory; 33 public Directory open(String path) throws IOException {
|
H A D | SimpleFSDirectoryFactory.java | 19 import org.apache.lucene.store.Directory; 33 public Directory open(String path) throws IOException {
|
H A D | StandardDirectoryFactory.java | 22 import org.apache.lucene.store.Directory; 26 * Directory provider which mimics original Solr FSDirectory based behavior. 32 public Directory open(String path) throws IOException {
|
H A D | StandardIndexReaderFactory.java | 22 import org.apache.lucene.store.Directory; 28 * @see IndexReader#open(Directory) 33 * @see org.apache.solr.core.IndexReaderFactory#newReader(org.apache.lucene.store.Directory, boolean) 36 public IndexReader newReader(Directory indexDir, boolean readOnly)
|
H A D | RAMDirectoryFactory.java | 25 import org.apache.lucene.store.Directory; 28 * Directory provider for using lucene RAMDirectory 34 public Directory open(String path) throws IOException { 63 Directory openNew(String path) throws IOException { 64 Directory directory; 68 Directory dir = super.open(path);
|
H A D | DirectoryFactory.java | 22 import org.apache.lucene.store.Directory; 27 * Provides access to a Directory implementation. 37 public abstract Directory open(String path) throws IOException;
|
H A D | IndexReaderFactory.java | 22 import org.apache.lucene.store.Directory; 57 * Creates a new IndexReader instance using the given Directory. 64 public abstract IndexReader newReader(Directory indexDir, boolean readOnly)
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestNewestSegment.java | 22 import org.apache.lucene.store.Directory; 27 Directory directory = newDirectory();
|
H A D | TestIndexCommit.java | 24 import org.apache.lucene.store.Directory; 33 final Directory dir = newDirectory(); 38 @Override public Directory getDirectory() { return dir; } 51 @Override public Directory getDirectory() { return dir; }
|
H A D | TestPayloadProcessorProvider.java | 37 import org.apache.lucene.store.Directory; 45 private final Map<Directory, ReaderPayloadProcessor> processors; 47 public PerDirPayloadProcessor(Map<Directory, ReaderPayloadProcessor> processors) { 128 private void populateDirs(Random random, Directory[] dirs, boolean multipleCommits) 138 private void populateDocs(Random random, Directory dir, boolean multipleCommits) 161 private void verifyPayloadExists(Directory dir, Term term, int numExpected) 185 Directory[] dirs = new Directory[2]; 188 Directory dir = newDirectory(); 197 Map<Directory, ReaderPayloadProcesso [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestNewestSegment.java | 22 import org.apache.lucene.store.Directory; 27 Directory directory = newDirectory();
|
H A D | TestPayloadProcessorProvider.java | 37 import org.apache.lucene.store.Directory; 45 private Map<Directory, DirPayloadProcessor> processors; 47 public PerDirPayloadProcessor(Map<Directory, DirPayloadProcessor> processors) { 52 public DirPayloadProcessor getDirProcessor(Directory dir) throws IOException { 128 private void populateDirs(Random random, Directory[] dirs, boolean multipleCommits) 138 private void populateDocs(Random random, Directory dir, boolean multipleCommits) 161 private void verifyPayloadExists(Directory dir, Term term, int numExpected) 185 Directory[] dirs = new Directory[2]; 188 Directory di [all...] |
H A D | TestIndexCommit.java | 24 import org.apache.lucene.store.Directory; 33 final Directory dir = newDirectory(); 38 @Override public Directory getDirectory() { return dir; } 51 @Override public Directory getDirectory() { return dir; }
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/ |
H A D | PKIndexSplitter.java | 24 import org.apache.lucene.store.Directory; 40 private final Directory input; 41 private final Directory dir1; 42 private final Directory dir2; 49 * @deprecated use {@link #PKIndexSplitter(Version, Directory, Directory, Directory, Filter)} instead. 53 public PKIndexSplitter(Directory input, Directory dir1, Directory dir [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/examples/org/apache/lucene/facet/example/merge/ |
H A D | TaxonomyMergeUtils.java | 9 import org.apache.lucene.store.Directory; 46 * {@link #merge(Directory, Directory, IndexWriter, DirectoryTaxonomyWriter)} 49 * @see #merge(Directory, Directory, IndexWriter, DirectoryTaxonomyWriter) 51 public static void merge(Directory srcIndexDir, Directory srcTaxDir, 52 Directory destIndexDir, Directory destTaxDir) throws IOException { 65 * {@link #merge(Directory, Director [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/ |
H A D | TestDirectory.java | 30 Directory[] dirs = new Directory[] { new RAMDirectory(), new SimpleFSDirectory(TEMP_DIR), new NIOFSDirectory(TEMP_DIR) }; 31 for (Directory dir : dirs) { 48 Directory[] dirs = new Directory[sz]; 55 Directory dir = dirs[i]; 64 Directory d2 = dirs[j]; 82 Directory d2 = dirs[j]; 90 Directory d2 = dirs[j]; 108 Directory di [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/ |
H A D | TestDirectory.java | 30 Directory[] dirs = new Directory[] { new RAMDirectory(), new SimpleFSDirectory(TEMP_DIR), new NIOFSDirectory(TEMP_DIR) }; 31 for (Directory dir : dirs) { 48 Directory[] dirs = new Directory[sz]; 55 Directory dir = dirs[i]; 64 Directory d2 = dirs[j]; 82 Directory d2 = dirs[j]; 90 Directory d2 = dirs[j]; 108 Directory di [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/examples/org/apache/lucene/facet/example/association/ |
H A D | AssociationMain.java | 5 import org.apache.lucene.store.Directory; 49 Directory indexDir = new RAMDirectory();//FSDirectory.open(new File("/tmp/111")); 50 Directory taxoDir = new RAMDirectory(); 67 Directory indexDir = new RAMDirectory();//FSDirectory.open(new File("/tmp/111")); 68 Directory taxoDir = new RAMDirectory();
|
/lucene-3.6.0/lucene/contrib/facet/src/examples/org/apache/lucene/facet/example/multiCL/ |
H A D | MultiCLMain.java | 5 import org.apache.lucene.store.Directory; 49 Directory indexDir = new RAMDirectory(); 50 Directory taxoDir = new RAMDirectory();
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | ReadOnlyDirectoryReader.java | 20 import org.apache.lucene.store.Directory; 26 ReadOnlyDirectoryReader(Directory directory, SegmentInfos sis, IndexDeletionPolicy deletionPolicy, int termInfosIndexDivisor) throws IOException { 30 ReadOnlyDirectoryReader(Directory directory, SegmentInfos infos, SegmentReader[] oldReaders, int[] oldStarts, Map<String,byte[]> oldNormsCache, boolean doClone,
|
H A D | SegmentWriteState.java | 22 import org.apache.lucene.store.Directory; 31 public final Directory directory; 66 public SegmentWriteState(PrintStream infoStream, Directory directory, String segmentName, FieldInfos fieldInfos,
|
H A D | PayloadProcessorProvider.java | 22 import org.apache.lucene.store.Directory; 25 * Provides a {@link ReaderPayloadProcessor} to be used for a {@link Directory}. 34 * requested for the same {@link Directory} concurrently. Therefore, to avoid 89 * Returns a {@link ReaderPayloadProcessor} for the given {@link Directory}, 99 * Returns a {@link DirPayloadProcessor} for the given {@link Directory}, 102 * @deprecated Use {@link #getReaderProcessor} instead. You can still select by {@link Directory}, 106 public DirPayloadProcessor getDirProcessor(Directory dir) throws IOException {
|
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/core/ |
H A D | MockDirectoryFactory.java | 23 import org.apache.lucene.store.Directory; 33 public Directory open(String path) throws IOException {
|