Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using ElasticSearch to find trends

I have implemented elastic search for my search and have a good feeling it could easily be leveraged for finding trends , but its a the tip of my tongue how one would start to go about such a thing. Can anyone point me in the right direction or give me some keywords to look into further that might make this possible?

like image 288
ChuckKelly Avatar asked Aug 20 '14 05:08

ChuckKelly


1 Answers

Depending on what you want to do exactly, it might be usefull to have a look at the Aggregations in Elasticsearch?

If you e.g. combine the Significant Terms Aggregation with a query for a given time frame, you will get back the terms, which are common in the given time frame, but rather unusual for the rest of the dataset (basically the trends in your dataset).

like image 166
m.stockerl Avatar answered Oct 15 '22 10:10

m.stockerl