Skip to content

Commit 4495cda

Browse files
committed
Make SearchContextIdForNode public
1 parent f3de0e7 commit 4495cda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/action/search/SearchContextIdForNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ public final class SearchContextIdForNode implements Writeable {
3131
* @param node The target node where the search context ID is defined, or {@code null} if the shard is missing or unavailable.
3232
* @param searchContextId The {@link ShardSearchContextId}, or {@code null} if the shard is missing or unavailable.
3333
*/
34-
SearchContextIdForNode(@Nullable String clusterAlias, @Nullable String node, @Nullable ShardSearchContextId searchContextId) {
34+
public SearchContextIdForNode(@Nullable String clusterAlias, @Nullable String node, @Nullable ShardSearchContextId searchContextId) {
3535
this.node = node;
3636
this.clusterAlias = clusterAlias;
3737
this.searchContextId = searchContextId;
3838
}
3939

40-
SearchContextIdForNode(StreamInput in) throws IOException {
40+
public SearchContextIdForNode(StreamInput in) throws IOException {
4141
boolean allowNull = in.getTransportVersion().onOrAfter(TransportVersions.V_8_16_0);
4242
this.node = allowNull ? in.readOptionalString() : in.readString();
4343
this.clusterAlias = in.readOptionalString();

0 commit comments

Comments
 (0)