I have the query below which will provide me with the latest error for a certain location. However I have multiple locations and I would like to pull the latest error for each location (without having to put in a whole list of locations) with only one query. What would the best way to do that?
Answers: Which fields of the document with the highest timestamp should be in the response?
under "_source" are defined the fields which should be shown in the hits _source field
and under "docvalue_fields" are defined the fields which should be shown under a "fields" field in the hit
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.