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

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit c9305e37b26079e765ec61ad1b5d3651d3c7174b
Author: Benoit Tellier <[email protected]>
AuthorDate: Wed Nov 11 11:36:25 2020 +0700

    JAMES-3378 Email/query keywords should be case incentive
---
 .../org/apache/james/mailbox/elasticsearch/MailboxMappingFactory.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/mailbox/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/MailboxMappingFactory.java
 
b/mailbox/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/MailboxMappingFactory.java
index aeb6782..944c4a7 100644
--- 
a/mailbox/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/MailboxMappingFactory.java
+++ 
b/mailbox/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/MailboxMappingFactory.java
@@ -147,6 +147,7 @@ public class MailboxMappingFactory {
 
                         .startObject(USER_FLAGS)
                             .field(TYPE, KEYWORD)
+                            .field(NORMALIZER, CASE_INSENSITIVE)
                         .endObject()
 
                         .startObject(MEDIA_TYPE)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to