Created
September 17, 2015 03:11
-
-
Save sahas-/faa0d70602dc5698869e 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
POST simpleindex | |
{ | |
"mappings":{ | |
"games":{ | |
"properties":{ | |
"continents":{ | |
"type":"nested", | |
"properties":{ | |
"name":{"type":"string"}, | |
"countries":{ | |
"type":"nested", | |
"properties":{ | |
"name":{"type":"string"}, | |
"states":{ | |
"type":"nested", | |
"properties":{ | |
"name":{"type":"string"}, | |
"game":{"type":"string"}, | |
"wins":{"type":"integer"} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment