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

Method QueryName

search_queries_query_string.go:222–225  ·  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

220// QueryName sets the query name for the filter that can be used when
221// searching for matched_filters per hit.
222func (q *QueryStringQuery) QueryName(queryName string) *QueryStringQuery {
223 q.queryName = queryName
224 return q
225}
226
227// Locale specifies the locale to be used for string conversions.
228//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected