mobz / elasticsearch-head

A web front end for an elastic search cluster
http://mobz.github.io/elasticsearch-head/
Other
9.41k stars 2.02k forks source link

Fix the search query when the bool query is type missing #441

Closed quangdutran closed 4 years ago

quangdutran commented 4 years ago

Currently, no matter what is the bool queries (must/must not/should) when using operation missing, the query is always generated with operation exists in the must not querry:

image

This PR fixes that

philipskokoh commented 4 years ago

Thank you very much for identifying this issue!

Could you follow this guide for your submitted PR? https://github.com/mobz/elasticsearch-head#contributing

_Changes to both _site and src directories must be committed, to allow people to run elasticsearch-head without running dev tools and follow existing dev patterns, such as indenting with tabs._

_site is the build output, please make the changes in src, then grunt build will update the _site codes.

quangdutran commented 4 years ago

I have changed the src and grunt build again, if anything in the PR needs correction, let me know. Thank Philips!

philipskokoh commented 4 years ago

Thanks!