Skip to content

Commit

Permalink
Fix or operation
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Oct 30, 2023
1 parent 99def84 commit ac89ac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ private boolean preprocessBulkRequest(Task task, BulkRequest bulkRequest, String
for (DocWriteRequest<?> docWriteRequest : bulkRequest.requests) {
IndexRequest indexRequest = getIndexWriteRequest(docWriteRequest);
if (indexRequest != null) {
needsProcessing |= preprocessor.needsProcessing(docWriteRequest, indexRequest, metadata);
needsProcessing = needsProcessing || preprocessor.needsProcessing(docWriteRequest, indexRequest, metadata);
}

if (docWriteRequest instanceof IndexRequest ir) {
Expand Down

0 comments on commit ac89ac5

Please sign in to comment.