TransWikia.com

LowerCaseKeywordAnalyzer does not work

Sitecore Asked by Vivek Venugopalan on August 23, 2021

We have overriden the default mapping by adding:

<indexConfigurations>
 <defaultSolrIndexConfiguration type="Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider">
    <fieldMap type="Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider">
        <fieldNames hint="raw:AddFieldByFieldName">
              <field fieldName="vehiclename" returnType="string" indexType="string">
                <analyzer type="Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider" />
              </field>
            </fieldNames>
       </fieldMap>
 </defaultSolrIndexConfiguration>
</indexConfigurations>

However, while querying on this field, it is case sensitive.
Kindly help

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP