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

Method QueryName

search_queries_simple_query_string.go:79–82  ·  view source on GitHub ↗

QueryName sets the query name for the filter that can be used when searching for matched_filters per hit.

(queryName string)

Source from the content-addressed store, hash-verified

77// QueryName sets the query name for the filter that can be used when
78// searching for matched_filters per hit.
79func (q *SimpleQueryStringQuery) QueryName(queryName string) *SimpleQueryStringQuery {
80 q.queryName = queryName
81 return q
82}
83
84// Analyzer specifies the analyzer to use for the query.
85func (q *SimpleQueryStringQuery) Analyzer(analyzer string) *SimpleQueryStringQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected