Skip to content

Multiple Get Requests for Documents of Different Unrelated Types #8489

@InsperDylan390

Description

@InsperDylan390

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions