Created
September 30, 2019 03:10
-
-
Save danielef/e806f236381123d1277a6eaff4297963 to your computer and use it in GitHub Desktop.
Elastic / Add field mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XPUT -H 'Content-Type: application/json' http://localhost:9201/foo/_mapping -d ' | |
{ | |
"properties": { | |
"position":{"type":"geo_point"} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment