Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:search_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
vufind2:search_service [2013/04/29 16:12] – add note on parameter bag dmaus | development:architecture:search_service [2020/03/04 13:45] – demiankatz | ||
---|---|---|---|
Line 7: | Line 7: | ||
* separate re-usable classes for interacting with a specific remote system and the application-specifc implementation | * separate re-usable classes for interacting with a specific remote system and the application-specifc implementation | ||
* streamline the interface of backend related classes | * streamline the interface of backend related classes | ||
- | * use the Zend Framework's capabilities to provide extend and/or augment the VuFind implementation | + | * use [[development: |
FIXME | FIXME | ||
Line 57: | Line 57: | ||
The search service integrates all backends used by the VuFind application. Instead of using the backend classes directly, all retrieval operations use the search service class and select the backend by passing its identifier as first argument. This indirection is necessary in order to implement a well defined behavior of retrieval operations required to extend and/or modify the application without modifying the core classes or hardcoding application specific behavior. | The search service integrates all backends used by the VuFind application. Instead of using the backend classes directly, all retrieval operations use the search service class and select the backend by passing its identifier as first argument. This indirection is necessary in order to implement a well defined behavior of retrieval operations required to extend and/or modify the application without modifying the core classes or hardcoding application specific behavior. | ||
- | :!: It is worth noting that every retrieval operation can be called with a ' | + | :!: It is worth noting that every retrieval operation can be called with a ' |
- | The search service uses a scoped service manager bound to the namespace '' | + | The search service uses a scoped service manager bound to the namespace '' |
==== resolve ==== | ==== resolve ==== | ||
Line 73: | Line 73: | ||
The target of the '' | The target of the '' | ||
+ | ==== error ==== | ||
+ | If a backend implementation raised an exception this event is triggered with the exception object as target. Listeners can be attached to e.g. annotate the exception or log specific errors of a third party index provider. | ||
+ | ===== Additional Resources ===== | ||
+ | |||
+ | This [[https:// | ||
---- struct data ---- | ---- struct data ---- | ||
---- | ---- | ||
development/architecture/search_service.txt · Last modified: 2023/11/09 21:12 by demiankatz