Introduction to Sitecore Search JS SDK for React
Sitecore Search offers entity-based searches by indexing searchable content and storing the indexes as entities. Entities are distinct, search-indexable object types with unique structures that represent different categories of content.
Search experiences
The following describes a user's typical search experience and interaction with widget components in your application:
-
Submitting a keyphrase to search content.
-
Viewing search results.
-
Using UI controls to trigger another search to sort, filter results, narrow or broaden results.
-
Clicking on a content item to view, download, or bookmark among other conversion actions.
To personalize search results, visitor and webpage information is added to data requests. Only the entities meeting the search criteria defined are returned.
With a variety of tools and controls, content strategists configure widgets in the Customer Engagement Console (CEC). Widgets are configurations of search experiences. Developers can create widget components or UI elements to fetch data for display in an application.
The CEC also contains the configuration for your domain, including authentication, entities, attributes, sources, and features. We recommend that you familiarize yourself with the console. You may need to access various settings from the console during integration.
Search JS SDK for React package
Content managers and developers work together to offer personalized search experiences to their website visitors. The following diagram shows their distinct concerns when using the JS SDK for React package to develop the front end.
![Developer and content strategist/manager concerns when creating search experiences.](/_next/image?url=https%3A%2F%2Fresources.doc.sitecore.com%2Fassets%2Fimage%2Fuuid-8e5ddfcf-27bc-785b-58ae-b980ad5caff3.png&w=3840&q=75)
With the JS SDK, you can quickly integrate search experiences into your React applications. You can install them in your project and at compile time, the SDK is integrated into your React browser application.
You can avail of various tools and resources when using the JS SDK to support your development effort. They include a command line interface (CLI) to instantiate ready to theme widget components, an open source starter kit website, and documentation.