From 0c62ae99b77435fb296625f8b2ed736df9182594 Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 18 Feb 2025 16:38:07 +0100 Subject: [PATCH] chore: enable full-text search on data.log field Change the type of the data.log field from `keyword` to `text` to enable full-text search. This change also removes the limit on the number of characters that are searchable for the field. --- src/main/resources/opensearch/index_template.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/opensearch/index_template.json b/src/main/resources/opensearch/index_template.json index ad2c8b3..364171c 100644 --- a/src/main/resources/opensearch/index_template.json +++ b/src/main/resources/opensearch/index_template.json @@ -86,8 +86,7 @@ "type": "long" }, "log": { - "type": "keyword", - "ignore_above": 256 + "type": "text" }, "media": { "properties": {