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

Full text search improvment.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      Searching for phrases

      CF https://github.com/linagora/tmail-flutter/issues/2325

      WHEN I search `black cat` TMail currently seach for "back" or "cat"

      Thus results are not that relevant.

      user experiences is reported as more relevant with a and behaviour

      Sorting on mail addresses

      https://github.com/linagora/tmail-backend/issues/865 for an impressive wirte up from one of our interns in vietnam.

      Here is the TLDR:

      The sort is done on the mail address, not on the display from.

      Agreed this is not spec compliant:

      4.4.2. Sorting
      from – This is taken to be either the name property or if null/empty, the email property of the first EmailAddress object in the Email’s from property. If still none, consider the value to be the empty string.
      

      Given that we don't implement https://datatracker.ietf.org/doc/html/rfc5256 and that IMAP SORT extension do not provide details on how to sort From dates I bet we are safe to stick to JMAP specification criteria...

      MISC

      While we are discussing about it, might glitches be found feel free to report them here

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m