Created
March 9, 2019 18:55
-
-
Save antunesleo/8f2f90536e5b5b730c9c03ca7395bfa4 to your computer and use it in GitHub Desktop.
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
PUT user_location | |
{ | |
"mappings": { | |
"_doc": { | |
"properties": { | |
"name": { | |
"type" : "text" | |
}, | |
"location": { | |
"type": "geo_point" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment