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.
1 parent 94423d4 commit e644e00Copy full SHA for e644e00
server/src/main/java/org/elasticsearch/action/search/TransportSearchAction.java
@@ -422,6 +422,12 @@ public void onFailure(Exception e) {
422
if (ccsCheckCompatibility) {
423
checkCCSVersionCompatibility(rewritten);
424
}
425
+ if (rewritten.indicesOptions().resolveCrossProjectIndexExpression()) {
426
+ IndicesOptions indicesOptions = IndicesOptions.builder(rewritten.indicesOptions())
427
+ .crossProjectModeOptions(IndicesOptions.CrossProjectModeOptions.DEFAULT)
428
+ .build();
429
+ rewritten.indicesOptions(indicesOptions);
430
+ }
431
432
final ActionListener<SearchResponse> searchResponseActionListener;
433
if (collectSearchTelemetry) {
0 commit comments