Searched refs:newIndexWriterConfig (Results 1 - 25 of 309) sorted by relevance

1234567891011>>

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestNewestSegment.java28 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
H A DTestIndexWriterMergePolicy.java36 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
53 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
78 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
88 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
105 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
135 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
149 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
158 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
187 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
203 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURREN
[all...]
H A DTestParallelReaderEmptyIndex.java47 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
54 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
77 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
91 iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
98 IndexWriter iw = new IndexWriter(rd2, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
106 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
H A DTestIndexReader.java61 IndexWriter writer = new IndexWriter(d, newIndexWriterConfig(
82 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
95 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
111 IndexWriter writer = new IndexWriter(d, newIndexWriterConfig(
119 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
125 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
143 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random))
165 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
269 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
331 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURREN
[all...]
H A DTestSegmentTermEnum.java49 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
65 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
75 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
H A DTestIndexWriterMerging.java65 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
106 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
126 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
153 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy()));
171 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
201 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
220 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
250 newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).
288 IndexWriterConfig conf = newIndexWriterConfig(
317 IndexWriterConfig conf = newIndexWriterConfig(
[all...]
H A DTestConcurrentMergeScheduler.java74 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(2));
131 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig(
170 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig(
190 writer = new IndexWriter(directory, newIndexWriterConfig(
209 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
242 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
H A DTestIndexWriterForceMerge.java44 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
58 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
84 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
126 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(10).setMergePolicy(newLogMergePolicy()));
159 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND).setTermIndexInterval(termIndexInterval).setMergePolicy(newLogMergePolicy()));
177 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
H A DTestTermVectorsWriter.java43 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
79 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
101 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
124 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, analyzer));
175 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
198 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
229 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
257 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
291 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
324 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURREN
[all...]
H A DTestIndexWriterCommit.java50 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
66 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
104 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(10));
118 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))
147 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))
210 newIndexWriterConfig( TEST_VERSION_CURRENT, analyzer).
225 newIndexWriterConfig( TEST_VERSION_CURRENT, analyzer)
272 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
281 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
310 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURREN
[all...]
H A DTestAddIndexes.java52 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT,
62 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
71 writer = newWriter(aux2, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.CREATE));
78 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
92 writer = newWriter(aux3, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
99 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
113 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
126 writer = newWriter(aux4, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
130 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
153 IndexWriter writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURREN
[all...]
H A DTestIndexWriterReader.java64 IndexWriterConfig iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
98 iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
113 IndexWriterConfig iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
157 writer = new IndexWriter(dir1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
177 IndexWriterConfig iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
185 iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
222 IndexWriterConfig iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
241 IndexWriter writer2 = new IndexWriter(dir2, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
279 IndexWriter writer = new IndexWriter(dir1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
284 IndexWriter writer2 = new IndexWriter(dir2, newIndexWriterConfig( TEST_VERSION_CURREN
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestNewestSegment.java28 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
H A DTestIndexWriterMergePolicy.java36 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
53 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
78 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
88 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
105 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
135 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
149 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
158 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
187 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
203 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURREN
[all...]
H A DTestParallelReaderEmptyIndex.java47 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
54 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
77 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
91 iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
98 IndexWriter iw = new IndexWriter(rd2, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
106 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
H A DTestIndexWriterMerging.java63 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
104 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
124 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
151 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy()));
169 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
199 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
218 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
248 newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).
286 IndexWriterConfig conf = newIndexWriterConfig(
H A DTestSegmentTermEnum.java49 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
65 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
75 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
H A DTestIndexReader.java60 IndexWriter writer = new IndexWriter(d, newIndexWriterConfig(
79 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
92 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
108 IndexWriter writer = new IndexWriter(d, newIndexWriterConfig(
116 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
122 writer = new IndexWriter(d, newIndexWriterConfig(TEST_VERSION_CURRENT,
140 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random))
155 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
198 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
260 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURREN
[all...]
H A DTestConcurrentMergeScheduler.java74 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(2));
131 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig(
170 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig(
190 writer = new IndexWriter(directory, newIndexWriterConfig(
209 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
242 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
H A DTestIndexWriterForceMerge.java44 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
58 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT,
84 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
126 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(10).setMergePolicy(newLogMergePolicy()));
159 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND).setTermIndexInterval(termIndexInterval).setMergePolicy(newLogMergePolicy()));
177 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
H A DTestTermVectorsWriter.java42 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
78 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
100 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
123 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, analyzer));
174 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
197 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
228 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
256 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
290 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(
323 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURREN
[all...]
H A DTestIndexWriterCommit.java50 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
66 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
104 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(10));
118 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))
147 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))
210 newIndexWriterConfig( TEST_VERSION_CURRENT, analyzer).
225 newIndexWriterConfig( TEST_VERSION_CURRENT, analyzer)
272 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
281 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
310 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURREN
[all...]
H A DTestAddIndexes.java52 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT,
62 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).
71 writer = newWriter(aux2, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.CREATE));
78 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
92 writer = newWriter(aux3, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
99 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
113 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
126 writer = newWriter(aux4, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
130 writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
153 IndexWriter writer = newWriter(dir, newIndexWriterConfig(TEST_VERSION_CURREN
[all...]
/lucene-3.6.0/lucene/contrib/misc/src/test/org/apache/lucene/index/
H A DTestPKIndexSplitter.java37 IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(
57 w = new IndexWriter(dir, newIndexWriterConfig(
73 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)),
74 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/spell/
H A DTestPlainTextDictionary.java38 spellChecker.indexDictionary(ptd, newIndexWriterConfig(TEST_VERSION_CURRENT, null), false);

Completed in 72 milliseconds

1234567891011>>