| Interface | osid.search.SearchManager | ||
|---|---|---|---|
| Implements | osid.OsidManager | ||
osid.search.SearchProfile | |||
| Description |
The search manager provides access to search sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
The search manager also provides a profile for determing the supported search types supported by this service. | ||
| Method | getSearchSession | ||
| Description |
Gets the | ||
| Return | osid.search.SearchSession | a SearchSession | |
| Errors | OPERATION_FAILED | unable to complete request | |
| UNIMPLEMENTED | supportsSearch() is false | ||
| Compliance | optional | This method must be implemented if supportsSearch() is
true. | |
| Method | getSearchSessionForEngine | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | engineId | the Id of the Engine |
| Return | osid.search.SearchSession | a SearchSession | |
| Errors | NOT_FOUND | no Engine found by the given Id | |
| NULL_ARGUMENT | engineId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| UNIMPLEMENTED | supportsSearch() or supportsVisibleFederation()
is false | ||
| Compliance | optional | This method must be implemented if supportsSearch() and
supportsVisibleFederation() are true | |
| Method | getEngineLookupSession | ||
| Description |
Gets the | ||
| Return | osid.search.EngineLookupSession | an EngineLookupSession | |
| Errors | OPERATION_FAILED | unable to complete request | |
| UNIMPLEMENTED | supportsEngineLookup() is false | ||
| Compliance | optional | This method must be implemented if supportsEngineLookup() is
true. | |
| Method | getEngineQuerySession | ||
| Description |
Gets the | ||
| Return | osid.search.EngineQuerySession | an EngineQuerySession | |
| Errors | OPERATION_FAILED | unable to complete request | |
| UNIMPLEMENTED | supportsEngineQuery() is false | ||
| Compliance | optional | This method must be implemented if supportsEngineQuery() is
true. | |
| Method | getEngineSearchSession | ||
| Description |
Gets the | ||
| Return | osid.search.EngineSearchSession | an EngineSearchSession | |
| Errors | OPERATION_FAILED | unable to complete request | |
| UNIMPLEMENTED | supportsEngineSearch() is false | ||
| Compliance | optional | This method must be implemented if supportsEngineSearch() is
true. | |
| Method | getEngineAdminSession | ||
| Description |
Gets the | ||
| Return | osid.search.EngineAdminSession | an EngineAdminSession | |
| Errors | OPERATION_FAILED | unable to complete request | |
| UNIMPLEMENTED | supportsEngineAdmin() is false | ||
| Compliance | optional | This method must be implemented if supportsEngineAdmin() is
true. | |
| Method | getEngineNotificationSession | ||
| Description |
Gets the | ||
| Parameters | osid.search.EngineReceiver | engineReceiver | the receiver |
| Return | osid.search.EngineNotificationSession | an EngineNotificationSession | |
| Errors | NULL_ARGUMENT | engineReceiver is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNIMPLEMENTED | supportsEngineNotification() is false | ||
| Compliance | optional | This method must be implemented if supportsEngineNotification()
is true. | |
| Method | getEngineHierarchySession | ||
| Description |
Gets the | ||
| Return | osid.search.EngineHierarchySession | an EngineHierarchySession | |
| Errors | OPERATION_FAILED | unable to complete request | |
| UNIMPLEMENTED | supportsEngineHierarchy() is false | ||
| Compliance | optional | This method must be implemented if supportsEngineHierarchy()
is true. | |
| Method | getEngineHierarchyDesignSession | ||
| Description |
Gets the | ||
| Return | osid.search.EngineHierarchyDesignSession | an EngineierarchyDesignSession | |
| Errors | OPERATION_FAILED | unable to complete request | |
| UNIMPLEMENTED | supportsEngineHierarchyDesign() is false | ||
| Compliance | optional | This method must be implemented if supportsEngineHierarchyDesign()
is true. | |