Liking cljdoc? Tell your friends :D

lucene.custom.query-parser


createclj

(create)
(create query-parser-name)
(create query-parser-name conf)
(create query-parser-name conf field-name)
(create query-parser-name conf field-name analyzer)

Constructs an Object that can be used for later query parsing. Defaults to the classic query parser. Params:

Constructs an Object that can be used for later query parsing.
Defaults to the classic query parser.
Params:
- query-parser-name: Lucene query parser id, one of #{:classic :complex-phrase :surround :simple :standard}, default: :classic
- conf: a map with query parser configuration
- field-name: default field for terms query, defaults ""
- analyzer: Lucene analyzer to apply on query terms, defaults StandardAnalyzer
https://javadoc.io/doc/org.apache.lucene/lucene-queryparser/latest/index.html
sourceraw docstring

default-configclj

(default-config query-parser-name)

Given the query parser key, returns a hashmap with the default options for that query parser.

Given the query parser key, returns a hashmap with the default options for that query parser.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close