{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/26606","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26606/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26606/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26606/events","html_url":"https://github.com/elastic/elasticsearch/issues/26606","id":257099117,"number":26606,"title":"Allow using _exists_ on fields whose data is not indexed","user":{"login":"trevan","id":2044248,"avatar_url":"https://avatars2.githubusercontent.com/u/2044248?v=4","gravatar_id":"","url":"https://api.github.com/users/trevan","html_url":"https://github.com/trevan","followers_url":"https://api.github.com/users/trevan/followers","following_url":"https://api.github.com/users/trevan/following{/other_user}","gists_url":"https://api.github.com/users/trevan/gists{/gist_id}","starred_url":"https://api.github.com/users/trevan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevan/subscriptions","organizations_url":"https://api.github.com/users/trevan/orgs","repos_url":"https://api.github.com/users/trevan/repos","events_url":"https://api.github.com/users/trevan/events{/privacy}","received_events_url":"https://api.github.com/users/trevan/received_events","type":"User","site_admin":false},"labels":[{"id":141145460,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Mapping","name":":Mapping","color":"009800","default":false},{"id":111416437,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/discuss","name":"discuss","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-12T16:05:04Z","updated_at":"2017-09-15T13:04:43Z","closed_at":null,"author_association":"NONE","body":"I have indexes that have thousands of fields (especially when you include the \".raw\" or \".keyword\" version of the fields).  Most of the fields don't need to be queryable or aggregatable, but searching based on the existence of the fields is extremely useful.  As far as I can tell, none of the possible mapping options allow me to disable the indexing of the field values while still allowing me to query if the field exists.\r\n\r\nIt would be nice if I could flag these fields in the mapping so that I can use \\_exists\\_ on them while not needing to index the data."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/329776964","html_url":"https://github.com/elastic/elasticsearch/issues/26606#issuecomment-329776964","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26606","id":329776964,"user":{"login":"jpountz","id":299848,"avatar_url":"https://avatars2.githubusercontent.com/u/299848?v=4","gravatar_id":"","url":"https://api.github.com/users/jpountz","html_url":"https://github.com/jpountz","followers_url":"https://api.github.com/users/jpountz/followers","following_url":"https://api.github.com/users/jpountz/following{/other_user}","gists_url":"https://api.github.com/users/jpountz/gists{/gist_id}","starred_url":"https://api.github.com/users/jpountz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpountz/subscriptions","organizations_url":"https://api.github.com/users/jpountz/orgs","repos_url":"https://api.github.com/users/jpountz/repos","events_url":"https://api.github.com/users/jpountz/events{/privacy}","received_events_url":"https://api.github.com/users/jpountz/received_events","type":"User","site_admin":false},"created_at":"2017-09-15T13:04:43Z","updated_at":"2017-09-15T13:04:43Z","author_association":"CONTRIBUTOR","body":"> Is there a way to tell exists to use my new field?\r\n\r\nNo."}}
{"actor":{"display_login":"jpountz"}}