Skip to content
Unravel Sitecore!

Unravel Sitecore!

Follow me to re-invent and master Sitecore

  • Home
  • About Me
  • Follow Me
Posted on April 29, 2023 by Deepthi K

Bump up Index game on Sitecore Search

If you have not read my first two posts on Sitecore search, please start there. This is third blog on Sitecore search series as we learn how to embrace this new product on Sitecore Content Cloud stack. You can check them out below:

Getting Started with Sitecore Search
Getting started with Sitecore Search
Configure Sitecore Search Crawler
All about the crawler

Now, the next step is to ensure you have good meta data on your Index. Metadata is the super important to ensure the relevancy works as you expect it to. Index with out proper metadata is like pasta with no sauce. Haha

Lets get right in to it. In Sitecore search, metadata can be added to Index in various ways. You can see more on documentation

https://doc.sitecore.com/search/en/developers/search-developer-guide/extracting-attribute-values-with-an-advanced-web-crawler.html

As you can see, there are couple ways of how you can achieve this. We picked JS extractor for our needs. But, do note that before we implemented our extractor on console, there are couple things to be done. First, we ensured all the attributes that are needed to power the search are available on HTML of the page rendered by Sitecore. A simple exercise of gathering what facets, display data and relevance fields are needed for your search experience should really help get this right the first time you attempt to.

We made a simple table such as below to get our team stream lined on steps we got to do.

Next step is to create attributes needed in Domain Settings. This is needed for next steps to come.

Attributes once added would look like this.
Make sure Use For Features on each attribute is configured properly

Now, we are ready to add Document extractor. Couple screenshots below.

Access Document extractor from Crawler Settings on your Advanced Crawler
Click on content tag to edit/add JS code as needed to extract properties

Now, all you have to do is re-index on the source, if you are a rock star coder as our primary developer for Sitecore Search (https://www.linkedin.com/in/inaki-manosalvas/ ) then you will see all the new properties the search experience would need on your index.

Open an item on your Catalog -> Content section of Search Console to verify after re-index operation

That is it!! You now have all that you need on your index. Can keep moving!!

Next up, we will see some more things you can achieve from your console to boost, add rules and more.

CategoriesSearch, sitecore Tagsattributes, configuration, console, domain settings, metadata, Sitecore Search

Post navigation

Previous PostPrevious Configure Sitecore Search Crawler
Next PostNext Innovating with Chat GPT and Sitecore: A Modern Remix

Recent Posts

  • Exploring Sitecore Connect
  • Configure Data System for Chat GPT connection
  • Deliver Personalized Experiences
  • Custom Events to CDP
  • Innovating with Chat GPT and Sitecore: A Modern Remix

Recent Comments

  • Deepthi on Gather Content & Sitecore
  • Kamruz Jaman on Allowed Controls Issue Fortis Dynamic Placeholders
  • Shilpy on Best Practices for any Sitecore Project
  • Anonymous on Debugging CD issues – No matching constructor was found
  • Sandeep S on Multi line Field With Embed code Experience Editor Issues

Archives

  • November 2023
  • October 2023
  • April 2023
  • March 2023
  • September 2022
  • October 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • November 2020
  • October 2020
  • July 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • July 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tweets by DipSindol

Proudly powered by WordPress