Skip to content

Commit fed05cb

Browse files
Set allowsCrossProject() to true for Search
1 parent 6bf2e73 commit fed05cb

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
@@ -163,6 +163,11 @@ public boolean allowsRemoteIndices() {
163163
return true;
164164
}
165165

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

0 commit comments

Comments
 (0)