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

Method Query

search_queries_script_score.go:33–36  ·  view source on GitHub ↗

Query to be used in the ScriptScoreQuery.

(query Query)

Source from the content-addressed store, hash-verified

31
32// Query to be used in the ScriptScoreQuery.
33func (q *ScriptScoreQuery) Query(query Query) *ScriptScoreQuery {
34 q.query = query
35 return q
36}
37
38// Script to calculate the score.
39func (q *ScriptScoreQuery) Script(script *Script) *ScriptScoreQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected