|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.search.SearcherFactory
public class SearcherFactory
Creates instances of concrete Searcher
implementations.
Constructor Summary | |
---|---|
SearcherFactory()
|
Method Summary | |
---|---|
static Searcher |
getSearcher(java.lang.String searchEngineId)
Creates an instance of the default Searcher class for the specified search engine. |
static Searcher |
getSearcher(java.lang.String searchEngineId,
java.lang.String searcherId)
Creates an instance of the Searcher class for the specified search
engine and searcher.The class is determined by a searcher 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 SearcherFactory()
Method Detail |
---|
public static Searcher getSearcher(java.lang.String searchEngineId) throws PortalException
Searcher
class for the specified search engine.
The class is determined by a searcher config node
in search config file.
The specified search engine determines which searcher config node
will be used.
searchEngineId
- search engine identifier in search config file
Searcher
instance
PortalException
public static Searcher getSearcher(java.lang.String searchEngineId, java.lang.String searcherId) throws PortalException
Searcher
class for the specified search
engine and searcher.node
in search config file.
The specified search engine and searcher determine which searcher config node
will be used.
searchEngineId
- search engine identifier in search config filesearcherId
- searcher identifier in search config file
Searcher
instance
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |