public class SolrIndexConfig extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
checkIntegrityAtMerge |
static String |
DEFAULT_MERGE_SCHEDULER_CLASSNAME |
InfoStream |
infoStream |
static String |
LOCK_TYPE_NATIVE |
static String |
LOCK_TYPE_NONE |
static String |
LOCK_TYPE_SIMPLE |
static String |
LOCK_TYPE_SINGLE |
String |
lockType |
static org.slf4j.Logger |
log |
Version |
luceneVersion |
int |
maxBufferedDocs |
int |
maxIndexingThreads |
int |
maxMergeDocs |
PluginInfo |
mergedSegmentWarmerInfo |
int |
mergeFactor |
PluginInfo |
mergePolicyInfo |
PluginInfo |
mergeSchedulerInfo |
double |
ramBufferSizeMB |
int |
termIndexInterval |
boolean |
useCompoundFile
Deprecated.
|
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(IndexSchema schema) |
public static final org.slf4j.Logger log
public static final String DEFAULT_MERGE_SCHEDULER_CLASSNAME
public final Version luceneVersion
@Deprecated public final boolean useCompoundFile
getUseCompoundFile()
public final int maxBufferedDocs
public final int maxMergeDocs
public final int maxIndexingThreads
public final int mergeFactor
public final double ramBufferSizeMB
public final int writeLockTimeout
public final String lockType
public final PluginInfo mergePolicyInfo
public final PluginInfo mergeSchedulerInfo
public final int termIndexInterval
public final PluginInfo mergedSegmentWarmerInfo
public InfoStream infoStream
public static final String LOCK_TYPE_SIMPLE
public static final String LOCK_TYPE_NATIVE
public static final String LOCK_TYPE_SINGLE
public static final String LOCK_TYPE_NONE
public final boolean checkIntegrityAtMerge
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 IndexWriterConfig toIndexWriterConfig(IndexSchema schema)
public boolean getUseCompoundFile()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.