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

Fail queries on not indexed fields. #18014

Merged
merged 2 commits into from Apr 28, 2016

Conversation

Projects
None yet
2 participants
@jpountz
Copy link
Contributor

commented Apr 27, 2016

While returning no hits on fields that are not mapped may be fine, it is not
for fields that are mapped but not indexed (index:false). We should fail the
query in that case rather than returning no hits.

@rjernst

This comment has been minimized.

Copy link
Member

commented Apr 27, 2016

LGTM

jpountz added some commits Apr 27, 2016

Fail queries on not indexed fields.
While returning no hits on fields that are not mapped may be fine, it is not
for fields that are mapped but not indexed (`index:false`). We should fail the
query in that case rather than returning no hits.

@jpountz jpountz force-pushed the jpountz:fix/search_non_indexed_fields branch to de43bda Apr 28, 2016

@jpountz jpountz merged commit de43bda into elastic:master Apr 28, 2016

1 check passed

CLA Commit author is a member of Elasticsearch
Details

@jpountz jpountz deleted the jpountz:fix/search_non_indexed_fields branch Apr 28, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.