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

ElasticSearch does not aggregate words researched

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • JMAP
    • None

    Description

      Currently, when making a getMessageList request with a String FilterCondition containing several words separeted by white-spaces or hyphens, the message retrieved will not necessarily contain all the wanted words because basically ElasticSearch make a OR request.
      This does not comply with the JMAP specification.

      Example:
      When using ""OpenPaas anticonstitutionn" as a String FilterCondition, messages containing only "Openpaas" are retrieved.

      To solve this bug we can choose to implement AND in ElasticSearch (terms aggregation) or to amend the JMAP specification.

      Attachments

        Activity

          People

            aduprat Antoine Duprat
            lroyet Laura Royet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: