lumis.search
Class IndexerFactory

Package class diagram package IndexerFactory
java.lang.Object
  extended by lumis.search.IndexerFactory

public class IndexerFactory
extends Object

Creates instances of concrete Indexer implementations.

Since:
4.0.4

Constructor Summary
IndexerFactory()
           
 
Method Summary
static Indexer getIndexer(String searchEngineId)
          Creates an instance of the default Indexer class for the specified search engine.
static Indexer getIndexer(String searchEngineId, String indexerId)
          Creates an instance of the Indexer class for the specified search engine and indexer.
The class is determined by an indexer config node in search config file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexerFactory

public IndexerFactory()
Method Detail

getIndexer

public static Indexer getIndexer(String searchEngineId)
                          throws PortalException
Creates an instance of the default Indexer class for the specified search engine. The class is determined by an indexer config node in search config file. The specified search engine determines which indexer config node will be used.

Parameters:
searchEngineId - search engine identifier in search config file
Returns:
Indexer instance
Throws:
PortalException
Since:
4.0.4

getIndexer

public static Indexer getIndexer(String searchEngineId,
                                 String indexerId)
                          throws PortalException
Creates an instance of the Indexer class for the specified search engine and indexer.
The class is determined by an indexer config node in search config file. The specified search engine and indexer determine which indexer config node will be used.

Parameters:
searchEngineId - search engine identifier in search config file
indexerId - indexer identifier in search config file
Returns:
Indexer instance
Throws:
PortalException
Since:
4.0.4


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.