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
indexType="string"
? Try to change your field parameters to<field type="System.String" fieldName="vehiclename" returnType="string" storageType="YES" indexType="TOKENIZED">
, rebuild index and check in solr browser if your field values are stored in lower case.