Package org.apache.solr.core
Class SolrXmlConfig
- java.lang.Object
-
- org.apache.solr.core.SolrXmlConfig
-
public class SolrXmlConfig extends Object
Loadssolr.xml.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSOLR_DATA_HOMEstatic StringSOLR_XML_FILE
-
Constructor Summary
Constructors Constructor Description SolrXmlConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeConfigfromConfig(Path solrHome, XmlConfigFile config)static NodeConfigfromFile(Path solrHome, Path configFile, Properties substituteProps)static NodeConfigfromInputStream(Path solrHome, InputStream is, Properties substituteProps)static NodeConfigfromSolrHome(Path solrHome, Properties substituteProps)static NodeConfigfromString(Path solrHome, String xml)TEST-ONLY
-
-
-
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(Path solrHome, XmlConfigFile config)
-
fromFile
public static NodeConfig fromFile(Path solrHome, Path configFile, Properties substituteProps)
-
fromString
public static NodeConfig fromString(Path solrHome, String xml)
TEST-ONLY
-
fromInputStream
public static NodeConfig fromInputStream(Path solrHome, InputStream is, Properties substituteProps)
-
fromSolrHome
public static NodeConfig fromSolrHome(Path solrHome, Properties substituteProps)
-
-