This update requires you to make changes to the following files:
- /App_Config/FieldTypes.config
- /App_Config/Include/Sitecore.Buckets.config
- /App_Config/Include/Sitecore.ContentSearch.config
Depending on search provider you should also update appropriate files below:
- Sitecore solution configured to use Lucene:
- /App_Config/Include/Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
- Sitecore solution configured to use Solr:
- /App_Config/Include/Sitecore.ContentSearch.Solr.Indexes.config
The clean configuration files for Sitecore CMS and DMS 7.0 rev. 130918 can be downloaded using the following links:
- FieldTypes.config
- Sitecore.Buckets.config
- Sitecore.ContentSearch.config
- Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
-
Sitecore.ContentSearch.Solr.Indexes.config
Changes to the
FieldTypes.config
The following changes have been made to the FieldTypes.config file of Sitecore CMS 7.0 rev. 130918 (Update-2) as compared to the FieldTypes.config file of Sitecore CMS 7.0 rev. 130810 (Update-1):
- In the <configuration> section, add the following nodes:
<fieldType name="Multilist with Search" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" resizable="true" />
<fieldType name="Treelist with Search" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" />
<fieldType name="General Link with Search" type="Sitecore.Data.Fields.LinkField,Sitecore.Kernel" />
Changes to the Sitecore.Buckets.config
The following changes have been made to the Sitecore.Buckets.config file of Sitecore CMS 7.0 rev. 130918 (Update-2) as compared to the Sitecore.Buckets.config file of Sitecore CMS 7.0 rev. 130810 (Update-1):
- In the <events> section replace the description of the item:added with to following description:
<!-- Uncomment the below item:added event if you want Sitecore to automatically create item buckets when the number of children under an item gets too many. -->
- Remove the following events from the <events> section: <!-- Event hook before rebuilding an index starts. -->
<event name="index:start:rebuild"/>
<!-- Event hook after rebuilding an index finishes. -->
<event name="index:end:rebuild"/>
<!--Event hook before remotely rebuilding an index starts. -->
<event name="index:start:rebuild:remote"/>
<!-- Event hook after remotely rebuilding an index finishes. -->
<event name="index:end:rebuild:remote"/> - Replace the following nodes in the <accessRights><rights> section:
<add name="bucket:makebucket" comment="Create Bucket" title="Create Bucket" type="Sitecore.Buckets.Security.BucketAccessRight, Sitecore.Buckets" />with:
<add name="bucket:unmake" comment="Revert Bucket" title="Revert Bucket" type="Sitecore.Buckets.Security.BucketAccessRight, Sitecore.Buckets" /><add patch:before="add[@name='*']" name="bucket:makebucket" comment="Create Bucket" title="Create Bucket" type="Sitecore.Buckets.Security.BucketAccessRight, Sitecore.Buckets" />
<add patch:before="add[@name='*']" name="bucket:unmake" comment="Revert Bucket" title="Revert Bucket" type="Sitecore.Buckets.Security.BucketAccessRight, Sitecore.Buckets" /> - Remove the following node from the <commands> section:
<command name="bucket:copyresultstoidlist" type="Sitecore.Buckets.Search.SearchOperations.CopyToIDList, Sitecore.Buckets"/>
- Add the following node to the <commands> section:
<command name="item:pastefromclipboard">
<patch:attribute name="type">Sitecore.Buckets.Commands.PasteFromClipboardBuckets, Sitecore.Buckets</patch:attribute>
</command> - Add the following node to the <pipelines> section:
<renderField>
<processor patch:after="processor[@type='Sitecore.Pipelines.RenderField.GetLinkFieldValue, Sitecore.Kernel']" type="Sitecore.Buckets.Pipelines.RenderField.GetLinkFieldValue, Sitecore.Buckets"/>
</renderField> - Replace the following node in the <processors><uiMoveItems> section:
<processor mode="on" patch:before="*[@method='Execute']" type="Sitecore.Buckets.Pipelines.UI.ItemMove, Sitecore.Buckets" method="Execute"/>with:<processor mode="on" patch:instead="*[@method='Execute' and @type='Sitecore.Shell.Framework.Pipelines.MoveItems,Sitecore.Kernel']" type="Sitecore.Buckets.Pipelines.UI.ItemMove, Sitecore.Buckets" method="Execute"/>
Changes to the Sitecore.ContentSearch.config
The following changes have been made to the Sitecore.ContentSearch.config file of Sitecore CMS 7.0 rev. 130918 (Update-2) as compared to the Sitecore.ContentSearch.config of Sitecore CMS 7.0 rev. 130810 (Update-1)
Replace the following node in the <events> section:
<handler type="Sitecore.ContentSearch.Maintenance.IndexDependentHtmlCacheManager, Sitecore.ContentSearch" method="Clear" />
</event>
Changes to the Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
The following changes have been made to the Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config file of Sitecore CMS 7.0 rev. 130918 (Update-2) as compared to the Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config of Sitecore CMS 7.0 rev. 130810 (Update-1)
Replace the following node in the <Sitecore><contentSearch><configuration><defaultConfiguration> section:
type="Sitecore.ContentSearch.LuceneProvider.Converters.LuceneIndexFieldStorageValueFormatter, Sitecore.ContentSearch.LuceneProvider" />
type="Sitecore.ContentSearch.LuceneProvider.Converters.LuceneIndexFieldStorageValueFormatter, Sitecore.ContentSearch.LuceneProvider">
<converters hint="raw:AddConverter">
<converter handlesType="System.Guid"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldGuidValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.ID, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldIDValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.ShortID, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldShortIDValueConverter, Sitecore.ContentSearch" />
<converter handlesType="System.Boolean"
typeConverter="Sitecore.ContentSearch.LuceneProvider.Converters.IndexFieldBooleanValueConverter, Sitecore.ContentSearch.LuceneProvider" />
<converter handlesType="System.DateTime"
typeConverter="Sitecore.ContentSearch.LuceneProvider.Converters.IndexFieldDateTimeValueConverter, Sitecore.ContentSearch.LuceneProvider" />
<converter handlesType="System.DateTimeOffset"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldDateTimeOffsetValueConverter, Sitecore.ContentSearch" />
<converter handlesType="System.TimeSpan"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldTimeSpanValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.ContentSearch.SitecoreItemId, Sitecore.ContentSearch"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldSitecoreItemIDValueConvertor, Sitecore.ContentSearch">
<param type="Sitecore.ContentSearch.Converters.IndexFieldIDValueConverter, Sitecore.ContentSearch"/>
</converter>
<converter handlesType="Sitecore.ContentSearch.SitecoreItemUniqueId, Sitecore.ContentSearch"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldSitecoreItemUniqueIDValueConverter, Sitecore.ContentSearch">
<param type="Sitecore.ContentSearch.Converters.IndexFieldItemUriValueConverter, Sitecore.ContentSearch"/>
</converter>
<converter handlesType="Sitecore.Data.ItemUri, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldItemUriValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Globalization.Language, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldLanguageValueConverter, Sitecore.ContentSearch" />
<converter handlesType="System.Globalization.CultureInfo"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldCultureInfoValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.Version, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldVersionValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.Database, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldDatabaseValueConverter, Sitecore.ContentSearch" />
</converters>
</indexFieldStorageValueFormatter>
Changes to the Sitecore.ContentSearch.Solr.Indexes.config file
The following changes have been made to the Sitecore.ContentSearch.Solr.Indexes.config file of Sitecore CMS 7.0 rev. 130918 (Update-2) as compared to the Sitecore.ContentSearch.Solr.Indexes.config of Sitecore CMS 7.0 rev. 130810 (Update-1):
Replace the following node in the <Sitecore><contentSearch><configuration><DefaultIndexConfiguration> section:
type="Sitecore.ContentSearch.SolrProvider.Converters.SolrIndexFieldStorageValueFormatter, Sitecore.ContentSearch.SolrProvider" />
type="Sitecore.ContentSearch.SolrProvider.Converters.SolrIndexFieldStorageValueFormatter, Sitecore.ContentSearch.SolrProvider">
<converters hint="raw:AddConverter">
<converter handlesType="System.Guid"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldGuidValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.ID, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldIDValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.ShortID, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldShortIDValueConverter, Sitecore.ContentSearch" />
<converter handlesType="System.DateTime"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldDateTimeValueConverter, Sitecore.ContentSearch" />
<converter handlesType="System.DateTimeOffset"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldDateTimeOffsetValueConverter, Sitecore.ContentSearch" />
<converter handlesType="System.TimeSpan"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldTimeSpanValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.ContentSearch.SitecoreItemId, Sitecore.ContentSearch"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldSitecoreItemIDValueConvertor, Sitecore.ContentSearch">
<param type="Sitecore.ContentSearch.Converters.IndexFieldIDValueConverter, Sitecore.ContentSearch"/>
</converter>
<converter handlesType="Sitecore.ContentSearch.SitecoreItemUniqueId, Sitecore.ContentSearch"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldSitecoreItemUniqueIDValueConverter, Sitecore.ContentSearch">
<param type="Sitecore.ContentSearch.Converters.IndexFieldItemUriValueConverter, Sitecore.ContentSearch"/>
</converter>
<converter handlesType="Sitecore.Data.ItemUri, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldItemUriValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Globalization.Language, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldLanguageValueConverter, Sitecore.ContentSearch" />
<converter handlesType="System.Globalization.CultureInfo"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldCultureInfoValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.Version, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldVersionValueConverter, Sitecore.ContentSearch" />
<converter handlesType="Sitecore.Data.Database, Sitecore.Kernel"
typeConverter="Sitecore.ContentSearch.Converters.IndexFieldDatabaseValueConverter, Sitecore.ContentSearch" />
</converters>
</IndexFieldStorageValueFormatter>