GET
/
query-rewrite
/
search
Get query rewrite facets and hits
curl --request GET \
  --url https://{FUSION HOST}/api/query-rewrite/search \
  --header 'Authorization: Basic <encoded-value>'
{
  "spellcheck": {
    "suggestions": {},
    "correctlySpelled": true,
    "collations": [
      {
        "collationQuery": "<string>",
        "hits": 123,
        "misspellingsAndCorrections": {}
      }
    ]
  },
  "response": {
    "numFound": 123,
    "start": 123,
    "numFoundExact": true,
    "docs": [
      {}
    ]
  },
  "responseHeader": {
    "zkConnected": true,
    "QTime": 123,
    "totalTime": 123,
    "params": {},
    "status": 123
  },
  "facet_counts": {
    "facet_fields": {},
    "facet_queries": {},
    "facet_ranges": {},
    "facet_intervals": {},
    "facet_heatmaps": {}
  },
  "facets": {},
  "stats": {
    "stats_fields": {}
  },
  "grouped": {},
  "debug": {},
  "highlighting": {},
  "fusionResponse": {}
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

context
string
required

The app to which this object belongs, as app:SomeApp. If the app doesn't exist, the request fails. Other comma-separated contexts in the context parameter are allowed but ignored.

editSessionId
string

An edit session ID filter. Equivalent to a Fusion username.

params
object
required

Additional parameters used when executing the query.

Response

200 - */*

OK

The search response.