Package org.apache.solr.core
Class SolrXmlConfig
- java.lang.Object
-
- org.apache.solr.core.SolrXmlConfig
-
public class SolrXmlConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SOLR_DATA_HOME
static String
SOLR_XML_FILE
-
Constructor Summary
Constructors Constructor Description SolrXmlConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeConfig
fromConfig(XmlConfigFile config)
static NodeConfig
fromFile(SolrResourceLoader loader, Path configFile)
static NodeConfig
fromInputStream(SolrResourceLoader loader, InputStream is)
static NodeConfig
fromSolrHome(Path solrHome)
static NodeConfig
fromSolrHome(SolrResourceLoader loader, Path solrHome)
static NodeConfig
fromString(SolrResourceLoader loader, String xml)
-
-
-
Field Detail
-
SOLR_XML_FILE
public static final String SOLR_XML_FILE
- See Also:
- Constant Field Values
-
SOLR_DATA_HOME
public static final String SOLR_DATA_HOME
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromConfig
public static NodeConfig fromConfig(XmlConfigFile config)
-
fromFile
public static NodeConfig fromFile(SolrResourceLoader loader, Path configFile)
-
fromString
public static NodeConfig fromString(SolrResourceLoader loader, String xml)
-
fromInputStream
public static NodeConfig fromInputStream(SolrResourceLoader loader, InputStream is)
-
fromSolrHome
public static NodeConfig fromSolrHome(SolrResourceLoader loader, Path solrHome)
-
fromSolrHome
public static NodeConfig fromSolrHome(Path solrHome)
-
-