Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Mar 14, 2024
1 parent a222d79 commit a026612
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ public void processBulkShardRequest(

Map<String, Set<String>> fieldsForInferenceIds = clusterState.metadata()
.index(bulkShardRequest.shardId().getIndex())
.getFieldInferenceMetadata().getFieldsForInferenceIds();
.getFieldInferenceMetadata()
.getFieldsForInferenceIds();
// No inference fields? Terminate early
if (fieldsForInferenceIds.isEmpty()) {
listener.onResponse(bulkShardRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,11 +453,7 @@ void executeRequest(
}
}
});
Rewriteable.rewriteAndFetch(
original,
searchService.getRewriteContext(timeProvider::absoluteStartMillis),
rewriteListener
);
Rewriteable.rewriteAndFetch(original, searchService.getRewriteContext(timeProvider::absoluteStartMillis), rewriteListener);
}

static void adjustSearchType(SearchRequest searchRequest, boolean singleShard) {
Expand Down

0 comments on commit a026612

Please sign in to comment.