Skip to content

Instantly share code, notes, and snippets.

@kimchy
Created July 27, 2011 04:23
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 kimchy/1108666 to your computer and use it in GitHub Desktop.
Save kimchy/1108666 to your computer and use it in GitHub Desktop.
curl -XPUT localhost:9200/test
curl -XPUT localhost:9200/test/geojson/_mapping -d '
{
"geojson": {
"properties": {
"properties": {
"type": "object",
"dynamic": "true",
"properties": {
"categories": {
"type": "string",
"index": "not_analyzed"}}}}}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment