Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort missing from MultisearchBody #1656

Closed
mrtom808 opened this issue Apr 20, 2022 · 0 comments · Fixed by #1658
Closed

Sort missing from MultisearchBody #1656

mrtom808 opened this issue Apr 20, 2022 · 0 comments · Fixed by #1658

Comments

@mrtom808
Copy link

It is not currently possible to define a sort within a multisearch body.

There may be other missing features in MultisearchBody as well. Please see elastic/elasticsearch-java#170

Index: specification/_global/msearch/types.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/specification/_global/msearch/types.ts b/specification/_global/msearch/types.ts
--- a/specification/_global/msearch/types.ts	(revision 498e050fe68606af0875a467efde5ccd3787a256)
+++ b/specification/_global/msearch/types.ts	(date 1650465606242)
@@ -27,6 +27,7 @@
 import { ResponseBody as SearchResponse } from '@global/search/SearchResponse'
 import { TrackHits } from '@global/search/_types/hits'
 import { ErrorResponseBase } from '@_types/Base'
+import { Sort } from '@_types/sort'
 
 /**
  * @codegen_names header, body
@@ -53,6 +54,7 @@
   query?: QueryContainer
   from?: integer
   size?: integer
+  sort?: Sort
   pit?: PointInTimeReference
   track_total_hits?: TrackHits
   suggest?: Suggester
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant