Module org.elasticsearch.server
Package org.elasticsearch.action
Interface IndicesRequest.Replaceable
- All Superinterfaces:
IndicesRequest
- All Known Subinterfaces:
AliasesRequest
- All Known Implementing Classes:
AddIndexBlockRequest,AnalyzeIndexDiskUsageRequest,BroadcastRequest,ClearIndicesCacheRequest,CloneSnapshotRequest,CloseIndexRequest,ClusterHealthRequest,ClusterSearchShardsRequest,ClusterStateRequest,CreateSnapshotRequest,DataStreamsStatsAction.Request,DeleteByQueryRequest,DeleteDataStreamAction.Request,DeleteIndexRequest,ExplainDataStreamLifecycleAction.Request,FieldCapabilitiesRequest,FieldUsageStatsRequest,FlushRequest,ForceMergeRequest,GetAliasesRequest,GetDataStreamAction.Request,GetDataStreamLifecycleAction.Request,GetDataStreamSettingsAction.Request,GetFieldMappingsRequest,GetIndexRequest,GetMappingsRequest,GetSettingsRequest,IndicesAliasesRequest.AliasActions,IndicesSegmentsRequest,IndicesShardStoresRequest,IndicesStatsRequest,OpenIndexRequest,OpenPointInTimeRequest,PutDataStreamLifecycleAction.Request,PutDataStreamOptionsAction.Request,PutMappingRequest,RecoveryRequest,RefreshRequest,ReloadAnalyzersRequest,RemoveIndexBlockRequest,ResolveClusterActionRequest,ResolveIndexAction.Request,SearchRequest,SearchShardsRequest,UpdateByQueryRequest,UpdateDataStreamSettingsAction.Request,UpdateSettingsRequest,ValidateQueryRequest
- Enclosing interface:
IndicesRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.RemoteClusterShardRequest, IndicesRequest.Replaceable, IndicesRequest.SingleIndexNoWildcards -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanDetermines whether the request can contain indices on a remote cluster.Sets the indices that the action relates to.Methods inherited from interface org.elasticsearch.action.IndicesRequest
includeDataStreams, indices, indicesOptions
-
Method Details
-
indices
Sets the indices that the action relates to. -
allowsRemoteIndices
default boolean allowsRemoteIndices()Determines whether the request can contain indices on a remote cluster. NOTE in theory this method can belong to theIndicesRequestinterface because whether a request allowing remote indices has no inherent relationship to whether it isIndicesRequest.Replaceableor not. However, we don't have an existing request that is non-replaceable but allows remote indices. In addition, authorization code currently relies on the fact that non-replaceable requests do not allow remote indices. That said, it is possible to remove this constraint should the needs arise in the future. We just need proceed with extra caution.
-