public class SolrIndexConfig extends Object implements MapSerializable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MERGE_SCHEDULER_CLASSNAME |
InfoStream |
infoStream |
String |
lockType |
Version |
luceneVersion |
int |
maxBufferedDocs |
int |
maxMergeDocs |
PluginInfo |
mergedSegmentWarmerInfo |
int |
mergeFactor |
PluginInfo |
mergePolicyFactoryInfo |
PluginInfo |
mergePolicyInfo |
PluginInfo |
mergeSchedulerInfo |
PluginInfo |
metricsInfo |
double |
ramBufferSizeMB |
int |
writeLockTimeout |
Constructor and Description |
---|
SolrIndexConfig(SolrConfig solrConfig,
String prefix,
SolrIndexConfig def)
Constructs a SolrIndexConfig which parses the Lucene related config params in solrconfig.xml
|
Modifier and Type | Method and Description |
---|---|
boolean |
getUseCompoundFile() |
IndexWriterConfig |
toIndexWriterConfig(SolrCore core) |
Map<String,Object> |
toMap(Map<String,Object> map) |
public static final String DEFAULT_MERGE_SCHEDULER_CLASSNAME
public final Version luceneVersion
public final int maxBufferedDocs
public final int maxMergeDocs
public final int mergeFactor
public final double ramBufferSizeMB
public final int writeLockTimeout
public final String lockType
public final PluginInfo mergePolicyInfo
public final PluginInfo mergePolicyFactoryInfo
public final PluginInfo mergeSchedulerInfo
public final PluginInfo metricsInfo
public final PluginInfo mergedSegmentWarmerInfo
public InfoStream infoStream
public SolrIndexConfig(SolrConfig solrConfig, String prefix, SolrIndexConfig def)
solrConfig
- the overall SolrConfig objectprefix
- the XPath prefix for which section to parse (mandatory)def
- a SolrIndexConfig instance to pick default values from (optional)public Map<String,Object> toMap(Map<String,Object> map)
toMap
in interface MapSerializable
public IndexWriterConfig toIndexWriterConfig(SolrCore core) throws IOException
IOException
public boolean getUseCompoundFile()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.