SearchService orchestrates document indexing and search queries.
Implements ISearchEngine by coordinating:
SearchService orchestrates document indexing and search queries.
Implements ISearchEngine by coordinating:
- core/index — document construction
- core/query — query sanitization
- definitions — the index definitions this service was built with, then
the deprecated global registry
- ISearchStore — persistence operations(create-search-service store)(create-search-service store definitions)Create a SearchService.
Args: store - ISearchStore implementation definitions - map of index id -> SearchDefinition
Returns: SearchService implementing ISearchEngine
Create a SearchService. Args: store - ISearchStore implementation definitions - map of index id -> SearchDefinition Returns: SearchService implementing ISearchEngine
(unknown-index index-id)The :not-found for an index this engine does not hold. HTTP answers a refused index with it too, so the two cannot be told apart.
The :not-found for an index this engine does not hold. HTTP answers a refused index with it too, so the two cannot be told apart.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |