Anchor to SearchQuerySuggestionSearch
objectSearch Query Suggestion
A suggested search term returned by the
query. Query suggestions help customers refine their searches by showing
relevant terms as they type.
The text field provides the plain suggestion, while
includes HTML tags to highlight matching portions. Implements Trackable
for analytics reporting on search traffic origins.
Anchor to FieldsFields
- styledText (String!)
- text (String!)
- trackingParameters (String)
- Anchor to styledTextstyled•String!
Text non-null The text of the search query suggestion with highlighted HTML tags.
- Anchor to texttext•String!non-null
The text of the search query suggestion.
- Anchor to trackingParameterstracking•String
Parameters URL parameters to be added to a page URL to track the origin of on-site search traffic for analytics reporting. Returns a result when accessed through the search or predictiveSearch queries, otherwise returns null.
Was this section helpful?