问题是针对UR 模板的
当我有这样存储的项目时:
{
"event" : "$set",
"entityType" : "item",
"entityId" : "ipad",
"properties" : {
"category": ["123", "1145"]
"expireDate": "2016-10-05T21:02:49.228Z",
"type" : "article",
"group" : "sport",
},
"eventTime" : "2015-10-05T21:02:49.228Z"
}
如何仅过滤具有type="article"
和的预测group="sport"
?
此查询不起作用:
{
“user”: “xyz”,
“fields”: [
{
“name”: “type”
“values”: [“article”],
“bias”: -1 // filter out all except ‘article’
},{
“name”: “group”,
“values”: [“sport”]
“bias”: -1 // filter out all except ‘sport’
}
]
}