I am trying to select documents that contain another document in
elasticsearch grouped by id field.. I think it is more understable by
the next example:
@nik9000 sorry, I am new in using this wonderful service.. I am asking for a help from discuss audience to write a query that will output me unique documents that follow next rules:
Documents grouped by the id's
Then grouped documents should be grouped by the content of field "my_field"
So, from the example we get "doc3", which has "id":"firstid" and its field "my_field" contains doc1["my_field"] and doc2["my_field"] content..
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.