Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 287 Bytes

specifying-the-result-format.md

File metadata and controls

23 lines (19 loc) · 287 Bytes

Specifying the result format

Returning results as YAML

GET /recipes/_search?format=yaml
{
    "query": {
      "match": { "title": "pasta" }
    }
}

Returning pretty JSON

GET /recipes/_search?pretty
{
    "query": {
      "match": { "title": "pasta" }
    }
}