From 2883e2586cb7d4bee8adfa315cb16e393a95d64c Mon Sep 17 00:00:00 2001 From: Azmi TOUIL <42934070+AzmiTouil@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:29:21 +0100 Subject: [PATCH] fix: User (with a capital letter in the username) cannot post to a space from the global stream - MEED-7905 (#4261) Resolve case-sensitivity issue by changing member field type to keyword --- .../social/core/jpa/search/SpaceIndexingServiceConnector.java | 1 + .../conf/social-extension/social/indexing-configuration.xml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/component/core/src/main/java/org/exoplatform/social/core/jpa/search/SpaceIndexingServiceConnector.java b/component/core/src/main/java/org/exoplatform/social/core/jpa/search/SpaceIndexingServiceConnector.java index 4bb229df2d0..715037d1f6b 100644 --- a/component/core/src/main/java/org/exoplatform/social/core/jpa/search/SpaceIndexingServiceConnector.java +++ b/component/core/src/main/java/org/exoplatform/social/core/jpa/search/SpaceIndexingServiceConnector.java @@ -170,6 +170,7 @@ public String getMapping() { .append(" \"pending\" : {\"type\" : \"keyword\"},\n") .append(" \"invited\" : {\"type\" : \"keyword\"},\n") .append(" \"manager\" : {\"type\" : \"keyword\"},\n") + .append(" \"member\" : {\"type\" : \"keyword\"},\n") .append(" \"publisher\" : {\"type\" : \"keyword\"},\n") .append(" \"redactor\" : {\"type\" : \"keyword\"},\n") .append(" \"lastUpdatedDate\" : {\"type\" : \"date\", \"format\": \"epoch_millis\"}\n") diff --git a/webapp/src/main/webapp/WEB-INF/conf/social-extension/social/indexing-configuration.xml b/webapp/src/main/webapp/WEB-INF/conf/social-extension/social/indexing-configuration.xml index 02a724611de..3794ea614d6 100644 --- a/webapp/src/main/webapp/WEB-INF/conf/social-extension/social/indexing-configuration.xml +++ b/webapp/src/main/webapp/WEB-INF/conf/social-extension/social/indexing-configuration.xml @@ -98,8 +98,8 @@ constructor.params - - + +