MCPcopy Create free account
hub / github.com/olivere/elastic / LowercaseExpandedTerms

Method LowercaseExpandedTerms

search_queries_query_string.go:137–140  ·  view source on GitHub ↗

LowercaseExpandedTerms indicates whether terms of wildcard, prefix, fuzzy and range queries are automatically lower-cased or not. Default is true. Deprecated: Decision is now made by the analyzer.

(lowercaseExpandedTerms bool)

Source from the content-addressed store, hash-verified

135//
136// Deprecated: Decision is now made by the analyzer.
137func (q *QueryStringQuery) LowercaseExpandedTerms(lowercaseExpandedTerms bool) *QueryStringQuery {
138 q.lowercaseExpandedTerms = &lowercaseExpandedTerms
139 return q
140}
141
142// EnablePositionIncrements indicates whether to enable position increments
143// in result query. Defaults to true.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected