Skip to content

Instantly share code, notes, and snippets.

@shairontoledo
Created June 21, 2012 10:48
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 shairontoledo/9b5dd371bbf0715393ad to your computer and use it in GitHub Desktop.
Save shairontoledo/9b5dd371bbf0715393ad to your computer and use it in GitHub Desktop.
{
"settings": {
"index": {
"number_of_shards": 200
},
"mappings": {
"prod": {
"document": {
"_routing": {
"required": true,
"path": "account_id"
},
"_source": {
"enabled": false
},
"properties": {
"account_id": {
"type": "long",
"store": "yes"
},
"content": {
"type": "string",
"store": "yes",
"term_vector": "with_positions_offsets",
"include_in_all": false
},
"type": {
"type": "string",
"store": "yes",
"omit_term_freq_and_positions": true
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment