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