Sha256: 8d3b90a03f614932ee7bd07e00f264e58b019f36162b32772a16ae835ba015e4

Contents?: true

Size: 519 Bytes

Versions: 5

Compression:

Stored size: 519 Bytes

Contents

// -*- 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"
        }
    }
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libcouchbase-1.4.03 ext/libcouchbase/example/fts/queries/03-match-query-with-facet.json
mt-libcouchbase-1.4.02 ext/libcouchbase/example/fts/queries/03-match-query-with-facet.json
mt-libcouchbase-1.4.01 ext/libcouchbase/example/fts/queries/03-match-query-with-facet.json
mt-libcouchbase-1.4.0 ext/libcouchbase/example/fts/queries/03-match-query-with-facet.json
libcouchbase-1.3.2 ext/libcouchbase/example/fts/queries/03-match-query-with-facet.json