The date ranges are meant for examples and are used in the integration test but 
will block all your recommendations if you don’t use them. Start from 
engine.json.minimum instead. I’ll change this to be more clear in the next 
release. Specifically:

    "availableDateName": "available",
    "expireDateName": "expires",
    "dateName": "date”,

will cause trouble if you don’t set values to correspond in the query or item 
properties. Don’t use them until you need to.


On Feb 13, 2017, at 10:04 AM, Andrea Santurbano <[email protected]> wrote:

Hi Pat,
following my engine.json:
https://gist.github.com/conker84/11a76a1644aaffeaa286c70c6038c3c8 
<https://gist.github.com/conker84/11a76a1644aaffeaa286c70c6038c3c8>
Thanks
Andrea

Il giorno lun 13 feb 2017 alle ore 17:34 Pat Ferrel <[email protected] 
<mailto:[email protected]>> ha scritto:
Then the config is wrong so send engine.json. Did you leave the date ranges and 
other example config in the engine?


On Feb 13, 2017, at 12:34 AM, Andrea Santurbano <[email protected] 
<mailto:[email protected]>> wrote:

Hi Pat!
Thanks for the quick response, the problem is that i get an empty response even 
if i made a simple empty query like "{}"... :(



Il giorno dom 12 feb 2017 alle ore 21:00 Pat Ferrel <[email protected] 
<mailto:[email protected]>> ha scritto:
The model looks ok. It looks like you have “purchase” as the conversion event 
and “categories” properties for items. 

Since the popularity is being calculated you can only get a blank result if you 
have supplied a filter in the query (that disallows everything) or there is 
some other config problem. I bet you are specifying a category filter that is 
ruling out everything in some way.

Can you supply a sample query JSON?

 
On Feb 12, 2017, at 10:56 AM, Andrea Santurbano <[email protected] 
<mailto:[email protected]>> wrote:

Hi community,
i'm testing the UR but i'm facing some problem; after the deploy of the 
algorithm if i try some simple queries, like the most popular items for 
instance, the result is always empty.
I tried to debug the model like explained in this page:
http://actionml.com/docs/ur_elasticsearch_debugging 
<http://actionml.com/docs/ur_elasticsearch_debugging>
but i can't figure out where is the problem.
At this url a sample of the model:
https://gist.github.com/conker84/39734a8a6a5d9564449439b838ab8ab7 
<https://gist.github.com/conker84/39734a8a6a5d9564449439b838ab8ab7>
Thanks for the help!
Andrea



Reply via email to