You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/04/04 14:20:00 UTC

[jira] [Created] (JAMES-3542) Write a naive spec compliant SearchSnipset/get method

Benoit Tellier created JAMES-3542:
-------------------------------------

             Summary: Write a naive spec compliant SearchSnipset/get method
                 Key: JAMES-3542
                 URL: https://issues.apache.org/jira/browse/JAMES-3542
             Project: James Server
          Issue Type: Sub-task
          Components: JMAP
    Affects Versions: 3.6.0
            Reporter: Benoit Tellier
            Assignee: Antoine Duprat


https://jmap.io/spec-mail.html#searchsnippetget

{code:java}
When doing a search on a String property, the client may wish to show the relevant 
section of the body that matches the search as a preview and to highlight any matching 
terms in both this and the subject of the Email. Search snippets represent this data.
{code}

Our search APIs do not allow to do this out of the box.

While waiting to have such support, we can likely write a naive version: lways return unsupportedFilter error code, which do not add much but would likely ease error handling on the client side (no need to handle "unknownMethod" error codes... This prove, on other method call during my LTT.RS experiments to be an inter-operability blocker...)




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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