Skip to content

Instantly share code, notes, and snippets.

Created June 21, 2013 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/30498f6aaa823f8b5ae1 to your computer and use it in GitHub Desktop.
Save anonymous/30498f6aaa823f8b5ae1 to your computer and use it in GitHub Desktop.
{
8: {
properties: {
admin_level: {
type: "string",
include_in_all: false
},
admin_level_text: {
type: "string",
include_in_all: false
},
admin_level_text_en: {
type: "string",
include_in_all: false
},
country: {
type: "multi_field",
fields: {
country: {
type: "string",
include_in_all: true
},
untouched: {
type: "string",
index: "not_analyzed",
omit_norms: true,
index_options: "docs",
include_in_all: false
}
}
},
location: {
type: "geo_shape"
},
location_box: {
type: "geo_shape"
},
location_center: {
type: "geo_point"
},
location_kml: {
type: "string",
include_in_all: false
},
name: {
type: "multi_field",
fields: {
name: {
type: "string",
include_in_all: true
},
untouched: {
type: "string",
index: "not_analyzed",
omit_norms: true,
index_options: "docs",
include_in_all: false
}
}
},
osm_id: {
type: "multi_field",
fields: {
osm_id: {
type: "string",
include_in_all: true
},
untouched: {
type: "string",
index: "not_analyzed",
omit_norms: true,
index_options: "docs",
include_in_all: false
}
}
},
url_pathsegment: {
type: "multi_field",
fields: {
url_pathsegment: {
type: "string",
include_in_all: true
},
untouched: {
type: "string",
index: "not_analyzed",
omit_norms: true,
index_options: "docs",
include_in_all: false
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment