(document->map document
&
{:keys [fields-to-keep multi-fields]
:or {multi-fields #{} fields-to-keep :all}})
Convenience function. Lucene document to map. Keys are always keywords. Values come back as string. Only stored fields come back.
Convenience function. Lucene document to map. Keys are always keywords. Values come back as string. Only stored fields come back.
(map->document m
{:keys [indexed-fields stored-fields keyword-fields
suggest-fields context-fn]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close