(create-filter-codec-for-suggestions)
Creates a codec for storing fields that support returning suggestions for given prefix strings. Chooses the codec based on the field name prefix - which is fixed/pre-decided and not designed to be overridden.
Creates a codec for storing fields that support returning suggestions for given prefix strings. Chooses the codec based on the field name prefix - which is fixed/pre-decided and not designed to be overridden.
(suggest index-reader
field-name
prefix-query
{:keys [contexts analyzer max-results hit->doc fuzzy? skip-duplicates?]
:or {fuzzy? false skip-duplicates? false hit->doc identity}})
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 |