You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/15 13:00:52 UTC

[incubator-ponymail-foal] branch master updated: Tighten up the dynamic mapping rules

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d4fb7d  Tighten up the dynamic mapping rules
0d4fb7d is described below

commit 0d4fb7dbdbd3801101a814b4a3ed172307982770
Author: Sebb <se...@apache.org>
AuthorDate: Wed Dec 15 13:00:41 2021 +0000

    Tighten up the dynamic mapping rules
---
 tools/mappings.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/mappings.yaml b/tools/mappings.yaml
index a2d44b8..6e63d6f 100644
--- a/tools/mappings.yaml
+++ b/tools/mappings.yaml
@@ -3,6 +3,12 @@
 # edited prior to installation.
 account:
   dynamic: strict
+  dynamic_templates: # for internal.oauth_data
+    - strings_as_keyword:
+        match_mapping_type: 
+          string
+        mapping:
+          type: keyword
   properties:
     cid:
       type: keyword