Querying with a keyphrase
Add a widget.items.search.query object and pass the keyphrase key in your request to show results that are relevant to a keyphrase.
For the data model of this object, see the Search and Recommendation API reference.
The following is an example request for a query with the keyphrase symposium:
The following is a sample response to the request:
In the response content array, you see content that is relevant to the symposium keyword.
Important
Requests specifying source return the following status codes:
Status code returned
Description
200
When the source is initialized or has completed an indexing run successfully. Does not require the source to index any items.
500
When the source is not initialized.
If you have suggestions for improving this article, let us know!