Last active
August 29, 2015 14:22
-
-
Save Wesley-Lomax/1c07af497066e98311b7 to your computer and use it in GitHub Desktop.
Create Field to Fix Solr Exact String Matching
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/"> | |
<sitecore> | |
<contentSearch> | |
<indexConfigurations> | |
<defaultSolrIndexConfiguration> | |
<fieldMap> | |
<fieldNames> | |
<field fieldName="some field name" returnType="string" patch:after = "field[@fieldName='title']" /> | |
</fieldNames> | |
</fieldMap> | |
</defaultSolrIndexConfiguration> | |
</indexConfigurations> | |
</contentSearch> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Relates to this - http://www.cmsbestpractices.com/bug-how-to-fix-solr-exact-string-matching-with-sitecore/
Must be field type string for exact match