Last active
August 29, 2015 14:23
-
-
Save impy88/d0cb92888a63cedc6a23 to your computer and use it in GitHub Desktop.
Rule type mapping for ES 1.6
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
{ | |
"rule":{ | |
"properties":{ | |
"doc": { | |
"properties":{ | |
"region":{ | |
"type":"geo_shape", | |
"store":true | |
}, | |
"rules":{ | |
"type":"nested", | |
"store":true, | |
"properties":{ | |
"activeTimes":{ | |
"store":true, | |
"properties":{ | |
"startDay":{ | |
"store":true, | |
"type":"integer" | |
}, | |
"endDay":{ | |
"store":true, | |
"type":"integer" | |
}, | |
"startTime":{ | |
"store":true, | |
"type":"date", | |
"format":"HH:mm" | |
}, | |
"endTime":{ | |
"store":true, | |
"type":"date", | |
"format":"HH:mm" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment