{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/17537","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17537/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17537/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17537/events","html_url":"https://github.com/elastic/elasticsearch/issues/17537","id":145978723,"number":17537,"title":"Invalid shift value (xx) in prefixCoded bytes (is encoded value really a geo point?)","user":{"login":"jaksmid","id":3618465,"avatar_url":"https://avatars.githubusercontent.com/u/3618465?v=3","gravatar_id":"","url":"https://api.github.com/users/jaksmid","html_url":"https://github.com/jaksmid","followers_url":"https://api.github.com/users/jaksmid/followers","following_url":"https://api.github.com/users/jaksmid/following{/other_user}","gists_url":"https://api.github.com/users/jaksmid/gists{/gist_id}","starred_url":"https://api.github.com/users/jaksmid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaksmid/subscriptions","organizations_url":"https://api.github.com/users/jaksmid/orgs","repos_url":"https://api.github.com/users/jaksmid/repos","events_url":"https://api.github.com/users/jaksmid/events{/privacy}","received_events_url":"https://api.github.com/users/jaksmid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Highlighting","name":":Highlighting","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/bug","name":"bug","color":"9e2c2c"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.3.3","name":"v2.3.3","color":"dddddd"}],"state":"closed","locked":false,"assignee":{"login":"brwe","id":4320215,"avatar_url":"https://avatars.githubusercontent.com/u/4320215?v=3","gravatar_id":"","url":"https://api.github.com/users/brwe","html_url":"https://github.com/brwe","followers_url":"https://api.github.com/users/brwe/followers","following_url":"https://api.github.com/users/brwe/following{/other_user}","gists_url":"https://api.github.com/users/brwe/gists{/gist_id}","starred_url":"https://api.github.com/users/brwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brwe/subscriptions","organizations_url":"https://api.github.com/users/brwe/orgs","repos_url":"https://api.github.com/users/brwe/repos","events_url":"https://api.github.com/users/brwe/events{/privacy}","received_events_url":"https://api.github.com/users/brwe/received_events","type":"User","site_admin":false},"milestone":null,"comments":31,"created_at":"2016-04-05T12:52:21Z","updated_at":"2016-05-25T09:35:59Z","closed_at":"2016-05-25T09:35:59Z","body":"Hi guys,\r\n\r\nwe have upgraded ElasticSearch from 2.3.0 and reindexed our geolocations so the latitude and longitude are stored separately. We have noticed that some of our visualisation started to fail after we add a filter based on geolocation rectangle. However, map visualisation are working just fine. The problem occurs when we include actual documents. In this case, we get some failed shards (usually 1 out of 5) and error: Invalid shift value (xx) in prefixCoded bytes (is encoded value really a geo point?).\r\n\r\nDetails:\r\nOur geolocation index is based on:\r\n\r\n    \"dynamic_templates\": [{\r\n    ....\r\n    {\r\n            \"ner_geo\": {\r\n              \"mapping\": {\r\n                \"type\": \"geo_point\",\r\n                \"lat_lon\": true\r\n              },\r\n              \"path_match\": \"*.coordinates\"\r\n            }\r\n          }],\r\n\r\nThe ok query with the error is as follows. If we change the query size to 0 (map visualizations example), the query completes without problem.\r\n\r\n    {\r\n      \"size\": 100,\r\n      \"aggs\": {\r\n        \"2\": {\r\n          \"geohash_grid\": {\r\n            \"field\": \"authors.affiliation.coordinates\",\r\n            \"precision\": 2\r\n          }\r\n        }\r\n      },\r\n      \"query\": {\r\n        \"filtered\": {\r\n          \"query\": {\r\n            \"query_string\": {\r\n              \"analyze_wildcard\": true,\r\n              \"query\": \"*\"\r\n            }\r\n          },\r\n          \"filter\": {\r\n            \"bool\": {\r\n              \"must\": [\r\n                {\r\n                  \"geo_bounding_box\": {\r\n                    \"authors.affiliation.coordinates\": {\r\n                      \"top_left\": {\r\n                        \"lat\": 61.10078883158897,\r\n                        \"lon\": -170.15625\r\n                      },\r\n                      \"bottom_right\": {\r\n                        \"lat\": -64.92354174306496,\r\n                        \"lon\": 118.47656249999999\r\n                      }\r\n                    }\r\n                  }\r\n                }\r\n              ],\r\n              \"must_not\": []\r\n            }\r\n          }\r\n        }\r\n      },\r\n      \"highlight\": {\r\n        \"pre_tags\": [\r\n          \"@kibana-highlighted-field@\"\r\n        ],\r\n        \"post_tags\": [\r\n          \"@/kibana-highlighted-field@\"\r\n        ],\r\n        \"fields\": {\r\n          \"*\": {}\r\n        },\r\n        \"require_field_match\": false,\r\n        \"fragment_size\": 2147483647\r\n      }\r\n    }\r\n\r\n\r\nElasticsearch version**: 2.3.0\r\nOS version**: Elasticsearch docker image with head plugin, marvel and big desk installed\r\n\r\nThank you for your help,\r\nregards,\r\nJakub Smid"}}
{"actor":{"display_login":"brwe"}}