|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.search.IndexerFactory
public class IndexerFactory
Creates instances of concrete Indexer
implementations.
Constructor Summary | |
---|---|
IndexerFactory()
|
Method Summary | |
---|---|
static Indexer |
getIndexer(java.lang.String searchEngineId)
Creates an instance of the default Indexer class for the specified search engine. |
static Indexer |
getIndexer(java.lang.String searchEngineId,
java.lang.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 |
---|
public IndexerFactory()
Method Detail |
---|
public static Indexer getIndexer(java.lang.String searchEngineId) throws PortalException
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.
searchEngineId
- search engine identifier in search config file
Indexer
instance
PortalException
public static Indexer getIndexer(java.lang.String searchEngineId, java.lang.String indexerId) throws PortalException
Indexer
class for the specified search
engine and indexer.node
in search config file.
The specified search engine and indexer determine which indexer config node
will be used.
searchEngineId
- search engine identifier in search config fileindexerId
- indexer identifier in search config file
Indexer
instance
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |