I created many view actions with different items and different action. view action is updated. but when I try to otherusersalsoviewed with some item, Its not returning any result.
I have item id 1 and 2 both are viewd many times by different user.
Most of the time this issue occurs because rule generation has not been triggered. For recommendations to be returned they first have to be calculated. By default this is done once per day (at 2 am server time). If you don't want to wait, you can start rule generation manually using the Admin tool. Login with your account, navigate to the "Administration" section (link on the top right) and click the "start plugin" icon next to your tenant.
If you still don't get any results it may have to do with the distribution of your user actions that just does not lead to any conclusive results.
Greetings
Stephan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Stephan for the quick response. It works now.
I couldnt find it any documentation. Its easy to use.
Just few question
about postgresql got the answer
does it support tenant specific db. multitenand multidb kind of.
Thanks Again,
Bharat
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, in the code there is no feature/configuration to have one db per tenant. You either need to have seperate easyrec instances per tenant or have to configure the database this way. I know you can use sharding in MySQL and use the tenantid as shard key. This way you could have one table per tenant, but still the same db. But I guess there is also a way to configure MySQL to route to different dbs dependeing on key. You may need Enterprise Editon for that though.
Greetings Stephan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using webapp version .98
I created many view actions with different items and different action. view action is updated. but when I try to otherusersalsoviewed with some item, Its not returning any result.
I have item id 1 and 2 both are viewd many times by different user.
http://localhost:8983/easyrec-web/api/1.0/otherusersalsoviewed?apikey=e14e657ad4a3a6de6316a63951c0d43d&tenantid=easytest&itemid=2
above url should return item id 1 in the recommendation item tag. but not getting anything in the result. Is there anything missing.
I posted same question here
http://stackoverflow.com/questions/30010995/easryrec-other-users-also-viewed-action-not-working
Thanks,
Bharat
Hi Bharat!
Most of the time this issue occurs because rule generation has not been triggered. For recommendations to be returned they first have to be calculated. By default this is done once per day (at 2 am server time). If you don't want to wait, you can start rule generation manually using the Admin tool. Login with your account, navigate to the "Administration" section (link on the top right) and click the "start plugin" icon next to your tenant.
If you still don't get any results it may have to do with the distribution of your user actions that just does not lead to any conclusive results.
Greetings
Stephan
Thanks Stephan for the quick response. It works now.
I couldnt find it any documentation. Its easy to use.
Just few question
about postgresql got the answer
does it support tenant specific db. multitenand multidb kind of.
Thanks Again,
Bharat
Sorry, in the code there is no feature/configuration to have one db per tenant. You either need to have seperate easyrec instances per tenant or have to configure the database this way. I know you can use sharding in MySQL and use the tenantid as shard key. This way you could have one table per tenant, but still the same db. But I guess there is also a way to configure MySQL to route to different dbs dependeing on key. You may need Enterprise Editon for that though.
Greetings Stephan