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

Change empty search response from null to [] #111

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented Sep 23, 2019

So far if the filter on the /search endpoint returned no results, it returned null. To still have an array type, it should return [] instead. This changes the behaviour.

So far if the filter on the `/search` endpoint returned no results, it returned `null`. To still have an array type, it should return `[]` instead. This changes the behaviour.
@ruflin ruflin merged commit 2c78994 into elastic:master Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants