I have a field whose type is set to Rich text in Sitecore. On lower environments, the values get indexed correctly and HTML text is stored in Solr correctly.
On Production, for all items the HTML gets stripped off completely.
UPDATE: One difference is that in lower environments, we have Solr on Prem and on Production, it is Solr cloud
UPDATE: I have checked the CM and CD servers and all have the field reader for the Body Copy field
UPDATE: This is now happening for all items. Earlier, possibly the other items weren't updated and published and so they showed the HTML correctly?
What could the issue be?
It is only happening on Production
I have validated the config is as expected. The field is Body Copy
<fieldReaders type="Sitecore.ContentSearch.FieldReaders.FieldReaderMap, Sitecore.ContentSearch"> <param desc="id">defaultFieldReaderMap</param> <mapFieldByTypeName hint="raw:AddFieldReaderByFieldTypeName"> <fieldReader fieldTypeName="html|rich text" fieldReaderType="Sitecore.ContentSearch.FieldReaders.RichTextFieldReader, Sitecore.ContentSearch" /> </mapFieldByTypeName> <mapFieldByFieldName hint="raw:AddFieldReaderByFieldName"> <fieldReader fieldName="Body Copy" fieldReaderType="Sitecore.ContentSearch.FieldReaders.DefaultFieldReader, Sitecore.ContentSearch" /> </mapFieldByFieldName> </fieldReaders>It is now happening for all the content
- I have resolved the HTML errors in the fields that reported HTML errors but that didn't fix it either.