Seke Kazuru created JAMES-4253:
----------------------------------

             Summary: JMAP Email/query: a text filter with two terms finds 
nothing
                 Key: JAMES-4253
                 URL: https://issues.apache.org/jira/browse/JAMES-4253
             Project: James Server
          Issue Type: Bug
          Components: JMAP
            Reporter: Seke Kazuru
            Assignee: Antoine Duprat


Hi,

RFC 8621 section 4.4.1: "Outside of a phrase, white space SHOULD be treated as 
dividing separate tokens that may be searched for separately but MUST all be 
present for the Email to match the filter."

An email whose body contains "pdtokena some words pdtokenb" is found by 
\{{{"text": "pdtokena"}}} and by \{{{"text": "pdtokenb"}}}, but \{{{"text": 
"pdtokena pdtokenb"}}} returns no ids. Expected: the email.

James 3.9.1, memory image (\{{apache/james:memory-3.9.1}}), default 
configuration, one user. JMAP requests POSTed to \{{/jmap}} with core and mail 
capabilities.

Thanks.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to