You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm trying to migrate our code from NEST to the new client. Unable to migrate the MultiSearchAsync using descriptors. The method accepts type MultiSearchRequestDescriptor, also I found the type MultisearchBodyDescriptor that I can use to build a search request. But seems like there is no way to use MultisearchBodyDescriptor at all.
The MultiSearchRequestDescriptor.AddSearch accepts SearchRequestItem and there is no option to provide the MultisearchBodyDescriptor anyhow.
Describe the solution you'd like
Add method to MultiSearchRequestDescriptor.AddSearch that accepts MultisearchBodyDescriptor parameter
Describe alternatives you've considered
Would be also great if we can to cast SearchRequestDescriptor to MultisearchBodyDescriptor
The text was updated successfully, but these errors were encountered:
Improving usability of the multisearch endpoint is definitely on my list. The initializer based approach works for now, but I agree it might be useful to support descriptors here as well:
Is your feature request related to a problem? Please describe.
I'm trying to migrate our code from NEST to the new client. Unable to migrate the
MultiSearchAsync
using descriptors. The method accepts typeMultiSearchRequestDescriptor
, also I found the typeMultisearchBodyDescriptor
that I can use to build a search request. But seems like there is no way to useMultisearchBodyDescriptor
at all.The
MultiSearchRequestDescriptor.AddSearch
acceptsSearchRequestItem
and there is no option to provide theMultisearchBodyDescriptor
anyhow.Describe the solution you'd like
Add method to
MultiSearchRequestDescriptor.AddSearch
that acceptsMultisearchBodyDescriptor
parameterDescribe alternatives you've considered
Would be also great if we can to cast
SearchRequestDescriptor
toMultisearchBodyDescriptor
The text was updated successfully, but these errors were encountered: