Description

Field Name Required? Rules Description

@datatype

False

must be "GSearchResult" if present

@version

False

must be "2017-09-01" if present

gmeta

True

Array of GMetaResult documents

The results of a search query

facet_result

False

Array of GFacetResult documents

Facet counts for all facets requested on the search request

offset

True

Integer

The offset provided on the input search request

count

True

Integer

The number of results returned; i.e. the size of the gmeta array. May be 0

total

True

Integer

The total number of matches for the search. May be 0 if no matches are found

Examples

Example 1
{
  "@datatype": "GSearchResult",
  "@version": "2017-09-01",
  "count": 1,
  "offset": 0,
  "total": 1,
  "gmeta": [
    {
      "content": [
        {
          "alpha": {
            "beta": "gamma"
          }
        }
      ],
      "@datatype": "GMetaResult",
      "@version": "2017-09-01",
      "subject": "http://example.com"
    }
  ]
}

© 2010- The University of Chicago Legal