-
Notifications
You must be signed in to change notification settings - Fork 171
Include filter rule returning empty list #72
Copy link
Copy link
Open
Description
Hi!
Using Harness 0.5.1 and the included UR.
I'm trying to use the include filter rule, but I keep getting an empty result. I used a $set event to set a category on two items that exist in my data as such:
{
"event" : "$set",
"entityType" : "item",
"entityId" : "exampleItem",
"properties" : {
"category": ["electronics", "mobile"],
"expireDate": "2020-10-05T21:02:49.228Z"
},
"eventTime" : "2019-12-17T21:02:49.228Z"
}
Then I ran the train command and then this query:
{
"rules": [
{
"name": "category",
"values": ["electronics"],
"bias": -1
}]
}
but got an empty list as result.
The other rules (bias = 0 and > 0) seem to be working as specified.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels