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 "René Cordier (Jira)" <se...@james.apache.org> on 2022/04/15 08:47:00 UTC

[jira] [Created] (JAMES-3750) Add an upsert method in ElasticsearchIndexer

René Cordier created JAMES-3750:
-----------------------------------

             Summary: Add an upsert method in ElasticsearchIndexer
                 Key: JAMES-3750
                 URL: https://issues.apache.org/jira/browse/JAMES-3750
             Project: James Server
          Issue Type: Improvement
            Reporter: René Cordier


Now that our index generation code is more generic, allowing custom implementation of James to easily add their own, it would be useful as well to add an upsert method to the ElasticsearchIndexer as well

It is like an update, with the difference that if the document is not referenced, we index it. The code change is minimal and does not change the normal update behavior.

DoD: Unit tests



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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