-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Is your feature request related to a problem? Please describe.
I would like the ability to optimize my requests to Elastic using the Multiple Get functionality, but the current syntax returns all documents in a single list of TDocument responses.
Describe the solution you'd like
I would like the Multiple Get syntax to allow each individual get operation in the aggregate request to identify a specific TDocument type to retrieve and deserialize the found document into.
Describe alternatives you've considered
It might be possible to make a request for some generic shared type, but it would require a very robust deserialization strategy?
Additional context
I believe there are open issues for an equivalent issue in the multiple search functionality? Not as pressing, but it would be interesting to have the ability to Index documents of different documents of different types in the same request as well?