Laura Royet created JAMES-1882:
----------------------------------

             Summary: ElasticSearch does not aggregate words researched
                 Key: JAMES-1882
                 URL: https://issues.apache.org/jira/browse/JAMES-1882
             Project: James Server
          Issue Type: Bug
          Components: JMAP
            Reporter: Laura Royet
            Assignee: Antoine Duprat


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to