Posts

Showing posts with the label Search

Apply Taxonomy on Search Component in Sitecore Content Hub

Image
In the Previous blog post, we have seen how we can create and taxonomy and connect it to the M.Asset definition. Please see the blog post for more information: Sitecore Content Hub Taxonomy and Categorization In this blog post, I will explain how to apply this taxonomy on the Search Component and use it as a facet search on the Asset Page.  Step 1: Click on the manage icon, top right corner Step 2: Navigate to the Pages Step 3: In the left panel, click on the Asset page and choose the Search component from the Right panel Step 4: Go to the Facet tabs and click on the "+" icon and add taxonomy as a new facet type: Step 5: Navigate to the Asset details page from the top navigation bar, and in the left panel, you can see the new Taxonomy added as search facets, and you can see that currently, I have tagged only Assets with the Science taxonomy: You can now filter assets based on the selected taxonomy values. Happy Sitecoreing  😊

Sitecore Content Hub Taxonomy and Categorization

Image
Sitecore Content Hub provides Taxonomy and Option list features to classify the data; both have their use case to choose the appropriate approach. At a high level  Use Taxonomy when the data contains more than 50 items. Use Taxonomy if you want to apply a security rule based on the values, as the option list does not support it. See the documentation for more information:  Choosing between taxonomies and option lists In this blog post, I will explain to you how we can create a Taxonomy, classify the data, and use the same taxonomy for search purposes.  Create a Taxonomy: Step 1: Click on the manage icon, top right corner Step 2: Navigate to the Taxonomy Step 3: Create a new Taxonomy called POC.Educational and fill in the values in the following fields. I am allowing manual sorting as it lets you manually sort taxonomy items. Step 4: It will create and open the Taxonomy management page and the Education taxonomy....

SOLR Search Result Order Different due to the _val_:__boost function

Image
After upgrading the project to Sitecore version 10.2 , the SOLR search result is different in order due to the query _val_:__boost function . I have investigated the issue and found out that in Sitecore 9.0.2 our SOLR search query was: ..........AND (-_template:("083a4d2a38694013a9e2d18c05da70ae") *:*)) and in Sitecore 10.2 SOLR search query is: ..........AND (-_template:("083a4d2a38694013a9e2d18c05da70ae") *:*)) AND _val_:__boost There is one more extra condition at last in the query i.e. AND _val_:__boost. I have gone through the Sitecore documents on Search Result Boosting and found that  In Sitecore XP 10.0.0 or later, item-level boosting relies on index-time scoring factors that are indexed in the __boost field and combined with the query score using the query _val_:__boost function. After doing lots of brainstorming I raised a support ticket to the Sitecore and find the below solution: Solution: Sitecore suggested ...

Sitecore SwitchOnRebuild Feature With SolrCloud

Image
While rebuilding the index on your Sitecore CMS you may face scenarios where indexing data not populating in website search functionality, search stopped working, or slowdown. After completion of indexing again search functionality returns the results. Here Sitecore introduces the very nice concept of SwitchOnRebuild. To understand it assume you have two cores for your Sitecore index active and passive. It means when you rebuild the Active index Sitecore will return the result using the Passive index and after rebuilding Sitecore will switch the Active index to serve the results. It’s a concept of switching of Sitecore index during the rebuild of the particular index to avoid downtime and search unavailability. Recently when I was working on one migration project, when I deployed an application on the Azure Paas environment. I faced a similar type of issue while rebuilding the index it was throwing me the below error: Job started: Index_Update_IndexNa...