Skip to content

Instantly share code, notes, and snippets.

@RitterHou
Created May 16, 2020 04:22
Show Gist options
  • Save RitterHou/0f007bc1b2ec621b897ba9d94ea2802d to your computer and use it in GitHub Desktop.
Save RitterHou/0f007bc1b2ec621b897ba9d94ea2802d to your computer and use it in GitHub Desktop.
{
"acct-trades-bills": {
"mappings": {
"_default_": {
"dynamic_templates": [
{
"string_fields": {
"mapping": {
"index": "not_analyzed",
"type": "string",
"fields": {
"analyzed": {
"index": "analyzed",
"type": "string"
}
}
},
"match": "*",
"match_mapping_type": "string"
}
},
{
"long_fields": {
"mapping": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"match": "*",
"match_mapping_type": "long"
}
},
{
"double_fields": {
"mapping": {
"type": "double",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"match": "*",
"match_mapping_type": "double"
}
}
],
"properties": {}
},
"bills": {
"dynamic_templates": [
{
"string_fields": {
"mapping": {
"index": "not_analyzed",
"type": "string",
"fields": {
"analyzed": {
"index": "analyzed",
"type": "string"
}
}
},
"match": "*",
"match_mapping_type": "string"
}
},
{
"long_fields": {
"mapping": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"match": "*",
"match_mapping_type": "long"
}
},
{
"double_fields": {
"mapping": {
"type": "double",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"match": "*",
"match_mapping_type": "double"
}
}
],
"properties": {
"_update_time": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"acctBalanceId": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"acctId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"actualDealStoreId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"actualDealStoreName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"actualMarketStoreId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"adminAcctId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"balance": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"balanceTypeId": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"balanceTypeName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"bossUserId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"busiTypeId": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"busiTypeName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"cascade": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"companyName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"createdTime": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"createdTimeStr": {
"type": "date",
"format": "dateOptionalTime"
},
"domainName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"domainType": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"fundsDesc": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"fundsId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"fundsName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"inOutType": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"incomeAmount": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"nickName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"optUser": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"optUserName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"orderNo": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"outOrderNo": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"payoutAmount": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"realUserId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"tradeTypeId": {
"type": "long",
"fields": {
"double": {
"type": "double"
},
"long": {
"type": "long"
}
}
},
"userId": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
},
"userName": {
"type": "string",
"index": "not_analyzed",
"fields": {
"analyzed": {
"type": "string"
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment