MCPcopy
hub / github.com/elastic/go-elasticsearch / WithQuery

Method WithQuery

esapi/api.count.go:352–356  ·  view source on GitHub ↗

WithQuery - query in the lucene query string syntax.

(v string)

Source from the content-addressed store, hash-verified

350
351// WithQuery - query in the lucene query string syntax.
352func (f Count) WithQuery(v string) func(*CountRequest) {
353 return func(r *CountRequest) {
354 r.Query = v
355 }
356}
357
358// WithRouting - a list of specific routing values.
359func (f Count) WithRouting(v ...string) func(*CountRequest) {

Callers 3

mainFunction · 0.45
mainFunction · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected