Our application (Sitecore 9.0.2 SXA 1.8) is currently running on Azure PaaS with Azure Search as Search service
Recently we ran into this problem of master index exceeding 1000 field Limit
we understand that there are 2 options to solve this
- set
IndexAllFields
to false and include only relevant fields or templates to the index - Add Unwanted fields to Sitecore.ContentSearch.Azure.Index.{Web/Master}.ExcludeFields.config
My question is what is ideal way to patch these changes and deploy them on Azure PaaS
should we copy all the contents of Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config and Sitecore.ContentSearch.Azure.Index.{Web/Master}.ExcludeFields.config and add it in our source control repository and deploy onto the PaaS environment
or
Is there a Way to patch only included fields/templates instead of replacing the entire file ?