Skip to content

Change TermVectorsRequest.fields from Fields to Field[] #5084

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

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

flobernd
Copy link
Member

@flobernd flobernd commented Aug 6, 2025

TermVectorsRequest.fields always expects an array.

Related to elastic/elasticsearch-net#8641

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR changes the type of the fields property in TermVectorsRequest from Fields to Field[] to better reflect that it expects an array of fields rather than a more generic Fields type.

  • Updates the fields property type definition to use Field[] instead of Fields

Copy link
Contributor

github-actions bot commented Aug 6, 2025

Following you can find the validation changes against the target branch for the APIs.

No changes detected.

You can validate these APIs yourself by using the make validate target.

@flobernd flobernd merged commit 5a5da4a into main Aug 6, 2025
16 checks passed
@flobernd flobernd deleted the termvectors-fields branch August 6, 2025 17:05
github-actions bot pushed a commit that referenced this pull request Aug 6, 2025
github-actions bot pushed a commit that referenced this pull request Aug 6, 2025
github-actions bot pushed a commit that referenced this pull request Aug 6, 2025
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.

2 participants