Searched refs:conf (Results 1 - 25 of 67) sorted by relevance

123

/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 DTestIndexWriterConfig.java65 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
66 assertEquals(MockAnalyzer.class, conf.getAnalyzer().getClass());
67 assertNull(conf.getIndexCommit());
68 assertEquals(KeepOnlyLastCommitDeletionPolicy.class, conf.getIndexDeletionPolicy().getClass());
69 assertEquals(ConcurrentMergeScheduler.class, conf.getMergeScheduler().getClass());
70 assertEquals(OpenMode.CREATE_OR_APPEND, conf.getOpenMode());
71 assertTrue(Similarity.getDefault() == conf.getSimilarity());
72 assertEquals(IndexWriterConfig.DEFAULT_TERM_INDEX_INTERVAL, conf.getTermIndexInterval());
73 assertEquals(IndexWriterConfig.getDefaultWriteLockTimeout(), conf.getWriteLockTimeout());
75 assertEquals(IndexWriterConfig.DEFAULT_MAX_BUFFERED_DELETE_TERMS, conf
[all...]
H A DTestSizeBoundedForceMerge.java38 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, null);
39 conf.setMaxBufferedDocs(IndexWriterConfig.DISABLE_AUTO_FLUSH);
40 conf.setRAMBufferSizeMB(IndexWriterConfig.DEFAULT_RAM_BUFFER_SIZE_MB);
42 conf.setMergePolicy(NoMergePolicy.COMPOUND_FILES);
43 return conf;
51 IndexWriterConfig conf = newWriterConfig();
52 IndexWriter writer = new IndexWriter(dir, conf);
64 conf = newWriterConfig();
67 conf.setMergePolicy(lmp);
69 writer = new IndexWriter(dir, conf);
[all...]
H A DTestTieredMergePolicy.java31 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
33 conf.setMergePolicy(tmp);
34 conf.setMaxBufferedDocs(4);
38 IndexWriter w = new IndexWriter(dir, conf);
75 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
76 conf.setMergeScheduler(new SerialMergeScheduler());
78 conf.setMergePolicy(tmp);
79 conf.setMaxBufferedDocs(2);
83 IndexWriter w = new IndexWriter(dir, conf);
113 final IndexWriterConfig conf
[all...]
H A DTestDeletionPolicy.java207 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT,
210 MergePolicy mp = conf.getMergePolicy();
214 IndexWriter writer = new IndexWriter(dir, conf);
224 conf = newIndexWriterConfig(TEST_VERSION_CURRENT,
227 mp = conf.getMergePolicy();
231 writer = new IndexWriter(dir, conf);
306 IndexWriterConfig conf = newIndexWriterConfig(
310 MergePolicy mp = conf.getMergePolicy();
314 IndexWriter writer = new IndexWriter(dir, conf);
327 conf
[all...]
H A DTestSegmentInfo.java37 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy());
38 IndexWriter writer = new IndexWriter(dir, conf);
57 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
58 IndexWriter writer = new IndexWriter(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);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestIndexWriterConfig.java65 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
66 assertEquals(MockAnalyzer.class, conf.getAnalyzer().getClass());
67 assertNull(conf.getIndexCommit());
68 assertEquals(KeepOnlyLastCommitDeletionPolicy.class, conf.getIndexDeletionPolicy().getClass());
69 assertEquals(ConcurrentMergeScheduler.class, conf.getMergeScheduler().getClass());
70 assertEquals(OpenMode.CREATE_OR_APPEND, conf.getOpenMode());
71 assertTrue(Similarity.getDefault() == conf.getSimilarity());
72 assertEquals(IndexWriterConfig.DEFAULT_TERM_INDEX_INTERVAL, conf.getTermIndexInterval());
73 assertEquals(IndexWriterConfig.getDefaultWriteLockTimeout(), conf.getWriteLockTimeout());
75 assertEquals(IndexWriterConfig.DEFAULT_MAX_BUFFERED_DELETE_TERMS, conf
[all...]
H A DTestSizeBoundedForceMerge.java38 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, null);
39 conf.setMaxBufferedDocs(IndexWriterConfig.DISABLE_AUTO_FLUSH);
40 conf.setRAMBufferSizeMB(IndexWriterConfig.DEFAULT_RAM_BUFFER_SIZE_MB);
42 conf.setMergePolicy(NoMergePolicy.COMPOUND_FILES);
43 return conf;
51 IndexWriterConfig conf = newWriterConfig();
52 IndexWriter writer = new IndexWriter(dir, conf);
64 conf = newWriterConfig();
67 conf.setMergePolicy(lmp);
69 writer = new IndexWriter(dir, conf);
[all...]
H A DTestTieredMergePolicy.java31 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
33 conf.setMergePolicy(tmp);
34 conf.setMaxBufferedDocs(4);
38 IndexWriter w = new IndexWriter(dir, conf);
75 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
76 conf.setMergeScheduler(new SerialMergeScheduler());
78 conf.setMergePolicy(tmp);
79 conf.setMaxBufferedDocs(2);
83 IndexWriter w = new IndexWriter(dir, conf);
113 final IndexWriterConfig conf
[all...]
H A DTestSegmentInfo.java37 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy());
38 IndexWriter writer = new IndexWriter(dir, conf);
57 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
58 IndexWriter writer = new IndexWriter(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);
/lucene-3.6.0/lucene/contrib/benchmark/src/test/org/apache/lucene/benchmark/byTask/utils/
H A DTestConfig.java32 Config conf = new Config(props);
33 assertEquals("c:\\temp", conf.get("work.dir1", ""));
34 assertEquals("c:/temp", conf.get("work.dir2", ""));
/lucene-3.6.0/solr/scripts/
H A Drsyncd-start113 # create conf/rsyncd.conf on the fly, creating solrlogs directory if needed
114 if [[ ! -d ${solr_root}/conf ]]
116 mkdir ${solr_root}/conf
118 cat <<EOF > ${solr_root}/conf/rsyncd.conf
119 #### rsyncd.conf file ####
132 rsync --daemon --port=${rsyncd_port} --bwlimit=${rsyncd_bwlimit} --config=${solr_root}/conf/rsyncd.conf
H A Drsyncd-stop104 # remove rsyncd.conf
105 /bin/rm -f ${solr_root}/conf/rsyncd.conf
H A Dscripts-util27 confFile=${solr_root}/conf/scripts.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/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/programmatic/
H A DSample.java42 Config conf = new Config(p);
43 PerfRunData runData = new PerfRunData(conf);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestNRTCachingDirectory.java47 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
48 conf.setMergeScheduler(cachedDir.getMergeScheduler());
49 RandomIndexWriter w = new RandomIndexWriter(random, cachedDir, conf);
111 IndexWriterConfig conf = new IndexWriterConfig(Version.LUCENE_32, analyzer);
112 conf.setMergeScheduler(cachedFSDir.getMergeScheduler());
113 IndexWriter writer = new IndexWriter(cachedFSDir, conf);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestNRTCachingDirectory.java47 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random));
48 conf.setMergeScheduler(cachedDir.getMergeScheduler());
49 RandomIndexWriter w = new RandomIndexWriter(random, cachedDir, conf);
111 IndexWriterConfig conf = new IndexWriterConfig(Version.LUCENE_32, analyzer);
112 conf.setMergeScheduler(cachedFSDir.getMergeScheduler());
113 IndexWriter writer = new IndexWriter(cachedFSDir, 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/test/org/apache/lucene/
H A DTestMergeSchedulerExternal.java137 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, null);
138 conf.setMergeScheduler(new ReportingMergeScheduler());
139 IndexWriter writer = new IndexWriter(dir, conf);
H A DTestSearch.java70 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, analyzer);
71 MergePolicy mp = conf.getMergePolicy();
76 IndexWriter writer = new IndexWriter(directory, conf);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/
H A DTestMergeSchedulerExternal.java137 IndexWriterConfig conf = new IndexWriterConfig(TEST_VERSION_CURRENT, null);
138 conf.setMergeScheduler(new ReportingMergeScheduler());
139 IndexWriter writer = new IndexWriter(dir, conf);
H A DTestSearch.java77 IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, analyzer);
78 MergePolicy mp = conf.getMergePolicy();
83 IndexWriter writer = new IndexWriter(directory, conf);

Completed in 123 milliseconds

123