// -*- mode: js; -*-
// Match Query with Facet, showing how query-results can be displayed either by row or by hits; and demonstrating use of a facet, which provides aggregation-data.
{
    "indexName": "travel-sample-index-stored",
    "highlight": {
        "style": "html"
    },
    "size": 10,
    "query": {
        "field": "reviews.content",
        "match": "La Rue Saint Denis!!"
    },
    "facets": {
        "Countries Referenced": {
            "size": 5,
            "field": "country"
        }
    }
}
