org.ow2.weblab.services.solr.indexer
Class SolrIndexer

java.lang.Object
  extended by org.ow2.weblab.services.solr.indexer.SolrIndexer
All Implemented Interfaces:
org.ow2.weblab.core.services.Indexer

public class SolrIndexer
extends java.lang.Object
implements org.ow2.weblab.core.services.Indexer

Indexer using Embedded Solr server. This class only check index arguments and call Solr component


Field Summary
static java.lang.String BEAN_NAME
           
 
Constructor Summary
SolrIndexer()
           
 
Method Summary
 void destroy()
           
 SolrIndexerConfig getIndexerConfig()
           
 java.lang.String getSolrURL()
           
 org.ow2.weblab.core.services.indexer.IndexReturn index(org.ow2.weblab.core.services.indexer.IndexArgs args)
           
 void init()
           
 boolean isNoCore()
           
 void setIndexerConfig(SolrIndexerConfig indexerConfig)
           
 void setNoCore(boolean noCore)
           
 void setSolrURL(java.lang.String solrURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_NAME

public static final java.lang.String BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

SolrIndexer

public SolrIndexer()
Method Detail

init

@PostConstruct
public void init()

destroy

@PreDestroy
public void destroy()

index

public org.ow2.weblab.core.services.indexer.IndexReturn index(org.ow2.weblab.core.services.indexer.IndexArgs args)
                                                       throws org.ow2.weblab.core.services.UnexpectedException,
                                                              org.ow2.weblab.core.services.InvalidParameterException,
                                                              org.ow2.weblab.core.services.ServiceNotConfiguredException
Specified by:
index in interface org.ow2.weblab.core.services.Indexer
Throws:
org.ow2.weblab.core.services.UnexpectedException
org.ow2.weblab.core.services.InvalidParameterException
org.ow2.weblab.core.services.ServiceNotConfiguredException

getIndexerConfig

public SolrIndexerConfig getIndexerConfig()

setIndexerConfig

public void setIndexerConfig(SolrIndexerConfig indexerConfig)

getSolrURL

public java.lang.String getSolrURL()

setSolrURL

public void setSolrURL(java.lang.String solrURL)

isNoCore

public boolean isNoCore()

setNoCore

public void setNoCore(boolean noCore)


Copyright © 2004-2012. All Rights Reserved.