I currently have a dataset that features a nested datatype in products, these are all listed within different vendors. I have various queries that check for search terms within the nested products array, ideally I want to be able to combine all the inner hits so that I can sort on such things as score rankings and price. At the moment the search results come back on a per document basis. Is it possible to combine inner hits in elasticsearch so that I get just a list of all the matching products?
The reason I'm using the nested type and not child/parent mappings is because I'm currently synchronizing MongoDB with ElasticSearch and using mongo-connector as the bridge which doesn't support parent/child mappings. I've looked into alternatives such as mongoosastic but it too doesn't provide child/parent mappings :/
0 Answer(s)