I have multiple term values that are for the customer field. I would like to set up a Watcher to alert me when ANY of our customers have a document count less than a certain amount. I currently have one dedicated watcher for each customervalue, but it would be nice to have one for everything. Is there a good way to do this?
instead of a watch per customer, you could go with a terms aggregation. However bear in mind that counts are not accurate and this might be especially true for the data you are after.
Can you maybe explain your use-case a bit more? how many customers? what kind of minimum value? That might help to find the proper setup.
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.