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 "Raphaël Ouazana (JIRA)" <se...@james.apache.org> on 2016/11/25 14:17:58 UTC
[jira] [Created] (JAMES-1875) While doing a getMessageList, JMAP is
retrieving every mail of the user mailbox before sorting them and limit
them
Raphaël Ouazana created JAMES-1875:
--------------------------------------
Summary: While doing a getMessageList, JMAP is retrieving every mail of the user mailbox before sorting them and limit them
Key: JAMES-1875
URL: https://issues.apache.org/jira/browse/JAMES-1875
Project: James Server
Issue Type: Improvement
Components: JMAP
Reporter: Raphaël Ouazana
Assignee: Antoine Duprat
We should let the backend handle the sort and the limit, for example ElasticSearch.
Here is an example query :
[["getMessageList",{"filter":{"inMailboxes":["b02527a0-84b9-11e6-87cc-f1dd7d0a3ede"]},"sort":["date desc"],"collapseThreads":false,"fetchMessages":false,"position":0,"limit":30},"#0"]]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org