How to pass JSON request body data to Elasticsearch query for search opeartion?

Initially I do by iterate the JSON object get the key and value out, do concatenation with dot between keys and then pass to the matchquery.

Could you give us an example of your query please?

I'm hoping you've read the manual:

Or if you want to load a file, say from the command line:
$ curl -XPOST 'http://jfblouvmlxecs01:9200/test/_doc/1' -d @lane.json

Check this out:

p.s. Google is your friend :wink:

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