Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed Sep 6, 2023
1 parent 51886ee commit e6d46cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ public ShardSearchRequest(StreamInput in) throws IOException {
numberOfShards = in.readVInt();
scroll = in.readOptionalWriteable(Scroll::new);
source = in.readOptionalWriteable(SearchSourceBuilder::new);
if (in.getTransportVersion().onOrAfter(TransportVersions.V_8_8_0) && in.getTransportVersion().before(TransportVersions.V_8_500_020)) {
if (in.getTransportVersion().onOrAfter(TransportVersions.V_8_8_0)
&& in.getTransportVersion().before(TransportVersions.V_8_500_020)) {
// to deserialize between the 8.8 and 8.500.020 version we need to translate
// the rank queries into sub searches if we are ranking; if there are no rank queries
// we deserialize the empty list and do nothing
Expand Down

0 comments on commit e6d46cf

Please sign in to comment.