es根据字段长度过滤_Es 根据数组长度查询
數(shù)據(jù)結(jié)構(gòu)如下:例如搜索?materials.length<3 的所有數(shù)據(jù){"_index":?"hv-advertisement-ol",
"_type":?"advertisement",
"_id":?"3914898cba827c9e914b45388a71e235104686001",
"_version":?1,
"_score":?1,
"_source":?{
"adFormallyType":?null,
"adFormallyTypes":?null,
"adFoundCount":?2,
"adFoundDays":?1,
"adTimeEnd":?1537435234356,
"adTimeStart":?1537434168000,
"add":?false,
"appId":?null,
"appName":?null,
"bizer":?"e中信",
"createTime":?1537435163958,
"days":?[
1537435234356
],
"description":?null,
"exposureUrl":?null,
"fluxId":?"2000",
"fluxIds":?[
"2000"
,
"2001"
],
"fluxName":?"今日頭條",
"hideApp":?null,
"iconId":?null,
"iconUrl":?null,
"id":?"3914898cba827c9e914b45388a71e235104686001",
"industry":?null,
"key":?"104686001",
"locationUrl":?"https://creditcard.ecitic.com/ ... ot%3B,
"locationUrlEncrypted":?"129ee4b03c4bed5343a5bcb0be42cf29",
"materialCount":?1,
"materials":?[
{
"coverId":?null,
"coverUrl":?null,
"createTime":?null,
"exposureUrl":?null,
"groupId":?null,
"height":?"1786",
"id":?"205604837",
"link":?"https://image-c-dev.weimobwmc. ... ot%3B,
"linkOriginal":?"https://file.adbug.cn/m/image/ ... ot%3B,
"linkOriginalEncrypted":?null,
"materialType":?11,
"mediaId":?"205604837",
"ocrTxt":?null,
"size":?"298061",
"updateTime":?null,
"width":?"1242"
}
],
"promoteType":?null,
"realFluxName":?"今日頭條",
"sourcePlatform":?6,
"sourcePlatformName":?"www.adbug.cn",
"sourcePlatformNameStatic":?"www.adbug.cn",
"title":?"出差還能這么輕松?",
"updateTime":?1537435234356
}}
總結(jié)
以上是生活随笔為你收集整理的es根据字段长度过滤_Es 根据数组长度查询的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 用VC写Assembly代码(5) --
- 下一篇: 这是我自己的方法