Upgrade elasticsearch from 1.3.2 to 2.x


(Juan Munoz) #1

Hi
When I run the migration tool, I get some warnings, I have fix the biggest issues.
But I need some assistants:

  • The fst and compressed fielddata formats are no longer supported and will be ignored
    Here is the mapping:
    "Location": {
    "fielddata": {
    "precision": "1m",
    "format": "compressed"
    },
    "type": "geo_point"
    }

What is the new setting on a 2.x version?

Please help!
Juan


(David Pilato) #2

Try with

"Location": {
   "type": "geo_point"
}

(Juan Munoz) #3

ok, so there is no more setting to geo_point? like precision?


(David Pilato) #4

No. Read https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html


(Juan Munoz) #5

Thanks @dadoonet


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.