Wednesday 18 November 2015

Elasticsearch: match_all query

‘match_all’ query matches all documents.

{
         "match_all" : { }
}


GET /_search
{
  "query":{
    "match_all" : { }
  }

}



Prevoius                                                 Next                                                 Home

No comments:

Post a Comment