parent child - Elasticsearch has_child query/filter in Kibana 4 -


I'm unable to get a has_child query (or filter) to work in Kibana 4 My code works as a curl script directly in flexible shades, but not in Kibana 4, yet I understood that this was a major feature of the upgrade. Can anybody shed light?

In the form of curl script works in elastic search as follows, all parents return, where they have hair:

  curl -XPOST localhost: Port / indexname / _search? Pretty -d '{"query": {"has_child": {"type": "object", "query": {"match_all": {}}}}}'  

Run up fine After that, to convert to JSON query to submit to Kibana, I have followed the normal formatting rules: I have left the curl line and added the index name (and sometimes empty filter [], but not so Make much difference); No error has been thrown, but the entire dataset returns <">" index ":" index "," query ": {" has_child ": {" type ":" object "," query ": {" match_all ": {}}}}

Am I missing something?

Many thanks in advance

Toby


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -