Closed rbjarnason closed 8 years ago
You are using both modes of data queries and the available/expire will take precedence since they work without anything in the query. First decide which one of the mode you want and remove config to the unneeded one from engne.json.
https://github.com/actionml/template-scala-parallel-universal-recommendation/tree/v0.3.0#dates
In the mode of date queries where the range is in the query as you are using--#2 in the list--you expect there to be a named property in all items that contain a date, which must be between the dates in the data range.
You must specify this as "dateName": "dateFieldName"
in engine.json as described here: https://github.com/actionml/template-scala-parallel-universal-recommendation/tree/v0.3.0#complete-parameter-set.
Thanks again @pferrel everything is works now :)
I have great recommendations coming through and fields with biases work as expected in queries, but I can't get dateRange to work. Any hints would be welcome.
Here is my query - it works fine if I skip the dateRange. I've also tried using the date as name for the dateRange but nothing works I always get 0 results back:
Here is an example from getEvents()