Skip to content

Fix get field mapping API response #2894

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
Sep 23, 2024
Merged

Conversation

pquentin
Copy link
Member

The default value of the indexPrefixes Parameter is null, which is what gets returned with the include_defaults parameter.

I'm not sure why similarity can be null (other than seeing it in a YAML test), but I did notice that elastic/elasticsearch#58439 (shipped to 8.0) moved it so that it only applies to text, keyword and search as you type.

@pquentin pquentin changed the title Fix search response type Fix get field mapping API response Sep 23, 2024
Copy link
Member

@flobernd flobernd left a comment

Choose a reason for hiding this comment

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

LGTM!

@pquentin pquentin merged commit 795eb8d into main Sep 23, 2024
7 checks passed
@pquentin pquentin deleted the fix-field-mapping-response branch September 23, 2024 07:44
github-actions bot pushed a commit that referenced this pull request Sep 23, 2024
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