(document m keys)
Creates an org.apache.lucene.document.Document from a map. The map can optionally includes :clucie.core/raw-fields key, which value must be a sequence of raw org.apache.lucene.document.Field instances.
Creates an org.apache.lucene.document.Document from a map. The map can optionally includes :clucie.core/raw-fields key, which value must be a sequence of raw org.apache.lucene.document.Field instances.
(document->map doc)
Turns a Document object into a map.
Turns a Document object into a map.
(field key value)
(field key value opts)
Creates an org.apache.lucene.document.Field from key and value. opts is an optional map specifying type of the field, which is passed to field-type function as it is. See also docs of field-type for further details.
Creates an org.apache.lucene.document.Field from key and value. opts is an optional map specifying type of the field, which is passed to field-type function as it is. See also docs of field-type for further details.
(field-type {:keys [indexed? stored? tokenized?]
:or {indexed? false stored? true tokenized? false}})
Creates an org.apache.lucene.document.FieldType according to given map:
{:indexed? Set true if the field should be indexed, default false. This accepts an org.apache.lucene.index.IndexOptions constant other than boolean value. :stored? Set true if the field should be stored, default true. :tokenized? Set true if the field should be tokenized, default false.}
Creates an org.apache.lucene.document.FieldType according to given map: {:indexed? Set true if the field should be indexed, default false. This accepts an org.apache.lucene.index.IndexOptions constant other than boolean value. :stored? Set true if the field should be stored, default true. :tokenized? Set true if the field should be tokenized, default false.}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close