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()
           
 SolrConfig getIndexerConfig()
           
 org.ow2.weblab.core.services.indexer.IndexReturn index(org.ow2.weblab.core.services.indexer.IndexArgs args)
           
 void init()
           
 void setIndexerConfig(SolrConfig indexerConfig)
           
 
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 SolrConfig getIndexerConfig()

setIndexerConfig

public void setIndexerConfig(SolrConfig indexerConfig)


Copyright © 2004-2012. All Rights Reserved.