{"action":"opened","issue":{"url":"https://api.github.com/repos/appbaseio/dejavu/issues/232","repository_url":"https://api.github.com/repos/appbaseio/dejavu","labels_url":"https://api.github.com/repos/appbaseio/dejavu/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/appbaseio/dejavu/issues/232/comments","events_url":"https://api.github.com/repos/appbaseio/dejavu/issues/232/events","html_url":"https://github.com/appbaseio/dejavu/issues/232","id":360169841,"node_id":"MDU6SXNzdWUzNjAxNjk4NDE=","number":232,"title":"Bug: Apply `has` filter on the keyword sub-field","user":{"login":"siddharthlatest","id":630042,"node_id":"MDQ6VXNlcjYzMDA0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/630042?v=4","gravatar_id":"","url":"https://api.github.com/users/siddharthlatest","html_url":"https://github.com/siddharthlatest","followers_url":"https://api.github.com/users/siddharthlatest/followers","following_url":"https://api.github.com/users/siddharthlatest/following{/other_user}","gists_url":"https://api.github.com/users/siddharthlatest/gists{/gist_id}","starred_url":"https://api.github.com/users/siddharthlatest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddharthlatest/subscriptions","organizations_url":"https://api.github.com/users/siddharthlatest/orgs","repos_url":"https://api.github.com/users/siddharthlatest/repos","events_url":"https://api.github.com/users/siddharthlatest/events{/privacy}","received_events_url":"https://api.github.com/users/siddharthlatest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T06:14:40Z","updated_at":"2018-09-14T06:14:40Z","closed_at":null,"author_association":"MEMBER","body":"#### Tell us where you are using Dejavu (Hosted web app, Chrome extension, Docker Image, Within appbase.io)\r\nLatest, everywhere (tried on web app)\r\n\r\n#### What is the version of Dejavu that you are using?\r\n2.0.5\r\n\r\n#### Describe the issue that you are seeing, or the feature request :-), include any screenshots as necessary.\r\nThe text field has a `has` filter ![](https://i.imgur.com/acEL8qu.png) which fires a `term` query on the original field. However, it should fire the `term` query on the underlying keyword or string/not_analyzed field for correct results.\r\n\r\n##### If your issue deals with accessing Elasticsearch cluster, share the necessary steps to replicate the behavior (the configuration.yml settings, where your ES cluster is hosted, any relevant logs).\r\n\r\n##### If your issue deals with a UI issue, share with us a screenshot of the failing network request or the browser console log showing the error.\r\n"}}
{"actor":{"display_login":"siddharthlatest"}}