Liking cljdoc? Tell your friends :D

wagoe.search.shell.service

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
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
raw docstring

create-search-serviceclj

(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
sourceraw docstring

unknown-indexclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close