Query Dsl Leaf Clause
Field(s) level
where
clausematch_all
the most simplistic querycurl -XPOST 'localhost:9200/_search?pretty=true' \ -H 'content-type:application/json' \ -d '{ "query": { "match_all": {} } }'
Simple match query:
curl -XPOST 'localhost:9200/_search?pretty=true' \ -H 'content-type:application/json' \ -d '{ "query": { "match": { "streetName": "name" } } }'
Last updated
Was this helpful?