Posts

Showing posts from July, 2019

Sitecore Computed index and custom fields added only for custom index in multi Azure index Environment

We have a requirement to create custom azure index with some computed fields, so I have created the custom index( site_master_index ) and added the computed fields, but this sitecore instance is a multi-site, so adding computed field should only needs to be added to my newly created index instead of adding to all the indexes. Steps followed to create this index and computed field in Azure. Add a patch file for creating computed fields and that will be only added to our newly created index. Create the patch by inheriting from  contentSearch/indexConfigurations/ defaultCloudIndexConfiguration i n the newly created patch file. <?xml version="1.0"?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">             <sitecore>                         <contentSearch>                                     <indexConfigurations>                                                 <customSit