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

[BUG] Add _size to PutMappingRequest #1229

Open
atoms42 opened this issue Oct 15, 2024 · 0 comments
Open

[BUG] Add _size to PutMappingRequest #1229

atoms42 opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@atoms42
Copy link

atoms42 commented Oct 15, 2024

What is the bug?

The _size field is not present on PutMappingRequest, despite being present on TypeMapping.

This prevents enabling size tracking for existing indices.

How can one reproduce the bug?

See https://github.com/opensearch-project/opensearch-java/blob/main/java-client/src/main/java/org/opensearch/client/opensearch/indices/PutMappingRequest.java

What is the expected behavior?

_size (or SizeField as the Java classes call it) is present on PutMappingRequest

Do you have any additional context?

  • This field is available on the dotnet version of the client
  • It would be nice if PutMappingRequest used the same TypeMapping object used for index creation.
@atoms42 atoms42 added bug Something isn't working untriaged labels Oct 15, 2024
@Xtansia Xtansia removed the untriaged label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants