public class SolrIndexConfig extends Object implements MapSerializable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MERGE_SCHEDULER_CLASSNAME |
InfoStream |
infoStream |
String |
lockType |
int |
maxBufferedDocs |
PluginInfo |
mergedSegmentWarmerInfo |
PluginInfo |
mergePolicyFactoryInfo |
PluginInfo |
mergeSchedulerInfo |
PluginInfo |
metricsInfo |
double |
ramBufferSizeMB |
int |
ramPerThreadHardLimitMB |
boolean |
useCompoundFile |
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 |
---|---|
IndexWriterConfig |
toIndexWriterConfig(SolrCore core) |
Map<String,Object> |
toMap(Map<String,Object> map) |
public static final String DEFAULT_MERGE_SCHEDULER_CLASSNAME
public final boolean useCompoundFile
public final int maxBufferedDocs
public final double ramBufferSizeMB
public final int ramPerThreadHardLimitMB
public final int writeLockTimeout
public final String lockType
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
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.