Skip to content

Instantly share code, notes, and snippets.

@s1monw
Created April 25, 2014 18:51
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 s1monw/11299421 to your computer and use it in GitHub Desktop.
Save s1monw/11299421 to your computer and use it in GitHub Desktop.
mixed_tv_mapping
{
"mapname":{
"_all":{
"enabled":true
},
"properties":{
"importantInfo":{
"properties":{
"uselessField1":{
"type":"boolean",
"index":"no"
},
"uselessField2":{
"type":"long",
"index":"no"
},
"toBeSearched1":{
"type":"string",
"analyzer":"de_analyzer"
},
"toBeSearched2":{
"type":"string",
"analyzer":"de_analyzer"
},
"importantId":{
"type":"string",
"index":"not_analyzed"
},
"importantField":{
"type":"string",
"index":"not_analyzed"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment