Welcome back to getting to know Sitecore search. In this post, we’ll look at the default setup and configuration of a new instance of Sitecore Search. We’ll look at the default source, catalog, pages, and widgets. After we’ll get familiar with a few sections of the admin portal. We’ll play with the api explorer to start imagining how the search would work on our site.
Sitecore handles setting up your access to the Search admin portal along with your main source. Click on Administration/Sources to view your source configuration. From this page, you can manage all of the settings for your source including crawler settings, document extractors, scan frequency and more.
You can view the source of the Perficient.com homepage and match the html to the tagger.
We have both meta description and og:description. In this case, the meta description takes precedence (which doesn’t so much matter in this case since they have the same content). We do not have a meta searchtitle tag, so the title tag will be used instead.
XM Cloud Roadmap Guide
XM Cloud is the future of enterprise content management offerings. The new sites, pages, and components tools offer an efficient content author experience that is not available with other CMS systems.
Your source has likely already been crawled and indexed by the time you log into your admin portal for the first time. Click Catalog/Content to view your indexed documents. You can use the Content Browser within the catalog to quickly validate a url is indexed.
You can click on each document to view the attributes, click stats, and performance. Notice each document gets a unique id. This id is not the same as the item’s id in Sitecore.
The default setup has one page with a default variation and uses the default search landing page widget.
This page maps to a page on your website where you will eventually integrate Sitecore Search. In the default setup, this maps to /search.
The default setup has two widgets. One for Search Results landing page. One for Preview Search autocomplete/predictive search suggestions.
Without modifying anything from the default setup, we can use the api explorer to start imagining what our search results page could look like. Click Developer Resources/Api Explorer to interact with the Sitecore Search API.
Use the first column to configure your settings. Select a page, which will fill in the uri and widget. Limit and offset are optional and will be used for paging the results. Expand the query section to add a keyword. We don’t have any facets or sort options yet, so we’ll ignore those for now. Click the build button at the top of the column to build the api request. We’ll use this request data to interact with the api when we build our UI. Click the run button at the top of the column to see the api response. You’ll see the results based on the default settings and the items currently in your catalog.
In this example, I entered healthcare as my keyword. All of my results are related to healthcare as you would expect.
In the next post, we’ll look at managing users, the available roles, and the role permissions.
Follow me on linkedin to get notifications as new articles are posted.