mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
parent
3587d8872e
commit
fa59bb1099
@ -199,7 +199,7 @@ public final class InnerHitBuilder implements Writeable, ToXContentObject {
|
|||||||
boolean hasChildren = in.readBoolean();
|
boolean hasChildren = in.readBoolean();
|
||||||
assert hasChildren == false;
|
assert hasChildren == false;
|
||||||
}
|
}
|
||||||
if (in.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
|
if (in.getVersion().onOrAfter(Version.V_6_4_0)) {
|
||||||
this.innerCollapseBuilder = in.readOptionalWriteable(CollapseBuilder::new);
|
this.innerCollapseBuilder = in.readOptionalWriteable(CollapseBuilder::new);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -247,7 +247,7 @@ public final class InnerHitBuilder implements Writeable, ToXContentObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
out.writeOptionalWriteable(highlightBuilder);
|
out.writeOptionalWriteable(highlightBuilder);
|
||||||
if (out.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
|
if (out.getVersion().onOrAfter(Version.V_6_4_0)) {
|
||||||
out.writeOptionalWriteable(innerCollapseBuilder);
|
out.writeOptionalWriteable(innerCollapseBuilder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user