Heroku says I am running elasticsearch version 2.2.0 but I think they are wrong and here is why...
Locally on 2.2.0, my mappings include the payloads: true
option as defined here - and they work just fine. However, on heroku I get empty responses. If I remove this option and construct the mapping in accordance with the "2.x" docs then it works on heroku but responses are empty locally. What does 2.x mean exactly? How can I find the real version running on heroku?
Thank you.
Found-ElasticSearch:
{
"name": "instance-x",
"cluster_name": "x",
"version": {
"number": "2.2.0",
"build_hash": "1b182b4497d4bba7602085ebd2e59a8a555ad368",
"build_timestamp": "2016-01-14T13:42:27Z",
"build_snapshot": true,
"lucene_version": "5.4.0"
},
"tagline": "You Know, for Search"
}
Local:
{
"name": "Power Princess",
"cluster_name": "elasticsearch_brew",
"version": {
"number": "2.2.0",
"build_hash": "8ff36d139e16f8720f2947ef62c8167a888992fe",
"build_timestamp": "2016-01-27T13:32:39Z",
"build_snapshot": false,
"lucene_version": "5.4.1"
},
"tagline": "You Know, for Search"
}
I notice lucene and build_snapshot are different. The lucene version only has bugfixes that are nothing to do with payloads. So what is the build_snapshot and could that be affecting it?