Skip to content

[BUG] High Level REST client does not respect routing filter in mtermvectors #19194

@axiak

Description

@axiak

Describe the bug

The serialization code for TermVectorsRequest does not look at the routing instance field. This means that for indexes which require the routing field, the requests fail.

Related component

Clients

To Reproduce

  1. Write a call to mtermvectors or mtermvectorsAsync
  2. Include a routing field in those requests

Expected behavior

I'd expect routing to be respected.

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientsClients within the Core repository such as High level Rest client and low level clientbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions