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?
Using ElasticSearch to find trends
Asked Answered
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).
© 2022 - 2024 — McMap. All rights reserved.