Skip to content

Instantly share code, notes, and snippets.

Created May 17, 2012 13:46
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/2719028 to your computer and use it in GitHub Desktop.
Save anonymous/2719028 to your computer and use it in GitHub Desktop.
mapping file
{
"product" : {
"_source" : { "enabled" : false },
"properties" : {
"pid" : {
"type" : "string",
"store" : "yes",
"index" : "not_analyzed"
},
"rid" : {
"type" : "string",
"store" : "yes",
"index" : "not_analyzed"
},
"pgrp" : {
"type" : "string",
"store" : "yes",
"index" : "not_analyzed"
},
"descl" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.0
},
"descs" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.3
},
"n" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.5
},
"nhash" : {
"type" : "string",
"store" : "no",
"index" : "not_analyzed"
},
"auth" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.0
},
"isbn" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.0
},
"mm" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 0.5
},
"mn" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.3
},
"mpn" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.0
},
"kw" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.5
},
"cat" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.5
},
"sz" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.0
},
"c" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.0
},
"retnm" : {
"type" : "string",
"store" : "no",
"index" : "analyzed",
"boost" : 1.5
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment