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

Method NestedPath

sort.go:554–557  ·  view source on GitHub ↗

NestedPath is used if sorting occurs on a field that is inside a nested object.

(nestedPath string)

Source from the content-addressed store, hash-verified

552// NestedPath is used if sorting occurs on a field that is inside a
553// nested object.
554func (s *ScriptSort) NestedPath(nestedPath string) *ScriptSort {
555 s.nestedPath = &nestedPath
556 return s
557}
558
559// NestedSort is available starting with 6.1 and will replace NestedFilter
560// and NestedPath.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected