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

Method Rewrite

search_queries_query_string.go:189–192  ·  view source on GitHub ↗
(rewrite string)

Source from the content-addressed store, hash-verified

187}
188
189func (q *QueryStringQuery) Rewrite(rewrite string) *QueryStringQuery {
190 q.rewrite = rewrite
191 return q
192}
193
194func (q *QueryStringQuery) MinimumShouldMatch(minimumShouldMatch string) *QueryStringQuery {
195 q.minimumShouldMatch = minimumShouldMatch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected