Skip to content

Commit 88ef3dc

Browse files
authored
allowCrossProject for _search (#136397)
1 parent f891430 commit 88ef3dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ public boolean allowsRemoteIndices() {
162162
return true;
163163
}
164164

165+
@Override
166+
public boolean allowsCrossProject() {
167+
return true;
168+
}
169+
165170
/**
166171
* Creates a new sub-search request starting from the original search request that is provided.
167172
* For internal use only, allows to fork a search request into multiple search requests that will be executed independently.

0 commit comments

Comments
 (0)