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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to