SMILA 1.0 API documentation

org.eclipse.smila.solr
Class SolrManager

java.lang.Object
  extended by org.eclipse.smila.solr.SolrManager

public class SolrManager
extends java.lang.Object

The SolrManager class.

Author:
pwissel

Constructor Summary
SolrManager()
           
SolrManager(SolrProperties properties)
          Default constructor.
 
Method Summary
 CoreContainer getCoreContainer()
          Get CoreContainer.
 java.util.Collection<java.lang.String> getCoreNames()
          Get core names.
 SolrAdministration getSolrAdministration()
           
 SolrHelper getSolrHelper()
          Get the SolrHelper.
 SolrProperties getSolrProperties()
          Get the SolrProperties.
 SolrServer getSolrServer(java.lang.String coreName)
          Get a SolrServer by core name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrManager

public SolrManager()

SolrManager

public SolrManager(SolrProperties properties)
Default constructor.

Method Detail

getSolrProperties

public SolrProperties getSolrProperties()
Get the SolrProperties.

Returns:
the SolrProperties.

getSolrHelper

public SolrHelper getSolrHelper()
Get the SolrHelper.

Returns:
the SolrHelper.

getCoreContainer

public CoreContainer getCoreContainer()
Get CoreContainer.

Returns:
the core container.

getCoreNames

public java.util.Collection<java.lang.String> getCoreNames()
Get core names.

Returns:
the core names.

getSolrServer

public SolrServer getSolrServer(java.lang.String coreName)
                         throws SolrServerException,
                                java.io.IOException
Get a SolrServer by core name.

Parameters:
coreName - the core name.
Returns:
the SolrServer.
Throws:
SolrServerException - SolrServerException if no core by this name is alive
java.io.IOException - IOException.

getSolrAdministration

public SolrAdministration getSolrAdministration()

SMILA 1.0 API documentation