From 47c3ef18e002677b51a38fb71e281064d04ca074 Mon Sep 17 00:00:00 2001 From: Amit Galitzky Date: Mon, 18 Mar 2024 15:15:08 -0700 Subject: [PATCH] removing _doc Signed-off-by: Amit Galitzky --- .../resources/substitutionTemplates/hybrid-search-template.json | 2 -- .../substitutionTemplates/multi-modal-search-template.json | 2 -- .../multi-modal-search-with-bedrock-titan-template.json | 2 -- .../neural-sparse-local-biencoder-template.json | 2 -- .../substitutionTemplates/semantic-search-template.json | 2 -- .../semantic-search-with-model-and-query-enricher-template.json | 2 -- .../semantic-search-with-model-template.json | 2 -- .../semantic-search-with-query-enricher-template.json | 2 -- 8 files changed, 16 deletions(-) diff --git a/src/main/resources/substitutionTemplates/hybrid-search-template.json b/src/main/resources/substitutionTemplates/hybrid-search-template.json index 9e16f1d09..c25748ff7 100644 --- a/src/main/resources/substitutionTemplates/hybrid-search-template.json +++ b/src/main/resources/substitutionTemplates/hybrid-search-template.json @@ -48,7 +48,6 @@ "index.search.default_pipeline": "${{create_search_pipeline.pipeline_id}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -67,7 +66,6 @@ "type": "text" } } - } } } } diff --git a/src/main/resources/substitutionTemplates/multi-modal-search-template.json b/src/main/resources/substitutionTemplates/multi-modal-search-template.json index ff8623a9e..afd85c0df 100644 --- a/src/main/resources/substitutionTemplates/multi-modal-search-template.json +++ b/src/main/resources/substitutionTemplates/multi-modal-search-template.json @@ -49,7 +49,6 @@ "number_of_shards": "${{create_index.settings.number_of_shards}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -71,7 +70,6 @@ } } } - } } } } diff --git a/src/main/resources/substitutionTemplates/multi-modal-search-with-bedrock-titan-template.json b/src/main/resources/substitutionTemplates/multi-modal-search-with-bedrock-titan-template.json index 87adf082e..54df3710a 100644 --- a/src/main/resources/substitutionTemplates/multi-modal-search-with-bedrock-titan-template.json +++ b/src/main/resources/substitutionTemplates/multi-modal-search-with-bedrock-titan-template.json @@ -99,7 +99,6 @@ "number_of_shards": "${{create_index.settings.number_of_shards}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -121,7 +120,6 @@ } } } - } } } } diff --git a/src/main/resources/substitutionTemplates/neural-sparse-local-biencoder-template.json b/src/main/resources/substitutionTemplates/neural-sparse-local-biencoder-template.json index 603e462ee..71b2a2421 100644 --- a/src/main/resources/substitutionTemplates/neural-sparse-local-biencoder-template.json +++ b/src/main/resources/substitutionTemplates/neural-sparse-local-biencoder-template.json @@ -59,7 +59,6 @@ "default_pipeline": "${{create_ingest_pipeline.pipeline_id}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -72,7 +71,6 @@ } } } - } } } } diff --git a/src/main/resources/substitutionTemplates/semantic-search-template.json b/src/main/resources/substitutionTemplates/semantic-search-template.json index 3aa7095e1..5e7ea4dc7 100644 --- a/src/main/resources/substitutionTemplates/semantic-search-template.json +++ b/src/main/resources/substitutionTemplates/semantic-search-template.json @@ -47,7 +47,6 @@ "number_of_shards": "${{create_index.settings.number_of_shards}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -66,7 +65,6 @@ "type": "text" } } - } } } } diff --git a/src/main/resources/substitutionTemplates/semantic-search-with-model-and-query-enricher-template.json b/src/main/resources/substitutionTemplates/semantic-search-with-model-and-query-enricher-template.json index f75b58e06..932afac9e 100644 --- a/src/main/resources/substitutionTemplates/semantic-search-with-model-and-query-enricher-template.json +++ b/src/main/resources/substitutionTemplates/semantic-search-with-model-and-query-enricher-template.json @@ -97,7 +97,6 @@ "index.search.default_pipeline": "${{create_search_pipeline.pipeline_id}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -116,7 +115,6 @@ "type": "text" } } - } } } } diff --git a/src/main/resources/substitutionTemplates/semantic-search-with-model-template.json b/src/main/resources/substitutionTemplates/semantic-search-with-model-template.json index f98c68659..9bda5da1a 100644 --- a/src/main/resources/substitutionTemplates/semantic-search-with-model-template.json +++ b/src/main/resources/substitutionTemplates/semantic-search-with-model-template.json @@ -96,7 +96,6 @@ "number_of_shards": "${{create_index.settings.number_of_shards}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -114,7 +113,6 @@ "${{text_embedding.field_map.input}}": { "type": "text" } - } } } } diff --git a/src/main/resources/substitutionTemplates/semantic-search-with-query-enricher-template.json b/src/main/resources/substitutionTemplates/semantic-search-with-query-enricher-template.json index 4244cd791..5ecca1bd4 100644 --- a/src/main/resources/substitutionTemplates/semantic-search-with-query-enricher-template.json +++ b/src/main/resources/substitutionTemplates/semantic-search-with-query-enricher-template.json @@ -65,7 +65,6 @@ "index.search.default_pipeline": "${{create_search_pipeline.pipeline_id}}" }, "mappings": { - "_doc": { "properties": { "id": { "type": "text" @@ -85,7 +84,6 @@ } } } - } } } }