From a290ece67f17f6e2f0c1141def7db43b4f209cfc Mon Sep 17 00:00:00 2001 From: rng Date: Thu, 29 Jan 2026 08:49:10 +1100 Subject: [PATCH] Sync schema due to es-index change --- .../portal_records_index_schema.json | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/server/src/test/resources/portal_records_index_schema.json b/server/src/test/resources/portal_records_index_schema.json index 93722f50..ee515e44 100644 --- a/server/src/test/resources/portal_records_index_schema.json +++ b/server/src/test/resources/portal_records_index_schema.json @@ -136,7 +136,7 @@ "type": "text" }, "license": { - "type": "text" + "type": "keyword" }, "links": { "type": "nested", @@ -170,12 +170,12 @@ "type": "flattened" }, "sci:citation": { - "type": "text" + "type": "keyword" }, "summaries": { "properties": { "ai:description": { - "type": "text" + "type": "keyword" }, "score": { "type": "long" @@ -250,10 +250,10 @@ "type": "nested", "properties": { "value": { - "type": "text" + "type": "keyword" }, "roles": { - "type": "text" + "type": "keyword" } } }, @@ -261,10 +261,10 @@ "type": "nested", "properties": { "value": { - "type": "text" + "type": "keyword" }, "roles": { - "type": "text" + "type": "keyword" } } }, @@ -272,19 +272,19 @@ "type": "nested", "properties": { "delivery_point": { - "type": "text" + "type": "keyword" }, "city": { - "type": "text" + "type": "keyword" }, "administrative_area": { - "type": "text" + "type": "keyword" }, "postal_code": { - "type": "text" + "type": "keyword" }, "country": { - "type": "text" + "type": "keyword" } } }, @@ -295,19 +295,19 @@ "type": "nested", "properties": { "href": { - "type": "text" + "type": "keyword" }, "rel": { - "type": "text" + "type": "keyword" }, "type": { - "type": "text" + "type": "keyword" }, "title": { - "type": "text" + "type": "keyword" }, "description": { - "type": "text" + "type": "keyword" } } }