|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.search.QueryEngineRegistry
Provides a registry of query engine implementations for
various sets of filters. Application programmers do not need
to access instances of this class directly, rather they
should use the process
method in the Search
class.
QueryEngine
Constructor Summary | |
QueryEngineRegistry()
|
Method Summary | |
static QueryEngine |
getEngine(String indexer,
FilterType[] filters)
Gets the search engine implementation capable of processing the specified set of filters on a given search indexer. |
static void |
registerEngine(IndexerType indexer,
FilterType[] filters,
QueryEngine engine)
Registers a new query engine implementation for an indexer capable of accepting a specific set of filter types. |
static void |
registerEngine(String indexer,
FilterType[] filters,
QueryEngine engine)
Registers a new query engine implementation for an indexer capable of accepting a specific set of filter types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryEngineRegistry()
Method Detail |
public static void registerEngine(IndexerType indexer, FilterType[] filters, QueryEngine engine)
indexer
- the search engine typefilters
- the filter types supportedengine
- the engine implementationpublic static void registerEngine(String indexer, FilterType[] filters, QueryEngine engine)
indexer
- the search engine typefilters
- the filter types supportedengine
- the engine implementationpublic static QueryEngine getEngine(String indexer, FilterType[] filters)
indexer
- the search engine typefilters
- the filter types requested
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |