Elasticsearch input has_child inner_hits


(Yoram Kornatzky) #1

Using a query with has_child, the Elastic Search input plugin, does not produce inner_hits.
The same query in Elastic Search 1.5 works fine.
The query looks like:

       {


                  "query": {

                      "bool": {
                           "should": [
                             {
                               "has_child": {
                                 "type": "A",
                                 "query": {
                                   "match_all": {}
                                 },
                                 "inner_hits": {}
                               }
                             },
                             {
                               "has_child": {
                                 "type": "B",
                                 "query": {
                                   "match_all": {}
                                 },
                                 "inner_hits": {}
                               }
                             }
                           ]
                      }

                  }
  }

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.