I've realized that since Sitecore 10.1 the Solr "_indexname" field is a "lowercase" instead of a "string" as it used to be.

Is it possible to override its type in lower Sitecore versions implementations using some index configuration in Sitecore instead of in Solr? I can't change its schema file.

I'd like to have something like this on my Index definition:

<fieldMap ref="contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap">
  <fieldNames hint="raw:AddFieldByFieldName">
    <field type="System.String" fieldName="_indexname" returnType="lowercase"/>

Any help would be appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.