SMILA (incubation) API documentation

org.eclipse.smila.solr
Class SolrServerManager

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

public class SolrServerManager
extends java.lang.Object

The SolrManager class.

Author:
pwissel

Constructor Summary
SolrServerManager()
           
SolrServerManager(SolrProperties properties)
          Default constructor.
 
Method Summary
 CoreContainer getCoreContainer()
          Get CoreContainer.
 SolrAdmin getSolrAdmin()
          Get the SolrAdmin.
 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

SolrServerManager

public SolrServerManager()

SolrServerManager

public SolrServerManager(SolrProperties properties)
Default constructor.

Method Detail

getSolrProperties

public SolrProperties getSolrProperties()
Get the SolrProperties.

Returns:
the SolrProperties.

getSolrAdmin

public SolrAdmin getSolrAdmin()
Get the SolrAdmin.

Returns:
the SolrAdmin.

getSolrHelper

public SolrHelper getSolrHelper()
Get the SolrHelper.

Returns:
the SolrHelper.

getCoreContainer

public CoreContainer getCoreContainer()
Get CoreContainer.

Returns:
the core container.

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.
java.io.IOException - IOException.

SMILA (incubation) API documentation