-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get dateRange to work #8
Comments
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 |
Thanks again @pferrel everything is works now :) |
Fix lingering SparkContext issue, by not implementing PersistentModel…
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()
The text was updated successfully, but these errors were encountered: