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

Generate IndexSettings types #1295

Merged

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Nov 14, 2024

Description

Generate IndexSettings types

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Xtansia Xtansia marked this pull request as draft November 14, 2024 21:49
@Xtansia Xtansia force-pushed the feat/code-gen/index-settings branch 3 times, most recently from cf638b1 to 5d66ac5 Compare November 22, 2024 01:36
Signed-off-by: Thomas Farr <[email protected]>
@Xtansia Xtansia force-pushed the feat/code-gen/index-settings branch from 5d66ac5 to c3f2fa5 Compare November 22, 2024 01:40
@Xtansia Xtansia marked this pull request as ready for review November 22, 2024 03:07
@Xtansia
Copy link
Collaborator Author

Xtansia commented Nov 26, 2024

@reta @dblock Could you please review this PR when you have time?

- `totalFields` is now of type `IndexSettingsMappingLimitTotalFields`.

### IndexSettings
- The `creationDate` property is now of type `Long` instead of `String`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an opportunity to evolve those to a strong DateTime?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have made an issue to address this in future: #1331

@Xtansia Xtansia merged commit bd171fb into opensearch-project:main Nov 26, 2024
56 of 57 checks passed
@Xtansia Xtansia deleted the feat/code-gen/index-settings branch November 26, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants