Skip to main content

Using the Search and Recommendation API

Abstract

Provides examples of common requests to help you get started using the Search and Recommendation API for Sitecore Search.

The Search and Recommendation API for Sitecore Search has many objects and keys you can use to create user experiences. The following examples focus on one object each, but you can combine different objects to create the use case you need. For example, you can combine the query and facet objects to create a search experience where a user sees search results for a key phrase and can use facets to narrow down results.

You can refer to the Search and Recommendation API reference for descriptions of objects and keys, and a detailed view of the data model.

Note

In addition to the objects for the specific use case described, all examples contain mandatory parameters for the Search and Recommendation API.