Hi! Just want to gather some insights and recommendations for my current project. What's the best way to implement this? It's analytics of the most viewed and searched data. Do you have some ideas?
Thanks!
To categorize the jobs in most searched and most viewed, you will need to persist per job if it was searched or viewed. So you can add a Searched and Viewed attribute to the Job entity of type Integer. Then on each job shown after a search you can increase the Searched parameter with one, and for each job Viewed you increase the Viewed parameter with one.
Then you can use these attributes in the two aggregates ans sort descending on Searched attribute and Viewed attribute respectively.
Hi, May be you can have a look to this OS widget . Inside the gallery content placeholder you can add List and use content Card widgets as well for the look and feel. Hope this helps!
Yes, I used that I'm pertaining to the process/implementation of getting the most viewed/searched jobs. Anyways thanks for the insight :).
I think it's a good idea, will try it out! Thanks!
Inside the entity structure add 2 attributes NoOfViews and NoOfSearchesFor the logic of number of view when ever clicks on the details of the job the NoOfJobs increases by one.For the searches if Someone searches the entire name exactly same, fetch the aggregrate with same input and inside the NoOfSearches increase the value by one.
Now for the display part you need to sort first time using searches and second time using views
Thanks Shlok Agrawal