I want to group by a certain field, take only one of each group, and then sort by this document outside the group
I used collapse to group and deduplicate, but after deduplication, it is not the first result after sorting in inner_hits
I want to group by a certain field, take only one of each group, and then sort by this document outside the group
I used collapse to group and deduplicate, but after deduplication, it is not the first result after sorting in inner_hits
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.