lux.solr
Class SolrIndexConfig

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean
org.apache.solr.core.SolrInfoMBean.Category
 
Constructor Summary
SolrIndexConfig(IndexConfiguration indexConfig)
           
 
Method Summary
 void applyFieldConfiguration(org.apache.solr.common.util.NamedList<String> fields)
           
 XmlIndexer checkoutXmlIndexer()
           
 org.apache.solr.core.SolrInfoMBean.Category getCategory()
           
 Compiler getCompiler()
           
 String getDescription()
           
 URL[] getDocs()
           
 IndexConfiguration getIndexConfig()
           
 String getName()
           
 String getSource()
           
 org.apache.solr.common.util.NamedList<?> getStatistics()
           
 String getVersion()
           
 void inform(org.apache.solr.core.SolrCore core)
           
static SolrIndexConfig makeIndexConfiguration(int options, org.apache.solr.common.util.NamedList<?> args)
           
static SolrIndexConfig registerIndexConfiguration(org.apache.solr.core.SolrCore core)
           
 void returnXmlIndexer(XmlIndexer doneWithIt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrIndexConfig

public SolrIndexConfig(IndexConfiguration indexConfig)
Method Detail

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.