Package org.apache.solr.core
Class ConfigSet
- java.lang.Object
-
- org.apache.solr.core.ConfigSet
-
public class ConfigSet extends Object
Stores a core's configuration in the form of a SolrConfig and IndexSchema. Immutable.- See Also:
ConfigSetService
-
-
Constructor Summary
Constructors Constructor Description ConfigSet(String name, SolrConfig solrConfig, org.apache.solr.core.ConfigSet.SchemaSupplier indexSchemaSupplier, org.apache.solr.common.util.NamedList<?> properties, boolean trusted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexSchema
getIndexSchema()
IndexSchema
getIndexSchema(boolean forceFetch)
String
getName()
org.apache.solr.common.util.NamedList<?>
getProperties()
SolrConfig
getSolrConfig()
boolean
isTrusted()
-
-
-
Constructor Detail
-
ConfigSet
public ConfigSet(String name, SolrConfig solrConfig, org.apache.solr.core.ConfigSet.SchemaSupplier indexSchemaSupplier, org.apache.solr.common.util.NamedList<?> properties, boolean trusted)
-
-
Method Detail
-
getName
public String getName()
-
getSolrConfig
public SolrConfig getSolrConfig()
-
getIndexSchema
public IndexSchema getIndexSchema(boolean forceFetch)
- Parameters:
forceFetch
- get a fresh value and not cached value
-
getIndexSchema
public IndexSchema getIndexSchema()
-
getProperties
public org.apache.solr.common.util.NamedList<?> getProperties()
-
isTrusted
public boolean isTrusted()
-
-