Querying without a keyphrase
The most basic request you can send Sitecore Search is a query without a key phrase. You only require the mandatory objects to request content.
For the data model, see the Search and Recommendation API reference.
The following code sample shows how to create a simple request:
The following is the response to the query:
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!