From 500e407c8d4f169a0ef21a0e40dcb77b4d36ed3c Mon Sep 17 00:00:00 2001 From: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> Date: Fri, 1 Mar 2024 11:56:19 +0530 Subject: [PATCH] Make Recreate Index Default as true (#15413) --- .../main/resources/json/data/app/SearchIndexingApplication.json | 2 +- .../appMarketPlaceDefinition/SearchIndexingApplication.json | 2 +- .../src/utils/ApplicationSchemas/SearchIndexingApplication.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json b/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json index 660c7e1bc43..179fc674cdd 100644 --- a/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json +++ b/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json @@ -38,7 +38,7 @@ "storageService", "dataProduct" ], - "recreateIndex": false, + "recreateIndex": true, "batchSize": "100", "searchIndexMappingLanguage": "EN" }, diff --git a/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json b/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json index 357a8027eed..a5371efbf40 100644 --- a/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json +++ b/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json @@ -52,7 +52,7 @@ "storageService", "dataProduct" ], - "recreateIndex": false, + "recreateIndex": true, "batchSize": "100", "searchIndexMappingLanguage": "EN" } diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json b/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json index 48c94513701..b92c713ad6b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json +++ b/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json @@ -96,7 +96,7 @@ "recreateIndex": { "title": "Recreate Indexes", "type": "boolean", - "default": false + "default": true }, "searchIndexMappingLanguage": { "description": "Recreate Indexes with updated Language",