vttranlina commented on code in PR #1661:
URL: https://github.com/apache/james-project/pull/1661#discussion_r1280090201
##########
backends-common/opensearch/src/main/java/org/apache/james/backends/opensearch/OpenSearchIndexer.java:
##########
@@ -90,7 +90,7 @@ public Mono<BulkResponse> update(List<UpdatedRepresentation>
updatedDocumentPart
op -> op.update(idx -> idx
.index(aliasName.getValue())
.id(updatedDocumentPart.getId().asString())
- .document(Collections.singletonMap("doc", new
RawValue(updatedDocumentPart.getUpdatedDocumentPart())))
Review Comment:
maybe check style error here
unused import `Collections` has not been removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]