Created
May 10, 2016 22:59
-
-
Save Molenx/91de4accb991ec82c181104b49767ab3 to your computer and use it in GitHub Desktop.
ES 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
{ | |
"mappings": { | |
"tomato": { | |
"_all" :{ | |
"enabled" : false | |
}, | |
"_source": { | |
"includes": [ | |
"doc.*" | |
], | |
"excludes": [ | |
"meta.*" | |
] | |
}, | |
"properties": { | |
"meta": { | |
"properties": { | |
"rev": { | |
"type": "string", | |
"index": "no" | |
}, | |
"flags": { | |
"type": "long", | |
"index": "no" | |
}, | |
"expiration": { | |
"type": "long", | |
"index": "no" | |
}, | |
"id": { | |
"type": "string", | |
"index": "no" | |
} | |
} | |
}, | |
"doc": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
}, | |
"geoCenter": { | |
"type": "geo_point", | |
"geohash": true, | |
"geohash_prefix": true, | |
"geohash_precision": 3 | |
}, | |
"tomatoShape": { | |
"type": "geo_shape", | |
"tree": "quadtree", | |
"precision": "1m" | |
}, | |
"hidden": { | |
"type": "boolean" | |
}, | |
"dateTimeCreated": { | |
"type": "date" | |
}, | |
"dateTimeModified": { | |
"type": "date" | |
}, | |
"tomatoId": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
}, | |
"manId": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
} | |
} | |
} | |
} | |
}, | |
"car": { | |
"_all" :{ | |
"enabled" : false | |
}, | |
"_source": { | |
"includes": [ | |
"doc.*" | |
], | |
"excludes": [ | |
"meta.*" | |
] | |
}, | |
"properties": { | |
"meta": { | |
"properties": { | |
"rev": { | |
"type": "string", | |
"index": "no" | |
}, | |
"flags": { | |
"type": "long", | |
"index": "no" | |
}, | |
"expiration": { | |
"type": "long", | |
"index": "no" | |
}, | |
"id": { | |
"type": "string", | |
"index": "no" | |
} | |
} | |
}, | |
"doc": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
}, | |
"dateTimeCreated": { | |
"type": "date" | |
}, | |
"dateTimeModified": { | |
"type": "date" | |
}, | |
"maxParksCount": { | |
"type": "long" | |
}, | |
"carType": { | |
"type": "integer" | |
} | |
} | |
} | |
} | |
}, | |
"man": { | |
"_all" :{ | |
"enabled" : false | |
}, | |
"_source": { | |
"includes": [ | |
"doc.*" | |
], | |
"excludes": [ | |
"meta.*" | |
] | |
}, | |
"properties": { | |
"meta": { | |
"properties": { | |
"rev": { | |
"type": "string", | |
"index": "no" | |
}, | |
"flags": { | |
"type": "long", | |
"index": "no" | |
}, | |
"expiration": { | |
"type": "long", | |
"index": "no" | |
}, | |
"id": { | |
"type": "string", | |
"index": "no" | |
} | |
} | |
}, | |
"doc": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
}, | |
"dateTimeCreated": { | |
"type": "date" | |
}, | |
"dateTimeModified": { | |
"type": "date" | |
}, | |
"profileName": { | |
"type": "string" | |
}, | |
"firstName": { | |
"type": "string" | |
}, | |
"lastName": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"email": { | |
"type": "string" | |
}, | |
"carId": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
} | |
} | |
} | |
} | |
}, | |
"park": { | |
"_all" :{ | |
"enabled" : false | |
}, | |
"_source": { | |
"includes": [ | |
"doc.*" | |
], | |
"excludes": [ | |
"meta.*" | |
] | |
}, | |
"properties": { | |
"meta": { | |
"properties": { | |
"rev": { | |
"type": "string", | |
"index": "no" | |
}, | |
"flags": { | |
"type": "long", | |
"index": "no" | |
}, | |
"expiration": { | |
"type": "long", | |
"index": "no" | |
}, | |
"id": { | |
"type": "string", | |
"index": "no" | |
} | |
} | |
}, | |
"doc": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
}, | |
"dateTimeCreated": { | |
"type": "date" | |
}, | |
"dateTimeModified": { | |
"type": "date" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"isPublic": { | |
"type": "boolean" | |
}, | |
"geoCenter": { | |
"type": "geo_point", | |
"geohash": true, | |
"geohash_prefix": true, | |
"geohash_precision": 3 | |
}, | |
"parkShape": { | |
"type": "geo_shape", | |
"tree": "quadtree", | |
"precision": "1m" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"manId": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
} | |
} | |
} | |
} | |
}, | |
"manlocation": { | |
"_all" :{ | |
"enabled" : false | |
}, | |
"_source": { | |
"includes": [ | |
"doc.*" | |
], | |
"excludes": [ | |
"meta.*" | |
] | |
}, | |
"properties": { | |
"meta": { | |
"properties": { | |
"rev": { | |
"type": "string", | |
"index": "no" | |
}, | |
"flags": { | |
"type": "long", | |
"index": "no" | |
}, | |
"expiration": { | |
"type": "long", | |
"index": "no" | |
}, | |
"id": { | |
"type": "string", | |
"index": "no" | |
} | |
} | |
}, | |
"doc": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
}, | |
"geoCenter": { | |
"type": "geo_point", | |
"geohash": true, | |
"geohash_prefix": true, | |
"geohash_precision": 3 | |
}, | |
"locationShape": { | |
"type": "geo_shape", | |
"tree": "quadtree", | |
"precision": "1m" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"manId": { | |
"type": "string", | |
"index": "not_analyzed", | |
"doc_values": false | |
}, | |
"dateTimeCreated": { | |
"type": "date" | |
}, | |
"dateTimeModified": { | |
"type": "date" | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment