Liking cljdoc? Tell your friends :D

wagoe.search.core.highlighting

Pure functions for search result highlighting and snippet extraction.

This namespace provides functions for highlighting matching terms in search results and extracting relevant snippets. All functions are pure (no side effects).

Architecture: Functional Core (Pure)

Pure functions for search result highlighting and snippet extraction.

This namespace provides functions for highlighting matching terms
in search results and extracting relevant snippets.
All functions are pure (no side effects).

Architecture: Functional Core (Pure)
raw docstring

wagoe.search.core.index

Pure document construction and filter-key conversion for search.

Key functions:

  • defsearch — bind a SearchDefinition to a var (data only)
  • collect-definitions — the definitions a :wagoe/search component holds
  • api-enabled? — whether the generic search API serves an index
  • build-document* — construct a SearchDocument from field values
  • filter-key->json-key — convert a filter keyword to a snake_case JSON key
Pure document construction and filter-key conversion for search.

Key functions:
- defsearch             — bind a SearchDefinition to a var (data only)
- collect-definitions   — the definitions a :wagoe/search component holds
- api-enabled?          — whether the generic search API serves an index
- build-document*       — construct a SearchDocument from field values
- filter-key->json-key  — convert a filter keyword to a snake_case JSON key
raw docstring

wagoe.search.core.query

What a search asks for, before any store sees it: the sanitized query and the filter terms. wagoe.search.shell.query-sql turns them into SQL.

What a search asks for, before any store sees it: the sanitized query and
the filter terms. `wagoe.search.shell.query-sql` turns them into SQL.
raw docstring

wagoe.search.core.ranking

Pure ranking and scoring functions for search results.

This namespace provides functions for calculating relevance scores, applying boosts, and normalizing results. All functions are pure.

Architecture: Functional Core (Pure)

Pure ranking and scoring functions for search results.

This namespace provides functions for calculating relevance scores,
applying boosts, and normalizing results. All functions are pure.

Architecture: Functional Core (Pure)
raw 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