GET /api/0.2/search/?format=api&fulltext=Portland%2C+Oregon
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "total": 0,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 0,
    "prev_api": "",
    "next_api": "",
    "objects": [],
    "query": {
        "aggs": {
            "topics": {
                "aggs": {
                    "topics_ids": {
                        "terms": {
                            "field": "topics.id",
                            "size": 1000
                        }
                    }
                },
                "nested": {
                    "path": "topics"
                }
            },
            "genre": {
                "terms": {
                    "field": "genre"
                }
            },
            "rights": {
                "terms": {
                    "field": "rights"
                }
            },
            "facility": {
                "aggs": {
                    "facility_ids": {
                        "terms": {
                            "field": "facility.id",
                            "size": 1000
                        }
                    }
                },
                "nested": {
                    "path": "facility"
                }
            },
            "format": {
                "terms": {
                    "field": "format"
                }
            }
        },
        "query": {
            "bool": {
                "filter": [
                    {
                        "term": {
                            "format": "api"
                        }
                    }
                ],
                "must": [
                    {
                        "query_string": {
                            "query": "Portland, Oregon",
                            "fields": [
                                "id",
                                "model",
                                "links_html",
                                "links_json",
                                "links_img",
                                "links_thumb",
                                "links_children",
                                "status",
                                "public",
                                "title",
                                "description",
                                "contributor",
                                "creators",
                                "facility",
                                "format",
                                "genre",
                                "geography",
                                "label",
                                "language",
                                "location",
                                "persons",
                                "rights",
                                "topics",
                                "image_url",
                                "display_name",
                                "bio"
                            ],
                            "analyze_wildcard": false,
                            "default_operator": "AND",
                            "allow_leading_wildcard": false
                        }
                    }
                ]
            }
        },
        "_source": [
            "id",
            "model",
            "links_html",
            "links_json",
            "links_img",
            "links_thumb",
            "links_children",
            "status",
            "public",
            "title",
            "description",
            "contributor",
            "creators",
            "facility",
            "format",
            "genre",
            "geography",
            "label",
            "language",
            "location",
            "persons",
            "rights",
            "topics",
            "image_url",
            "display_name",
            "bio"
        ]
    }
}