Skip to content

Instantly share code, notes, and snippets.

/ES Mapping Secret

Created December 3, 2014 14:02
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/0de244ae57db2c08e5fe to your computer and use it in GitHub Desktop.
Save anonymous/0de244ae57db2c08e5fe to your computer and use it in GitHub Desktop.
{
"myrecords": {
"mappings": {
"eachrecord": {
"properties": {
"calibrationOne": {
"type": "long"
},
"calibrationTwo": {
"type": "long"
},
"employeeId": {
"type": "long"
},
"paidAmountThree": {
"type": "double"
},
"calibrationFour": {
"type": "long"
},
"store": {
"type": "string",
"index": "not_analyzed"
},
"in": {
"type": "long"
},
"lat": {
"type": "double"
},
"long": {
"type": "double"
},
"month": {
"type": "long"
},
"paidAmount": {
"type": "double"
},
"paidAmountOne": {
"type": "double"
},
"product": {
"type": "string",
"index": "not_analyzed"
},
"quarter": {
"type": "long"
},
"rType": {
"type": "string",
"index": "not_analyzed"
},
"calibrationThree": {
"type": "long"
},
"type": {
"type": "string",
"index": "not_analyzed"
},
"paidAmountTwo": {
"type": "double"
},
"year": {
"type": "long"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment