Constructor and Description |
---|
IndexerFactory() |
Modifier and Type | Method and Description |
---|---|
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. |
public static Indexer getIndexer(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 fileIndexer
instancePortalException
public static Indexer getIndexer(String searchEngineId, 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 fileIndexer
instancePortalException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.