(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 is a website building & hosting documentation for Clojure/Script libraries
× close