We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_resolve/index
1 parent 1307c76 commit 4cae9b0Copy full SHA for 4cae9b0
server/src/main/java/org/elasticsearch/rest/action/admin/indices/RestResolveIndexAction.java
@@ -59,6 +59,9 @@ protected BaseRestHandler.RestChannelConsumer prepareRequest(RestRequest request
59
String modeParam = request.param("mode");
60
final boolean crossProjectEnabled = settings != null && settings.getAsBoolean("serverless.cross_project.enabled", false);
61
String projectRouting = null;
62
+ if (crossProjectEnabled) {
63
+ projectRouting = request.param("project_routing");
64
+ }
65
IndicesOptions indicesOptions = IndicesOptions.fromRequest(request, ResolveIndexAction.Request.DEFAULT_INDICES_OPTIONS);
66
if (crossProjectEnabled) {
67
indicesOptions = IndicesOptions.builder(indicesOptions)
0 commit comments