Searched refs:createOutput (Results 1 - 25 of 59) sorted by relevance

123

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestCopyBytes.java44 IndexOutput out = dir.createOutput("test");
66 out = dir.createOutput("test2");
116 IndexOutput output = d.createOutput("data");
121 IndexOutput outputHeader = d.createOutput("header");
129 copies[i] = new CopyThread((IndexInput) input.clone(), d.createOutput("copy" + i));
H A DTestDirectory.java34 dir.createOutput("test");
59 IndexOutput out = dir.createOutput(fname);
144 dir.createOutput(name).close();
170 IndexOutput out = fsDir.createOutput("afile");
H A DTestMultiMMap.java53 IndexOutput io = mmapDir.createOutput("bytes");
84 IndexOutput io = mmapDir.createOutput("zeroBytes");
97 IndexOutput io = mmapDir.createOutput("bytes");
116 IndexOutput io = mmapDir.createOutput("bytes");
H A DTestNRTCachingDirectory.java118 dir.createOutput("foo.txt").close();
141 dir.createOutput(name).close();
154 IndexOutput os = dir.createOutput(name);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestCopyBytes.java44 IndexOutput out = dir.createOutput("test");
66 out = dir.createOutput("test2");
116 IndexOutput output = d.createOutput("data");
121 IndexOutput outputHeader = d.createOutput("header");
129 copies[i] = new CopyThread((IndexInput) input.clone(), d.createOutput("copy" + i));
H A DTestDirectory.java34 dir.createOutput("test");
59 IndexOutput out = dir.createOutput(fname);
144 dir.createOutput(name).close();
170 IndexOutput out = fsDir.createOutput("afile");
H A DTestMultiMMap.java54 IndexOutput io = mmapDir.createOutput("zeroBytes");
67 IndexOutput io = mmapDir.createOutput("bytes");
86 IndexOutput io = mmapDir.createOutput("bytes");
H A DTestNRTCachingDirectory.java118 dir.createOutput("foo.txt").close();
141 dir.createOutput(name).close();
154 IndexOutput os = dir.createOutput(name);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestAllZerosSegmentsFile.java36 IndexOutput out = dir.createOutput(nextSegmentsFile);
H A DTestCrashCausesCorruptIndex.java161 * realDirectory.createOutput(..) has been called on a certain specified name.
189 public IndexOutput createOutput(String name) throws IOException { method in class:TestCrashCausesCorruptIndex.CrashAfterCreateOutput
190 IndexOutput indexOutput = realDirectory.createOutput(name);
H A DTestFieldInfos.java49 IndexOutput output = dir.createOutput(name);
H A DTestDoc.java61 files.add(createOutput("test.txt",
65 files.add(createOutput("test2.txt",
70 private File createOutput(String name, String text) throws IOException { method in class:TestDoc
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/util/
H A DSlowRAMDirectory.java48 public IndexOutput createOutput(String name) throws IOException { method in class:SlowRAMDirectory
50 return new SlowIndexOutput(super.createOutput(name));
53 return super.createOutput(name);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DDirectory.java56 * write operations (such as {@link #createOutput(String)}).
101 public abstract IndexOutput createOutput(String name) method in class:Directory
234 os = to.createOutput(dest);
H A DNRTCachingDirectory.java146 // Cannot do this -- if lucene calls createOutput but
220 public IndexOutput createOutput(String name) throws IOException { method in class:NRTCachingDirectory
222 System.out.println("nrtdir.createOutput name=" + name);
233 return cache.createOutput(name);
240 return delegate.createOutput(name);
335 final IndexOutput out = delegate.createOutput(fileName);
H A DFileSwitchDirectory.java164 public IndexOutput createOutput(String name) throws IOException { method in class:FileSwitchDirectory
165 return getDirectory(name).createOutput(name);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFormatPostingsPositionsWriter.java43 out = parent.parent.parent.dir.createOutput(IndexFileNames.segmentFileName(parent.parent.parent.segment, IndexFileNames.PROX_EXTENSION));
H A DTermVectorsTermsWriter.java130 tvx = docWriter.directory.createOutput(IndexFileNames.segmentFileName(docWriter.getSegment(), IndexFileNames.VECTORS_INDEX_EXTENSION));
131 tvd = docWriter.directory.createOutput(IndexFileNames.segmentFileName(docWriter.getSegment(), IndexFileNames.VECTORS_DOCUMENTS_EXTENSION));
132 tvf = docWriter.directory.createOutput(IndexFileNames.segmentFileName(docWriter.getSegment(), IndexFileNames.VECTORS_FIELDS_EXTENSION));
H A DTermVectorsWriter.java45 tvx = directory.createOutput(IndexFileNames.segmentFileName(segment, IndexFileNames.VECTORS_INDEX_EXTENSION));
47 tvd = directory.createOutput(IndexFileNames.segmentFileName(segment, IndexFileNames.VECTORS_DOCUMENTS_EXTENSION));
49 tvf = directory.createOutput(IndexFileNames.segmentFileName(segment, IndexFileNames.VECTORS_FIELDS_EXTENSION));
H A DFormatPostingsDocsWriter.java47 out = parent.parent.dir.createOutput(IndexFileNames.segmentFileName(parent.parent.segment, IndexFileNames.FREQ_EXTENSION));
H A DFieldsWriter.java83 fieldsStream = directory.createOutput(IndexFileNames.segmentFileName(segment, IndexFileNames.FIELDS_EXTENSION));
84 indexStream = directory.createOutput(IndexFileNames.segmentFileName(segment, IndexFileNames.FIELDS_INDEX_EXTENSION));
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/
H A DTestByteBlockPool.java45 IndexOutput stream = dir.createOutput("foo.txt");
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestFieldInfos.java49 IndexOutput output = dir.createOutput(name);
H A DTestDoc.java68 files.add(createOutput("test.txt",
72 files.add(createOutput("test2.txt",
77 private File createOutput(String name, String text) throws IOException { method in class:TestDoc
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java134 * file is opened by createOutput, ever. */
227 IndexOutput out = delegate.createOutput(name);
247 final IndexOutput tempOut = delegate.createOutput(tempFileName);
256 final IndexOutput out = delegate.createOutput(name);
269 IndexOutput out = delegate.createOutput(name);
409 public synchronized IndexOutput createOutput(String name) throws IOException { method in class:MockDirectoryWrapper
415 throw new IOException("cannot createOutput after crash");
425 throw new IOException("cannot createOutput after crash");
447 IndexOutput io = new MockIndexOutputWrapper(this, delegate.createOutput(name), name);

Completed in 5385 milliseconds

123