Skip to content

Instantly share code, notes, and snippets.

@lorenzo
Created August 17, 2012 12:23
Show Gist options
  • Save lorenzo/3378435 to your computer and use it in GitHub Desktop.
Save lorenzo/3378435 to your computer and use it in GitHub Desktop.
Mapping
{
places: {
properties: {
Place: {
properties: {
capacity: {
type: "integer"
},
categories: {
type: "string",
index: "not_analyzed"
},
cloak_room: {
type: "string"
},
country: {
type: "string",
index: "not_analyzed"
},
created: {
type: "date",
format: "yyyy-MM-dd HH:mm:ss"
},
description: {
type: "string"
},
id: {
type: "integer"
},
location: {
type: "geo_point",
lat_lon: true
},
name: {
type: "string"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment