Created
May 15, 2014 03:32
-
-
Save kamsar/7b76515efca7a48f8911 to your computer and use it in GitHub Desktop.
SubcontentField registration patch
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
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<contentSearch> | |
<indexConfigurations> | |
<defaultLuceneIndexConfiguration> | |
<fields hint="raw:AddComputedIndexField"> | |
<!-- indexes subcontent contents into parent's _content field in the index (for better site search) --> | |
<field fieldName="_content" type="Foo.ContentSearch.ComputedFields.SubcontentField, Foo" /> | |
</fields> | |
</defaultLuceneIndexConfiguration> | |
</indexConfigurations> | |
</contentSearch> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment