Skip to content

Instantly share code, notes, and snippets.

View dilshancalcey's full-sized avatar

dilshancalcey

View GitHub Profile
@dilshancalcey
dilshancalcey / gist:3436362
Created August 23, 2012 12:58
omit_norms on _all field
Create Index
curl -XPUT http://localhost:9200/tester/ -d '{
"settings" : {
"number_of_shards" : 1
},
"mappings" : {
"test" : {
"properties" : {
"name" : { "type" : "string", "index" : "analyzed", "omit_norms" : true, "include_in_all" : true }