Liking cljdoc? Tell your friends :D

lib.lucene.impl.query


FormParsablecljprotocol

parse-formclj

(parse-form form opts)

parse-form-mapclj

(parse-form-map map opts)

parses a map form

parses a map form
raw docstring

parse-form-queryclj

(parse-form-query query opts)

parses a query

(parse-form-query :<query> nil) => :<query>

parses a query

(parse-form-query :<query> nil)
=> :<query>
raw docstring

parse-form-seqclj

(parse-form-seq seq opts)

parses a sequential form

parses a sequential form
raw docstring

parse-form-setclj

(parse-form-set set opts)

parses a set form

parses a set form
raw docstring

parse-form-stringclj

(parse-form-string s {:keys [builder mode key] :as opts})

parses a string

parses a string
raw docstring

parse-stringclj

(parse-string analyzer default-field-name query-string)

helper for parse-form-string

(parse-string -analyzer- "id" "hello") ;; #object[org.apache.lucene.search.TermQuery 0x487193be "id:hello"] => org.apache.lucene.search.TermQuery

helper for `parse-form-string`

(parse-string -analyzer- "id" "hello")
;; #object[org.apache.lucene.search.TermQuery 0x487193be "id:hello"]
=> org.apache.lucene.search.TermQuery
raw docstring

queryclj

(query form)
(query form
       {:keys [analyzer mode]
        :as opts
        :or {analyzer (analyzer/analyzer {:type :standard}) mode :query}})

compiles a query

(query #{{:id "hello"} {:id "world"}}) ;; #object[org.apache.lucene.search.BooleanQuery 0x3dd55e15 "(+id:world) (+id:hello)"] => org.apache.lucene.search.BooleanQuery

compiles a query

(query #{{:id "hello"} {:id "world"}})
;; #object[org.apache.lucene.search.BooleanQuery 0x3dd55e15 "(+id:world) (+id:hello)"]
=> org.apache.lucene.search.BooleanQuery
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close