Maybe try:

/index/testLogs/_search
{
  "query": {
    "filtered": {
      "filter": {
        "has_parent": {
          "parent_type": "testProx",
          "filter": {
            "terms": {
              "category": [
                "category1",
                "category2"
              ]
            }
          }
        }
      }
    }
  }
}

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8755b41e-6fe2-4bed-8385-d59342ab7e6e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to