Searched defs:conf (Results 1 - 21 of 21) sorted by relevance

/lucene-3.6.0/lucene/contrib/benchmark/src/test/conf/
H A DConfLoader.java1 package conf; package
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestForceMergeForever.java38 public MyIndexWriter(Directory dir, IndexWriterConfig conf) throws Exception { argument
39 super(dir, conf);
H A DTestAtomicUpdate.java34 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
35 super(dir, conf);
129 IndexWriterConfig conf = new IndexWriterConfig(
132 ((TieredMergePolicy) conf.getMergePolicy()).setMaxMergeAtOnce(3);
133 IndexWriter writer = new MockIndexWriter(directory, conf);
H A DTestAddIndexes.java486 private IndexWriter newWriter(Directory dir, IndexWriterConfig conf) argument
488 conf.setMergePolicy(new LogDocMergePolicy());
489 final IndexWriter writer = new IndexWriter(dir, conf);
944 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy());
945 LogMergePolicy lmp = (LogMergePolicy) conf.getMergePolicy();
948 IndexWriter w3 = new IndexWriter(dir, conf);
960 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
961 IndexWriter writer = new IndexWriter(dirs[i], conf);
968 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
969 IndexWriter writer = new IndexWriter(dirs[0], conf);
[all...]
H A DTestIndexWriterExceptions.java144 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
145 super(dir, conf);
264 public MockIndexWriter2(Directory dir, IndexWriterConfig conf) throws IOException { argument
265 super(dir, conf);
357 public MockIndexWriter3(Directory dir, IndexWriterConfig conf) throws IOException { argument
358 super(dir, conf);
378 IndexWriterConfig conf = newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))
380 ((LogMergePolicy) conf.getMergePolicy()).setMergeFactor(2);
381 MockIndexWriter3 w = new MockIndexWriter3(dir, conf);
402 IndexWriterConfig conf
930 MockIndexWriter4(Directory dir, IndexWriterConfig conf) argument
[all...]
H A DTestStressIndexing2.java52 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
53 super(dir, conf);
H A DTestIndexWriter.java831 IndexWriterConfig conf = newIndexWriterConfig(
834 ((LogMergePolicy) conf.getMergePolicy()).setMergeFactor(2);
835 IndexWriter iw = new IndexWriter(dir, conf);
1034 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
1035 super(dir, conf);
1274 IndexWriterConfig conf = newIndexWriterConfig(
1276 w = new IndexWriter(dir, conf);
/lucene-3.6.0/solr/contrib/dataimporthandler-extras/src/test/org/apache/solr/handler/dataimport/
H A DTestTikaEntityProcessor.java39 private String conf = field in class:TestTikaEntityProcessor
66 runFullImport(conf);
73 Document doc = builder.parse(new InputSource(new StringReader(conf)));
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestForceMergeForever.java38 public MyIndexWriter(Directory dir, IndexWriterConfig conf) throws Exception { argument
39 super(dir, conf);
H A DTestAtomicUpdate.java34 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
35 super(dir, conf);
129 IndexWriterConfig conf = new IndexWriterConfig(
132 ((TieredMergePolicy) conf.getMergePolicy()).setMaxMergeAtOnce(3);
133 IndexWriter writer = new MockIndexWriter(directory, conf);
H A DTestAddIndexes.java486 private IndexWriter newWriter(Directory dir, IndexWriterConfig conf) argument
488 conf.setMergePolicy(new LogDocMergePolicy());
489 final IndexWriter writer = new IndexWriter(dir, conf);
944 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy());
945 LogMergePolicy lmp = (LogMergePolicy) conf.getMergePolicy();
948 IndexWriter w3 = new IndexWriter(dir, conf);
960 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
961 IndexWriter writer = new IndexWriter(dirs[i], conf);
968 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
969 IndexWriter writer = new IndexWriter(dirs[0], conf);
[all...]
H A DTestIndexWriterExceptions.java142 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
143 super(dir, conf);
262 public MockIndexWriter2(Directory dir, IndexWriterConfig conf) throws IOException { argument
263 super(dir, conf);
355 public MockIndexWriter3(Directory dir, IndexWriterConfig conf) throws IOException { argument
356 super(dir, conf);
376 IndexWriterConfig conf = newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))
378 ((LogMergePolicy) conf.getMergePolicy()).setMergeFactor(2);
379 MockIndexWriter3 w = new MockIndexWriter3(dir, conf);
400 IndexWriterConfig conf
928 MockIndexWriter4(Directory dir, IndexWriterConfig conf) argument
[all...]
H A DTestStressIndexing2.java51 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
52 super(dir, conf);
H A DTestIndexWriter.java835 IndexWriterConfig conf = newIndexWriterConfig(
838 ((LogMergePolicy) conf.getMergePolicy()).setMergeFactor(2);
839 IndexWriter iw = new IndexWriter(dir, conf);
942 IndexWriterConfig conf = newIndexWriterConfig(
946 conf.setMergeScheduler(new SerialMergeScheduler());
948 IndexWriter writer = new IndexWriter(directory, conf);
1136 public MockIndexWriter(Directory dir, IndexWriterConfig conf) throws IOException { argument
1137 super(dir, conf);
1376 IndexWriterConfig conf = newIndexWriterConfig(
1378 w = new IndexWriter(dir, conf);
[all...]
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/taxonomy/directory/
H A DTestIndexClose.java190 public InstrumentedIndexWriter(Directory d, IndexWriterConfig conf) throws CorruptIndexException, LockObtainFailedException, IOException { argument
191 super(d, conf);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/servlet/cache/
H A DHttpCacheHeaderUtil.java175 * @param conf The config of the SolrCore handling this request
179 public static void setCacheControlHeader(final SolrConfig conf, argument
185 final String cc = conf.getHttpCachingConfig().getCacheControlHeader();
189 Long maxAge = conf.getHttpCachingConfig().getMaxAge();
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestNRTManager.java295 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
300 LatchedIndexWriter _writer = new LatchedIndexWriter(d, conf, latch, signal);
365 public LatchedIndexWriter(Directory d, IndexWriterConfig conf, argument
368 super(d, conf);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/
H A DRandomIndexWriter.java56 public MockIndexWriter(Random r,Directory dir, IndexWriterConfig conf) throws IOException { argument
57 super(dir, conf);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/
H A DRandomIndexWriter.java56 public MockIndexWriter(Random r,Directory dir, IndexWriterConfig conf) throws IOException { argument
57 super(dir, conf);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DSolrConfig.java185 CacheConfig conf = CacheConfig.getConfig(this, "query/fieldValueCache");
186 if (conf == null) {
192 conf = new CacheConfig(FastLRUCache.class, args, null);
194 fieldValueCacheConfig = conf;
425 private HttpCachingConfig(SolrConfig conf) { argument
427 never304 = conf.getBool(CACHE_PRE+"@never304", false);
429 etagSeed = conf.get(CACHE_PRE+"@etagSeed", "Solr");
432 lastModFrom = LastModFrom.parse(conf.get(CACHE_PRE+"@lastModFrom",
435 cacheControlHeader = conf.get(CACHE_PRE+"cacheControl",null);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DIndexWriter.java1058 * Constructs a new IndexWriter per the settings given in <code>conf</code>.
1066 * according <code>conf.getOpenMode()</code>.
1067 * @param conf
1077 * exist and <code>conf.getOpenMode()</code> is
1081 public IndexWriter(Directory d, IndexWriterConfig conf) argument
1083 config = (IndexWriterConfig) conf.clone();
1085 analyzer = conf.getAnalyzer();
1087 writeLockTimeout = conf.getWriteLockTimeout();
1088 similarity = conf.getSimilarity();
1089 mergePolicy = conf
[all...]

Completed in 747 milliseconds