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

Method NestedSort

sort.go:561–564  ·  view source on GitHub ↗

NestedSort is available starting with 6.1 and will replace NestedFilter and NestedPath.

(nestedSort *NestedSort)

Source from the content-addressed store, hash-verified

559// NestedSort is available starting with 6.1 and will replace NestedFilter
560// and NestedPath.
561func (s *ScriptSort) NestedSort(nestedSort *NestedSort) *ScriptSort {
562 s.nestedSort = nestedSort
563 return s
564}
565
566// Source returns the JSON-serializable data.
567func (s *ScriptSort) Source() (interface{}, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected