| Interface | osid.search.EngineSearchSession | ||
|---|---|---|---|
| Implements | osid.search.EngineQuerySession | ||
| Used By | osid.search.SearchManager | ||
osid.search.SearchProxyManager | |||
| Description |
This session provides methods for searching
getEnginesByQuery() is the basic search method
and returns a list of Engine elements. A more
advanced search may be performed with
getEnginesBySearch(). It accepts an
EngineSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getEnginesBySearch()
returns an EngineSearchResults that can be used
to access the resulting EngineList or be used to
perform a search within the result set through
EngineSearch.
Engines may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getEngineSearch | ||
| Description |
Gets an engine search. | ||
| Return | osid.search.EngineSearch | the engine search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getEngineSearchOrder | ||
| Description |
Gets an engine search order. The
| ||
| Return | osid.search.EngineSearchOrder | the engine search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getEnginesBySearch | ||
| Description |
Gets the search results matching the given search. | ||
| Parameters | osid.search.EngineQuery | engineQuery | the engine query |
osid.search.EngineSearch | engineSearch | the engine search | |
| Return | osid.search.EngineSearchResults | the search results | |
| Errors | NULL_ARGUMENT | engineQuery or engineSearch is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | engineQuery or engineSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEngineQueryFromInspector | ||
| Description |
Gets an engine query from an inspector. The inspector
is available from an | ||
| Parameters | osid.search.EngineQueryInspector | engineQueryInspector | a query inspector |
| Return | osid.search.EngineQuery | the engine query | |
| Errors | NULL_ARGUMENT | engineQueryInspector is null | |
| UNSUPPORTED | engineQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |