Monday, July 5, 2021

Sitecore 10 - Solr field mapping - A quick view of AddDocument, AddRange, AddTypeMatch

 Recently, We got a few issue after applying the SCS fix patch and it stopped working a few filters, Usually for any filter we have identify the field name from the Solr.

Example - Filter


 How do we find the field exact name?


How the field mapping work, Sitecore has a pipelin 
Sitecore.ContentSearch.SolrProvider.SolrFieldMap

Configuration name  - Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config


This is happening while adding the document example as below


Here are the exact method for AddTypeMatch


Hope that will help to others to understand how Sitecore is adding the field name during the document add, It's supported out of the box in Solr after version 6.6 because of the managed schema, 



No comments:

Post a Comment