Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3416

ElasticSearch indexing should match full email address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • elasticsearch, IMAPServer, JMAP
    • None

    Description

      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 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.

      The fix

      Remove all ElasticSearch indexing configuration with uax_url_email tokenizer related to address fields.

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dlkhuat Lan Khuat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: