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 "Antoine Duprat (JIRA)" <se...@james.apache.org> on 2016/07/26 13:15:20 UTC

[jira] [Resolved] (JAMES-1804) Handle jmap text search in ES

     [ https://issues.apache.org/jira/browse/JAMES-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Duprat resolved JAMES-1804.
-----------------------------------
    Resolution: Fixed

merged

> Handle jmap text search in ES
> -----------------------------
>
>                 Key: JAMES-1804
>                 URL: https://issues.apache.org/jira/browse/JAMES-1804
>             Project: James Server
>          Issue Type: Bug
>          Components: JMAP
>            Reporter: Antoine Duprat
>            Assignee: Antoine Duprat
>
> Here is the specification from the text property on FilterCondition: "text: String|null Looks for the text in the from, to, cc, bcc, subject, textBody or htmlBody properties of the message."
> The easiest way (without changing the ES indices) is to handle multiple fields in IndexableMessage. For example, IndexableMessage may have a text attibute which will be the concatenation of from, to, cc, bcc, subject, textBody and htmlBody 
> We may also add a body attribute for textBody and htmlBody 
> For information: http://stackoverflow.com/questions/22617674/does-elasticsearch-have-compound-indexes#22657490 NOTE: add a CAPABILITY



--
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