You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/10/09 10:45:00 UTC

[jira] [Closed] (JAMES-3416) ElasticSearch indexing should match full email address

     [ https://issues.apache.org/jira/browse/JAMES-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-3416.
---------------------------------
    Resolution: Fixed

https://github.com/linagora/james-project/pull/3875 colsed this

> ElasticSearch indexing should match full email address
> ------------------------------------------------------
>
>                 Key: JAMES-3416
>                 URL: https://issues.apache.org/jira/browse/JAMES-3416
>             Project: James Server
>          Issue Type: Bug
>          Components: elasticsearch, IMAPServer, JMAP
>            Reporter: Lan Khuat
>            Priority: Major
>
> Previously, we want address fields (From, To, Cc...) to be dynamically matched via Elasticsearch indexing configuration. For example, with an email address like: [user@domain.tld|mailto:user@domain.tld] we should be able to fetch it using the query with any of the following term: [user, domain.tld, user@domain.tld]
> However this setup does not work properly. In the mean time, the main focus should be fetching email using exact matching on address field.
> h3. The fix
> Remove all ElasticSearch indexing configuration with uax_url_email tokenizer related to address fields.
> h3. DoD
>  * Write integration tests to show that ElasticSearch returns the correct addresses when full address is provided in the query.
>  * Adapt existing integration tests related to address partial matching.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org