lib.lucene.impl.analyzer

analyzer

multimethod

added in 3.0

creates an analyzer

(analyzer {:type :standard}) => org.apache.lucene.analysis.standard.StandardAnalyzer

analyzer-char-set

added in 3.0

(analyzer-char-set stop-words)(analyzer-char-set stop-words ignore-case)

creates an analyzer char set

(analyzer-char-set []) => #{}

analyzer-field

added in 3.0

(analyzer-field {:keys [default fields]})

creates a field analyzer

(analyzer-field {:type :field :default {:type :standard :stop-words []} :fields {:time {:type :keyword}}}) => org.apache.lucene.analysis.miscellaneous.PerFieldAnalyzerWrapper

analyzer-keyword

added in 3.0

(analyzer-keyword _)

creates a keyword analyzer

(analyzer-keyword {}) => org.apache.lucene.analysis.core.KeywordAnalyzer

analyzer-standard

added in 3.0

(analyzer-standard {:keys [stop-words ignore-case]})

creates a standard analyzer

(analyzer-standard {:stop-words “and” :ignore-case false}) => org.apache.lucene.analysis.standard.StandardAnalyzer