Github user MikeThomsen commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2999#discussion_r217171902
--- Diff:
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/PutMongo.java
---
@@ -112,8 +112,10 @@
.allowableValues(UPDATE_WITH_DOC, UPDATE_WITH_OPERATORS)
.defaultValue(UPDATE_WITH_DOC.getValue())
.description("Choose an update mode. You can either supply a JSON
document to use as a direct replacement " +
- "or specify a document that contains update operators like
$set and $unset")
- .build();
+ "or specify a document that contains update operators like
$set, $unset, and $inc."+
+ "When Operators mode is enabled, the flowfile
content is expected to be the operator part"+
+ "for example: {$set:{\"key\":
\"value\"},$inc:{\"count\":1234}} and Update query has to be the record to be
updated")
--- End diff --
Can you git cherry-pick this onto a branch named NIFI-5589? It's currently
sitting on your master.
---