I showed them that we do have analytics based on the queries, but to specifically shown the top trending post with most likes, should that be done from the front end side? Correct me if I'm wrong or we able to capture analytics also based on top view post?
You can create your own index and collect analytics from the frontend side, sending an event to be stored on an Elasticsearch index, and then query that index using aggregations to summarize statistics and include them into your App Search index. That way you can use App Search sorting and filtering to satisfy your requirement.
Hi @Carlos_D , so to clarify on this, based on my understanding, I can display the trending post by implementing Elastic Behavioral Analytics to collect the user behavior from the front end side? Correct me if I'm wrong, thank you.
Collect user behaviour using Behavioral Analytics from the front end
Merge the retrieved information from analytics into your posts Engine, so posts have additional information on the number of views, etc. This can be done as a scheduled job
Use the new information included in the Engine to do sorting.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.