Lan Khuat created JAMES-3416:
--------------------------------
Summary: 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
Reporter: Lan Khuat
h3. Description
Previously, we want address fields (From, To, Cc...) to be dynamically matched
via Elasticsearch indexing configuration. For example, with an email address
like: [[email protected]|mailto:[email protected]] we should be able to fetch it
using the query with any of the following term: [user, domain.tld,
[email protected]]
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: [email protected]
For additional commands, e-mail: [email protected]