lumis.search
Class IndexerFactory
java.lang.Object
lumis.search.IndexerFactory
public class IndexerFactory
- extends Object
Creates instances of concrete Indexer
implementations.
- Since:
- 4.0.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexerFactory
public IndexerFactory()
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 fileindexerId
- 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.