Skip to content

Commit 9aeafd0

Browse files
committed
iter
1 parent 312dca3 commit 9aeafd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/main/java/org/elasticsearch/rest/action/RestFieldCapabilitiesAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ public RestChannelConsumer prepareRequest(final RestRequest request, final NodeC
6262

6363
final boolean crossProjectEnabled = crossProjectModeDecider.crossProjectEnabled();
6464
if (crossProjectModeDecider.crossProjectEnabled()) {
65-
// accept project_routing param and set includeResolved to true
6665
fieldRequest.projectRouting(request.param("project_routing", null));
66+
// Setting includeResolvedTo to always include index resolution data structure in the linked project responses,
67+
// in order to allow the coordinating node to call CrossProjectIndexResolutionValidator#validate
6768
fieldRequest.includeResolvedTo(true);
6869
}
6970

0 commit comments

Comments
 (0)