Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
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.