lux.solr
Class SolrIndexConfig
java.lang.Object
lux.solr.SolrIndexConfig
- All Implemented Interfaces:
- org.apache.solr.core.SolrInfoMBean
public class SolrIndexConfig
- extends Object
- implements org.apache.solr.core.SolrInfoMBean
Wraps a IndexConfiguration, adding field definitions from information in Solr's configuration files:
solrconfig.xml and schema.xml
| Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean |
org.apache.solr.core.SolrInfoMBean.Category |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrIndexConfig
public SolrIndexConfig(IndexConfiguration indexConfig)
getCompiler
public Compiler getCompiler()
checkoutXmlIndexer
public XmlIndexer checkoutXmlIndexer()
returnXmlIndexer
public void returnXmlIndexer(XmlIndexer doneWithIt)
registerIndexConfiguration
public static SolrIndexConfig registerIndexConfiguration(org.apache.solr.core.SolrCore core)
makeIndexConfiguration
public static SolrIndexConfig makeIndexConfiguration(int options,
org.apache.solr.common.util.NamedList<?> args)
applyFieldConfiguration
public void applyFieldConfiguration(org.apache.solr.common.util.NamedList<String> fields)
inform
public void inform(org.apache.solr.core.SolrCore core)
getIndexConfig
public IndexConfiguration getIndexConfig()
getName
public String getName()
- Specified by:
getName in interface org.apache.solr.core.SolrInfoMBean
getVersion
public String getVersion()
- Specified by:
getVersion in interface org.apache.solr.core.SolrInfoMBean
getDescription
public String getDescription()
- Specified by:
getDescription in interface org.apache.solr.core.SolrInfoMBean
getCategory
public org.apache.solr.core.SolrInfoMBean.Category getCategory()
- Specified by:
getCategory in interface org.apache.solr.core.SolrInfoMBean
getSource
public String getSource()
- Specified by:
getSource in interface org.apache.solr.core.SolrInfoMBean
getDocs
public URL[] getDocs()
- Specified by:
getDocs in interface org.apache.solr.core.SolrInfoMBean
getStatistics
public org.apache.solr.common.util.NamedList<?> getStatistics()
- Specified by:
getStatistics in interface org.apache.solr.core.SolrInfoMBean
Copyright © 2013. All Rights Reserved.