From 957c72147667a1338cdcce51cebd49b7fcba4beb Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 14 Oct 2024 22:14:26 +0200 Subject: [PATCH] new mapping --- fediblock-mapping.json | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/fediblock-mapping.json b/fediblock-mapping.json index 3a50022..c3e24bd 100644 --- a/fediblock-mapping.json +++ b/fediblock-mapping.json @@ -17,10 +17,8 @@ } }, "altids": { - "properties": { - "type": "object", - "enabled": false - } + "type": "object", + "enabled": false }, "api_schema": { "type": "text" @@ -334,6 +332,7 @@ } }, "contact_account": { + "type": "object", "properties": { "acct": { "type": "keyword" @@ -431,6 +430,7 @@ "type": "boolean" }, "fields": { + "type": "object", "properties": { "is_legacy_proof": { "type": "boolean" @@ -559,6 +559,7 @@ } }, "fields": { + "type": "object", "properties": { "name": { "type": "text" @@ -693,6 +694,7 @@ } }, "payment_options": { + "type": "object", "properties": { "chain_id": { "type": "text" @@ -821,8 +823,10 @@ } }, "source": { + "type": "object", "properties": { "fields": { + "type": "object", "properties": { "name": { "type": "text" @@ -1246,6 +1250,7 @@ } }, "fields_limits": { + "type": "object", "properties": { "max_fields": { "type": "long" @@ -1793,6 +1798,7 @@ "type": "text" }, "fieldsLimits": { + "type": "object", "properties": { "maxFields": { "type": "long" @@ -2025,5 +2031,19 @@ "type": "text" } } + }, + "settings": { + "analysis": { + "analyzer": { + "default": { + "filter": [ + "lowercase", + "asciifolding", + "stop" + ], + "tokenizer": "whitespace" + } + } + } } } \ No newline at end of file