Skip to content

Instantly share code, notes, and snippets.

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