[Rename] o.e.action.delete,explain,fieldcaps,get,index,main,resync,update (#342)
This commit refactors the following: * o.e.action.delete * o.e.action.explain * o.e.action.fieldcaps * o.e.action.get * o.e.action.index * o.e.action.main * o.e.action.resync * o.e.action.update to the o.opensearch namespace. All references throughout the codebase are also refactored. Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
This commit is contained in:
parent
fbb3afea77
commit
993a4c72c2
|
@ -21,7 +21,7 @@ package org.opensearch.client.benchmark.transport;
|
|||
import org.opensearch.OpenSearchException;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.opensearch.client.benchmark.AbstractBenchmark;
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.opensearch.action.bulk.BulkItemResponse;
|
|||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkShardRequest;
|
||||
import org.opensearch.action.support.ActiveShardCount;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.client.Requests;
|
||||
import org.opensearch.client.node.NodeClient;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.opensearch.action.bulk.BulkRequest;
|
|||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.opensearch.action.support.ActionFilters;
|
||||
import org.opensearch.action.support.HandledTransportAction;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.common.inject.Inject;
|
||||
import org.elasticsearch.index.shard.ShardId;
|
||||
import org.opensearch.tasks.Task;
|
||||
|
|
|
@ -35,12 +35,12 @@ import org.opensearch.action.admin.cluster.storedscripts.DeleteStoredScriptReque
|
|||
import org.opensearch.action.admin.cluster.storedscripts.GetStoredScriptRequest;
|
||||
import org.opensearch.action.admin.cluster.storedscripts.PutStoredScriptRequest;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.explain.ExplainRequest;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.get.MultiGetRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.explain.ExplainRequest;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.MultiGetRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.ClearScrollRequest;
|
||||
import org.elasticsearch.action.search.MultiSearchRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
|
@ -48,7 +48,7 @@ import org.elasticsearch.action.search.SearchScrollRequest;
|
|||
import org.opensearch.action.support.ActiveShardCount;
|
||||
import org.opensearch.action.support.IndicesOptions;
|
||||
import org.opensearch.action.support.WriteRequest;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.client.core.CountRequest;
|
||||
import org.opensearch.client.core.GetSourceRequest;
|
||||
import org.opensearch.client.core.MultiTermVectorsRequest;
|
||||
|
|
|
@ -40,18 +40,18 @@ import org.opensearch.action.admin.cluster.storedscripts.GetStoredScriptResponse
|
|||
import org.opensearch.action.admin.cluster.storedscripts.PutStoredScriptRequest;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteResponse;
|
||||
import org.elasticsearch.action.explain.ExplainRequest;
|
||||
import org.elasticsearch.action.explain.ExplainResponse;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesResponse;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.get.GetResponse;
|
||||
import org.elasticsearch.action.get.MultiGetRequest;
|
||||
import org.elasticsearch.action.get.MultiGetResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.delete.DeleteResponse;
|
||||
import org.opensearch.action.explain.ExplainRequest;
|
||||
import org.opensearch.action.explain.ExplainResponse;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesResponse;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.GetResponse;
|
||||
import org.opensearch.action.get.MultiGetRequest;
|
||||
import org.opensearch.action.get.MultiGetResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.elasticsearch.action.search.ClearScrollRequest;
|
||||
import org.elasticsearch.action.search.ClearScrollResponse;
|
||||
import org.elasticsearch.action.search.MultiSearchRequest;
|
||||
|
@ -60,8 +60,8 @@ import org.elasticsearch.action.search.SearchRequest;
|
|||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.action.search.SearchScrollRequest;
|
||||
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.client.core.CountRequest;
|
||||
import org.opensearch.client.core.CountResponse;
|
||||
import org.opensearch.client.core.GetSourceRequest;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.client.core;
|
||||
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.client.Validatable;
|
||||
import org.opensearch.search.fetch.subphase.FetchSourceContext;
|
||||
|
||||
|
|
|
@ -27,10 +27,10 @@ import org.opensearch.action.bulk.BulkItemResponse;
|
|||
import org.opensearch.action.bulk.BulkProcessor;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.get.MultiGetItemResponse;
|
||||
import org.elasticsearch.action.get.MultiGetRequest;
|
||||
import org.elasticsearch.action.get.MultiGetResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.get.MultiGetItemResponse;
|
||||
import org.opensearch.action.get.MultiGetRequest;
|
||||
import org.opensearch.action.get.MultiGetResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.opensearch.common.Strings;
|
||||
import org.opensearch.common.bytes.BytesArray;
|
||||
|
|
|
@ -25,8 +25,8 @@ import org.opensearch.action.bulk.BulkItemResponse;
|
|||
import org.opensearch.action.bulk.BulkProcessor;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.get.MultiGetRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.get.MultiGetRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.common.unit.TimeValue;
|
||||
import org.elasticsearch.common.xcontent.XContentType;
|
||||
import org.opensearch.rest.RestStatus;
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.opensearch.client;
|
|||
import org.elasticsearch.client.RequestOptions;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.elasticsearch.common.xcontent.XContentType;
|
||||
import org.opensearch.rest.action.document.RestBulkAction;
|
||||
|
|
|
@ -28,17 +28,17 @@ import org.opensearch.action.bulk.BulkItemResponse;
|
|||
import org.opensearch.action.bulk.BulkProcessor;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteResponse;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.get.GetResponse;
|
||||
import org.elasticsearch.action.get.MultiGetRequest;
|
||||
import org.elasticsearch.action.get.MultiGetResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.delete.DeleteResponse;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.GetResponse;
|
||||
import org.opensearch.action.get.MultiGetRequest;
|
||||
import org.opensearch.action.get.MultiGetResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.support.WriteRequest.RefreshPolicy;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.client.core.GetSourceRequest;
|
||||
import org.opensearch.client.core.GetSourceResponse;
|
||||
import org.opensearch.client.core.MultiTermVectorsRequest;
|
||||
|
|
|
@ -37,8 +37,8 @@ import org.elasticsearch.client.ResponseListener;
|
|||
import org.elasticsearch.client.RestClient;
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.elasticsearch.action.main.MainRequest;
|
||||
import org.elasticsearch.action.main.MainResponse;
|
||||
import org.opensearch.action.main.MainRequest;
|
||||
import org.opensearch.action.main.MainResponse;
|
||||
import org.opensearch.action.support.PlainActionFuture;
|
||||
import org.opensearch.cluster.ClusterName;
|
||||
import org.elasticsearch.common.SuppressForbidden;
|
||||
|
|
|
@ -53,7 +53,7 @@ import org.opensearch.action.admin.indices.shrink.ResizeType;
|
|||
import org.opensearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest;
|
||||
import org.opensearch.action.admin.indices.validate.query.ValidateQueryRequest;
|
||||
import org.opensearch.action.admin.indices.validate.query.ValidateQueryResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.support.IndicesOptions;
|
||||
import org.opensearch.action.support.WriteRequest;
|
||||
import org.opensearch.action.support.broadcast.BroadcastResponse;
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.opensearch.action.ActionListener;
|
|||
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
||||
import org.opensearch.action.bulk.BulkItemResponse;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.opensearch.action.support.WriteRequest;
|
||||
import org.opensearch.client.tasks.TaskSubmissionResponse;
|
||||
|
|
|
@ -34,12 +34,12 @@ import org.opensearch.action.admin.cluster.storedscripts.GetStoredScriptRequest;
|
|||
import org.opensearch.action.admin.cluster.storedscripts.PutStoredScriptRequest;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkShardRequest;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.explain.ExplainRequest;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.get.MultiGetRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.explain.ExplainRequest;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.MultiGetRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.ClearScrollRequest;
|
||||
import org.elasticsearch.action.search.MultiSearchRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
|
@ -51,7 +51,7 @@ import org.opensearch.action.support.WriteRequest;
|
|||
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||
import org.opensearch.action.support.master.MasterNodeRequest;
|
||||
import org.opensearch.action.support.replication.ReplicationRequest;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.client.RequestConverters.EndpointBuilder;
|
||||
import org.opensearch.client.core.CountRequest;
|
||||
import org.opensearch.client.core.GetSourceRequest;
|
||||
|
|
|
@ -24,11 +24,11 @@ import org.apache.http.client.methods.HttpPut;
|
|||
import org.elasticsearch.client.Request;
|
||||
import org.opensearch.OpenSearchException;
|
||||
import org.opensearch.OpenSearchStatusException;
|
||||
import org.elasticsearch.action.explain.ExplainRequest;
|
||||
import org.elasticsearch.action.explain.ExplainResponse;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilities;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesResponse;
|
||||
import org.opensearch.action.explain.ExplainRequest;
|
||||
import org.opensearch.action.explain.ExplainResponse;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilities;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesResponse;
|
||||
import org.elasticsearch.action.search.ClearScrollRequest;
|
||||
import org.elasticsearch.action.search.ClearScrollResponse;
|
||||
import org.elasticsearch.action.search.MultiSearchRequest;
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksRequest;
|
|||
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
||||
import org.opensearch.action.admin.cluster.node.tasks.list.TaskGroup;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.support.WriteRequest.RefreshPolicy;
|
||||
import org.opensearch.client.tasks.CancelTasksRequest;
|
||||
import org.opensearch.client.tasks.CancelTasksResponse;
|
||||
|
|
|
@ -24,8 +24,8 @@ import org.opensearch.action.ActionListener;
|
|||
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
||||
import org.opensearch.action.bulk.BulkItemResponse;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.support.WriteRequest;
|
||||
import org.opensearch.client.tasks.TaskSubmissionResponse;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
|
|
|
@ -32,9 +32,9 @@ import java.util.Date;
|
|||
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
|
||||
public class MainResponseTests extends AbstractResponseTestCase<org.elasticsearch.action.main.MainResponse, MainResponse> {
|
||||
public class MainResponseTests extends AbstractResponseTestCase<org.opensearch.action.main.MainResponse, MainResponse> {
|
||||
@Override
|
||||
protected org.elasticsearch.action.main.MainResponse createServerTestInstance(XContentType xContentType) {
|
||||
protected org.opensearch.action.main.MainResponse createServerTestInstance(XContentType xContentType) {
|
||||
String clusterUuid = randomAlphaOfLength(10);
|
||||
ClusterName clusterName = new ClusterName(randomAlphaOfLength(10));
|
||||
String nodeName = randomAlphaOfLength(10);
|
||||
|
@ -44,7 +44,7 @@ public class MainResponseTests extends AbstractResponseTestCase<org.elasticsearc
|
|||
Build.Type.UNKNOWN, randomAlphaOfLength(8), date, randomBoolean(),
|
||||
version.toString()
|
||||
);
|
||||
return new org.elasticsearch.action.main.MainResponse(nodeName, version, clusterName, clusterUuid , build);
|
||||
return new org.opensearch.action.main.MainResponse(nodeName, version, clusterName, clusterUuid , build);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -53,7 +53,7 @@ public class MainResponseTests extends AbstractResponseTestCase<org.elasticsearc
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void assertInstances(org.elasticsearch.action.main.MainResponse serverTestInstance, MainResponse clientInstance) {
|
||||
protected void assertInstances(org.opensearch.action.main.MainResponse serverTestInstance, MainResponse clientInstance) {
|
||||
assertThat(serverTestInstance.getClusterName().value(), equalTo(clientInstance.getClusterName()));
|
||||
assertThat(serverTestInstance.getClusterUuid(), equalTo(clientInstance.getClusterUuid()));
|
||||
assertThat(serverTestInstance.getNodeName(), equalTo(clientInstance.getNodeName()));
|
||||
|
|
|
@ -31,22 +31,22 @@ import org.opensearch.action.bulk.BulkItemResponse;
|
|||
import org.opensearch.action.bulk.BulkProcessor;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteResponse;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.get.GetResponse;
|
||||
import org.elasticsearch.action.get.MultiGetItemResponse;
|
||||
import org.elasticsearch.action.get.MultiGetRequest;
|
||||
import org.elasticsearch.action.get.MultiGetResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.delete.DeleteResponse;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.GetResponse;
|
||||
import org.opensearch.action.get.MultiGetItemResponse;
|
||||
import org.opensearch.action.get.MultiGetRequest;
|
||||
import org.opensearch.action.get.MultiGetResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.support.ActiveShardCount;
|
||||
import org.opensearch.action.support.IndicesOptions;
|
||||
import org.opensearch.action.support.WriteRequest;
|
||||
import org.opensearch.action.support.WriteRequest.RefreshPolicy;
|
||||
import org.opensearch.action.support.replication.ReplicationResponse;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.client.OpenSearchRestHighLevelClientTestCase;
|
||||
import org.opensearch.client.Request;
|
||||
import org.opensearch.client.RequestOptions;
|
||||
|
|
|
@ -25,13 +25,13 @@ import org.opensearch.action.ActionListener;
|
|||
import org.opensearch.action.LatchedActionListener;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.explain.ExplainRequest;
|
||||
import org.elasticsearch.action.explain.ExplainResponse;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilities;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.explain.ExplainRequest;
|
||||
import org.opensearch.action.explain.ExplainResponse;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilities;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesRequest;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.elasticsearch.action.search.ClearScrollRequest;
|
||||
import org.elasticsearch.action.search.ClearScrollResponse;
|
||||
import org.elasticsearch.action.search.MultiSearchRequest;
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
package org.opensearch.ingest.geoip;
|
||||
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.ingest.PutPipelineRequest;
|
||||
import org.opensearch.common.bytes.BytesReference;
|
||||
import org.elasticsearch.common.settings.Setting;
|
||||
|
@ -29,8 +29,8 @@ import org.elasticsearch.common.settings.Settings;
|
|||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.common.xcontent.XContentType;
|
||||
import org.elasticsearch.common.xcontent.json.JsonXContent;
|
||||
import org.elasticsearch.ingest.IngestService;
|
||||
import org.elasticsearch.plugins.Plugin;
|
||||
import org.opensearch.ingest.IngestService;
|
||||
import org.opensearch.plugins.Plugin;
|
||||
import org.opensearch.rest.RestStatus;
|
||||
import org.elasticsearch.test.ESIntegTestCase;
|
||||
import org.elasticsearch.test.NodeRoles;
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.elasticsearch.action.search.SearchPhaseExecutionException;
|
|||
import org.elasticsearch.action.search.SearchRequestBuilder;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.action.search.SearchType;
|
||||
import org.elasticsearch.action.update.UpdateRequestBuilder;
|
||||
import org.opensearch.action.update.UpdateRequestBuilder;
|
||||
import org.elasticsearch.common.lucene.search.function.CombineFunction;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.common.xcontent.XContentFactory;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.script.mustache;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.opensearch.common.Strings;
|
||||
import org.elasticsearch.index.IndexNotFoundException;
|
||||
|
|
|
@ -24,7 +24,7 @@ import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
|
|||
import org.opensearch.OpenSearchException;
|
||||
import org.opensearch.action.DocWriteResponse;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.action.search.SearchRequestBuilder;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.join.query.ParentChildTestCase;
|
||||
import org.junit.Before;
|
||||
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
package org.opensearch.join.aggregations;
|
||||
|
||||
import org.apache.lucene.search.join.ScoreMode;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.client.Requests;
|
||||
import org.opensearch.cluster.metadata.IndexMetadata;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
package org.opensearch.join.query;
|
||||
|
||||
import org.apache.lucene.search.join.ScoreMode;
|
||||
import org.elasticsearch.action.explain.ExplainResponse;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.explain.ExplainResponse;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.action.search.SearchPhaseExecutionException;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.action.search.SearchType;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.opensearch.join.query;
|
|||
|
||||
import org.apache.lucene.search.join.ScoreMode;
|
||||
import org.apache.lucene.util.ArrayUtil;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.action.search.SearchPhaseExecutionException;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.index.IndexSettings;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
package org.opensearch.join.query;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.common.Strings;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
|
|
|
@ -46,7 +46,7 @@ import org.opensearch.OpenSearchException;
|
|||
import org.elasticsearch.ResourceNotFoundException;
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.elasticsearch.common.ParseField;
|
||||
import org.opensearch.common.bytes.BytesReference;
|
||||
import org.opensearch.common.io.stream.InputStreamStreamInput;
|
||||
|
|
|
@ -23,8 +23,8 @@ import org.apache.lucene.search.Query;
|
|||
import org.opensearch.OpenSearchException;
|
||||
import org.elasticsearch.ResourceNotFoundException;
|
||||
import org.opensearch.action.admin.indices.mapping.put.PutMappingRequest;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.get.GetResponse;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.GetResponse;
|
||||
import org.opensearch.common.Strings;
|
||||
import org.opensearch.common.bytes.BytesArray;
|
||||
import org.opensearch.common.bytes.BytesReference;
|
||||
|
|
|
@ -32,8 +32,8 @@ import org.opensearch.action.bulk.BulkItemResponse.Failure;
|
|||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.opensearch.action.bulk.Retry;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.support.TransportAction;
|
||||
import org.opensearch.client.ParentTaskAssigningClient;
|
||||
import org.elasticsearch.common.Nullable;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.opensearch.index.reindex;
|
|||
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.client.ParentTaskAssigningClient;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollTask;
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.apache.lucene.util.automaton.MinimizationOperations;
|
|||
import org.apache.lucene.util.automaton.Operations;
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
||||
import org.opensearch.action.DocWriteRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.opensearch.action.support.AutoCreateIndex;
|
||||
import org.opensearch.cluster.ClusterState;
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.opensearch.action.ActionListener;
|
|||
import org.opensearch.action.DocWriteRequest;
|
||||
import org.opensearch.action.bulk.BackoffPolicy;
|
||||
import org.opensearch.action.bulk.BulkItemResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.client.Client;
|
||||
import org.opensearch.client.ParentTaskAssigningClient;
|
||||
import org.opensearch.client.RestClient;
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.opensearch.index.reindex;
|
|||
import org.apache.logging.log4j.Logger;
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.support.ActionFilters;
|
||||
import org.opensearch.action.support.HandledTransportAction;
|
||||
import org.opensearch.client.Client;
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.opensearch.action.ActionRequest;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase;
|
||||
import org.elasticsearch.index.reindex.AbstractBulkIndexByScrollRequest;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
|
|
|
@ -36,10 +36,10 @@ import org.opensearch.action.bulk.BulkItemResponse;
|
|||
import org.opensearch.action.bulk.BulkItemResponse.Failure;
|
||||
import org.opensearch.action.bulk.BulkRequest;
|
||||
import org.opensearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.delete.DeleteResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.elasticsearch.action.search.ClearScrollRequest;
|
||||
import org.elasticsearch.action.search.ClearScrollResponse;
|
||||
import org.elasticsearch.action.search.ReduceSearchPhaseException;
|
||||
|
@ -51,8 +51,8 @@ import org.elasticsearch.action.search.ShardSearchFailure;
|
|||
import org.opensearch.action.support.ActionFilters;
|
||||
import org.opensearch.action.support.PlainActionFuture;
|
||||
import org.opensearch.action.support.TransportAction;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.client.Client;
|
||||
import org.opensearch.client.FilterClient;
|
||||
import org.opensearch.client.ParentTaskAssigningClient;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.opensearch.action.admin.indices.alias.Alias;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.cluster.ClusterInfoService;
|
||||
import org.opensearch.cluster.InternalClusterInfoService;
|
||||
import org.opensearch.cluster.routing.allocation.DiskThresholdSettings;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.index.query.MatchQueryBuilder;
|
||||
import org.elasticsearch.index.query.QueryBuilders;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.index.reindex.AbstractBulkByScrollRequest;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.ReindexRequestBuilder;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.opensearch.action.bulk.BulkItemResponse.Failure;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.ReindexRequestBuilder;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.opensearch.index.reindex;
|
|||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.ReindexRequest;
|
||||
import org.elasticsearch.index.reindex.ScrollableHitSource.Hit;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
|
||||
/**
|
||||
* Index-by-search test for ttl, timestamp, and routing.
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.common.lucene.uid.Versions;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.ReindexRequest;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.opensearch.index.reindex;
|
|||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.opensearch.action.support.AutoCreateIndex;
|
||||
import org.opensearch.cluster.ClusterName;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.elasticsearch.action.get.GetResponse;
|
||||
import org.opensearch.action.get.GetResponse;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.ReindexRequestBuilder;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.elasticsearch.ExceptionsHelper;
|
|||
import org.opensearch.action.ActionFuture;
|
||||
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
||||
import org.opensearch.action.admin.cluster.node.tasks.list.TaskGroup;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.index.query.QueryBuilders;
|
||||
import org.elasticsearch.index.reindex.AbstractBulkByScrollRequestBuilder;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.index.reindex.AbstractBulkByScrollRequest;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.UpdateByQueryRequestBuilder;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.cluster.ClusterState;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
import org.elasticsearch.index.reindex.ScrollableHitSource.Hit;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
package org.opensearch.index.reindex;
|
||||
|
||||
import org.elasticsearch.action.get.GetResponse;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.get.GetResponse;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.elasticsearch.index.engine.VersionConflictEngineException;
|
||||
import org.elasticsearch.index.reindex.BulkByScrollResponse;
|
||||
|
||||
|
|
|
@ -200,20 +200,20 @@ import org.opensearch.action.admin.indices.validate.query.ValidateQueryAction;
|
|||
import org.opensearch.action.bulk.BulkAction;
|
||||
import org.opensearch.action.bulk.TransportBulkAction;
|
||||
import org.opensearch.action.bulk.TransportShardBulkAction;
|
||||
import org.elasticsearch.action.delete.DeleteAction;
|
||||
import org.elasticsearch.action.delete.TransportDeleteAction;
|
||||
import org.elasticsearch.action.explain.ExplainAction;
|
||||
import org.opensearch.action.delete.DeleteAction;
|
||||
import org.opensearch.action.delete.TransportDeleteAction;
|
||||
import org.opensearch.action.explain.ExplainAction;
|
||||
import org.elasticsearch.action.explain.TransportExplainAction;
|
||||
import org.elasticsearch.action.fieldcaps.FieldCapabilitiesAction;
|
||||
import org.opensearch.action.fieldcaps.FieldCapabilitiesAction;
|
||||
import org.elasticsearch.action.fieldcaps.TransportFieldCapabilitiesAction;
|
||||
import org.elasticsearch.action.fieldcaps.TransportFieldCapabilitiesIndexAction;
|
||||
import org.elasticsearch.action.get.GetAction;
|
||||
import org.elasticsearch.action.get.MultiGetAction;
|
||||
import org.elasticsearch.action.get.TransportGetAction;
|
||||
import org.elasticsearch.action.get.TransportMultiGetAction;
|
||||
import org.elasticsearch.action.get.TransportShardMultiGetAction;
|
||||
import org.elasticsearch.action.index.IndexAction;
|
||||
import org.elasticsearch.action.index.TransportIndexAction;
|
||||
import org.opensearch.action.get.GetAction;
|
||||
import org.opensearch.action.get.MultiGetAction;
|
||||
import org.opensearch.action.get.TransportGetAction;
|
||||
import org.opensearch.action.get.TransportMultiGetAction;
|
||||
import org.opensearch.action.get.TransportShardMultiGetAction;
|
||||
import org.opensearch.action.index.IndexAction;
|
||||
import org.opensearch.action.index.TransportIndexAction;
|
||||
import org.opensearch.action.ingest.DeletePipelineAction;
|
||||
import org.opensearch.action.ingest.DeletePipelineTransportAction;
|
||||
import org.opensearch.action.ingest.GetPipelineAction;
|
||||
|
@ -222,8 +222,8 @@ import org.opensearch.action.ingest.PutPipelineAction;
|
|||
import org.opensearch.action.ingest.PutPipelineTransportAction;
|
||||
import org.opensearch.action.ingest.SimulatePipelineAction;
|
||||
import org.opensearch.action.ingest.SimulatePipelineTransportAction;
|
||||
import org.elasticsearch.action.main.MainAction;
|
||||
import org.elasticsearch.action.main.TransportMainAction;
|
||||
import org.opensearch.action.main.MainAction;
|
||||
import org.opensearch.action.main.TransportMainAction;
|
||||
import org.elasticsearch.action.search.ClearScrollAction;
|
||||
import org.elasticsearch.action.search.MultiSearchAction;
|
||||
import org.elasticsearch.action.search.SearchAction;
|
||||
|
@ -241,8 +241,8 @@ import org.opensearch.action.termvectors.TermVectorsAction;
|
|||
import org.opensearch.action.termvectors.TransportMultiTermVectorsAction;
|
||||
import org.opensearch.action.termvectors.TransportShardMultiTermsVectorAction;
|
||||
import org.opensearch.action.termvectors.TransportTermVectorsAction;
|
||||
import org.elasticsearch.action.update.TransportUpdateAction;
|
||||
import org.elasticsearch.action.update.UpdateAction;
|
||||
import org.opensearch.action.update.TransportUpdateAction;
|
||||
import org.opensearch.action.update.UpdateAction;
|
||||
import org.opensearch.client.node.NodeClient;
|
||||
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
||||
import org.opensearch.cluster.node.DiscoveryNodes;
|
||||
|
@ -254,7 +254,7 @@ import org.elasticsearch.common.settings.ClusterSettings;
|
|||
import org.elasticsearch.common.settings.IndexScopedSettings;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.common.settings.SettingsFilter;
|
||||
import org.elasticsearch.index.seqno.RetentionLeaseActions;
|
||||
import org.opensearch.index.seqno.RetentionLeaseActions;
|
||||
import org.opensearch.indices.SystemIndices;
|
||||
import org.opensearch.indices.breaker.CircuitBreakerService;
|
||||
import org.opensearch.persistent.CompletionPersistentTaskAction;
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
package org.opensearch.action;
|
||||
|
||||
import org.apache.lucene.util.Accountable;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.support.IndicesOptions;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.common.Nullable;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
package org.opensearch.action;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.elasticsearch.action.support.WriteRequest;
|
||||
import org.elasticsearch.action.support.WriteRequest.RefreshPolicy;
|
||||
import org.elasticsearch.action.support.WriteResponse;
|
||||
import org.elasticsearch.action.support.replication.ReplicationResponse;
|
||||
import org.opensearch.action.support.WriteRequest;
|
||||
import org.opensearch.action.support.WriteRequest.RefreshPolicy;
|
||||
import org.opensearch.action.support.WriteResponse;
|
||||
import org.opensearch.action.support.replication.ReplicationResponse;
|
||||
import org.opensearch.cluster.metadata.IndexMetadata;
|
||||
import org.elasticsearch.common.Nullable;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
|
@ -31,10 +31,10 @@ import org.opensearch.common.io.stream.Writeable;
|
|||
import org.elasticsearch.common.xcontent.StatusToXContentObject;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.common.xcontent.XContentParser;
|
||||
import org.elasticsearch.index.Index;
|
||||
import org.elasticsearch.index.IndexSettings;
|
||||
import org.elasticsearch.index.seqno.SequenceNumbers;
|
||||
import org.elasticsearch.index.shard.ShardId;
|
||||
import org.opensearch.index.Index;
|
||||
import org.opensearch.index.IndexSettings;
|
||||
import org.opensearch.index.seqno.SequenceNumbers;
|
||||
import org.opensearch.index.shard.ShardId;
|
||||
import org.opensearch.rest.RestStatus;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -44,8 +44,8 @@ import java.util.Locale;
|
|||
import java.util.Objects;
|
||||
|
||||
import static org.elasticsearch.common.xcontent.XContentParserUtils.ensureExpectedToken;
|
||||
import static org.elasticsearch.index.seqno.SequenceNumbers.UNASSIGNED_PRIMARY_TERM;
|
||||
import static org.elasticsearch.index.seqno.SequenceNumbers.UNASSIGNED_SEQ_NO;
|
||||
import static org.opensearch.index.seqno.SequenceNumbers.UNASSIGNED_PRIMARY_TERM;
|
||||
import static org.opensearch.index.seqno.SequenceNumbers.UNASSIGNED_SEQ_NO;
|
||||
|
||||
/**
|
||||
* A base class for the response of a write operation that involves a single doc
|
||||
|
@ -146,7 +146,7 @@ public abstract class DocWriteResponse extends ReplicationResponse implements Wr
|
|||
}
|
||||
|
||||
/**
|
||||
* Needed for deserialization of single item requests in {@link org.elasticsearch.action.index.IndexAction} and BwC
|
||||
* Needed for deserialization of single item requests in {@link org.opensearch.action.index.IndexAction} and BwC
|
||||
* deserialization path
|
||||
*/
|
||||
protected DocWriteResponse(StreamInput in) throws IOException {
|
||||
|
|
|
@ -24,8 +24,8 @@ import org.elasticsearch.ExceptionsHelper;
|
|||
import org.elasticsearch.ResourceNotFoundException;
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.opensearch.action.ActionListenerResponseHandler;
|
||||
import org.elasticsearch.action.get.GetRequest;
|
||||
import org.elasticsearch.action.get.GetResponse;
|
||||
import org.opensearch.action.get.GetRequest;
|
||||
import org.opensearch.action.get.GetResponse;
|
||||
import org.opensearch.action.support.ActionFilters;
|
||||
import org.opensearch.action.support.HandledTransportAction;
|
||||
import org.opensearch.client.Client;
|
||||
|
|
|
@ -24,9 +24,9 @@ import org.elasticsearch.ExceptionsHelper;
|
|||
import org.elasticsearch.Version;
|
||||
import org.opensearch.action.DocWriteRequest.OpType;
|
||||
import org.opensearch.action.DocWriteResponse;
|
||||
import org.elasticsearch.action.delete.DeleteResponse;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.delete.DeleteResponse;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.elasticsearch.common.CheckedConsumer;
|
||||
import org.elasticsearch.common.ParseField;
|
||||
import org.opensearch.common.Strings;
|
||||
|
|
|
@ -21,8 +21,8 @@ package org.opensearch.action.bulk;
|
|||
|
||||
import org.opensearch.action.DocWriteRequest;
|
||||
import org.opensearch.action.DocWriteResponse;
|
||||
import org.elasticsearch.action.delete.DeleteResponse;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.delete.DeleteResponse;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.elasticsearch.action.support.replication.ReplicationResponse;
|
||||
import org.elasticsearch.action.support.replication.TransportWriteAction;
|
||||
import org.elasticsearch.index.engine.Engine;
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.opensearch.action.bulk;
|
|||
import org.opensearch.action.ActionListener;
|
||||
import org.opensearch.action.DocWriteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.client.Client;
|
||||
import org.elasticsearch.common.Nullable;
|
||||
import org.opensearch.common.bytes.BytesReference;
|
||||
|
|
|
@ -25,12 +25,12 @@ import org.opensearch.action.ActionRequest;
|
|||
import org.opensearch.action.ActionRequestValidationException;
|
||||
import org.opensearch.action.CompositeIndicesRequest;
|
||||
import org.opensearch.action.DocWriteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.support.ActiveShardCount;
|
||||
import org.opensearch.action.support.WriteRequest;
|
||||
import org.elasticsearch.action.support.replication.ReplicationRequest;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.common.Nullable;
|
||||
import org.opensearch.common.Strings;
|
||||
import org.opensearch.common.bytes.BytesArray;
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
package org.opensearch.action.bulk;
|
||||
|
||||
import org.opensearch.action.ActionRequestBuilder;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteRequestBuilder;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.delete.DeleteRequestBuilder;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequestBuilder;
|
||||
import org.opensearch.action.support.ActiveShardCount;
|
||||
import org.opensearch.action.support.WriteRequestBuilder;
|
||||
import org.elasticsearch.action.support.replication.ReplicationRequest;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.action.update.UpdateRequestBuilder;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateRequestBuilder;
|
||||
import org.opensearch.client.OpenSearchClient;
|
||||
import org.elasticsearch.common.Nullable;
|
||||
import org.elasticsearch.common.unit.TimeValue;
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
package org.opensearch.action.bulk;
|
||||
|
||||
import org.opensearch.action.DocWriteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.delete.DeleteRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.common.Nullable;
|
||||
import org.elasticsearch.common.ParseField;
|
||||
import org.opensearch.common.bytes.BytesArray;
|
||||
|
|
|
@ -23,10 +23,10 @@ import org.apache.logging.log4j.LogManager;
|
|||
import org.apache.logging.log4j.Logger;
|
||||
import org.apache.lucene.util.SparseFixedBitSet;
|
||||
import org.elasticsearch.Assertions;
|
||||
import org.elasticsearch.OpenSearchParseException;
|
||||
import org.opensearch.OpenSearchParseException;
|
||||
import org.elasticsearch.ExceptionsHelper;
|
||||
import org.elasticsearch.ResourceAlreadyExistsException;
|
||||
import org.elasticsearch.Version;
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.opensearch.action.ActionRunnable;
|
||||
import org.opensearch.action.DocWriteRequest;
|
||||
|
@ -35,14 +35,14 @@ import org.opensearch.action.RoutingMissingException;
|
|||
import org.opensearch.action.admin.indices.create.AutoCreateAction;
|
||||
import org.opensearch.action.admin.indices.create.CreateIndexRequest;
|
||||
import org.opensearch.action.admin.indices.create.CreateIndexResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.ingest.IngestActionForwarder;
|
||||
import org.opensearch.action.support.ActionFilters;
|
||||
import org.opensearch.action.support.AutoCreateIndex;
|
||||
import org.opensearch.action.support.HandledTransportAction;
|
||||
import org.elasticsearch.action.update.TransportUpdateAction;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.TransportUpdateAction;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.client.node.NodeClient;
|
||||
import org.opensearch.cluster.ClusterState;
|
||||
import org.opensearch.cluster.ClusterStateObserver;
|
||||
|
@ -59,12 +59,12 @@ import org.opensearch.common.inject.Inject;
|
|||
import org.opensearch.common.lease.Releasable;
|
||||
import org.elasticsearch.common.unit.TimeValue;
|
||||
import org.elasticsearch.common.util.concurrent.AtomicArray;
|
||||
import org.elasticsearch.index.Index;
|
||||
import org.elasticsearch.index.IndexNotFoundException;
|
||||
import org.elasticsearch.index.IndexingPressure;
|
||||
import org.elasticsearch.index.VersionType;
|
||||
import org.elasticsearch.index.seqno.SequenceNumbers;
|
||||
import org.elasticsearch.index.shard.ShardId;
|
||||
import org.opensearch.index.Index;
|
||||
import org.opensearch.index.IndexNotFoundException;
|
||||
import org.opensearch.index.IndexingPressure;
|
||||
import org.opensearch.index.VersionType;
|
||||
import org.opensearch.index.seqno.SequenceNumbers;
|
||||
import org.opensearch.index.shard.ShardId;
|
||||
import org.opensearch.indices.IndexClosedException;
|
||||
import org.opensearch.indices.SystemIndices;
|
||||
import org.opensearch.ingest.IngestService;
|
||||
|
@ -92,8 +92,8 @@ import java.util.stream.Collectors;
|
|||
|
||||
import static java.util.Collections.emptyMap;
|
||||
import static org.opensearch.cluster.metadata.IndexNameExpressionResolver.EXCLUDED_DATA_STREAMS_KEY;
|
||||
import static org.elasticsearch.index.seqno.SequenceNumbers.UNASSIGNED_PRIMARY_TERM;
|
||||
import static org.elasticsearch.index.seqno.SequenceNumbers.UNASSIGNED_SEQ_NO;
|
||||
import static org.opensearch.index.seqno.SequenceNumbers.UNASSIGNED_PRIMARY_TERM;
|
||||
import static org.opensearch.index.seqno.SequenceNumbers.UNASSIGNED_SEQ_NO;
|
||||
|
||||
/**
|
||||
* Groups bulk request items by shard, optionally creating non-existent indices and
|
||||
|
@ -150,7 +150,7 @@ public class TransportBulkAction extends HandledTransportAction<BulkRequest, Bul
|
|||
|
||||
/**
|
||||
* Retrieves the {@link IndexRequest} from the provided {@link DocWriteRequest} for index or upsert actions. Upserts are
|
||||
* modeled as {@link IndexRequest} inside the {@link UpdateRequest}. Ignores {@link org.elasticsearch.action.delete.DeleteRequest}'s
|
||||
* modeled as {@link IndexRequest} inside the {@link UpdateRequest}. Ignores {@link org.opensearch.action.delete.DeleteRequest}'s
|
||||
*
|
||||
* @param docWriteRequest The request to find the {@link IndexRequest}
|
||||
* @return the found {@link IndexRequest} or {@code null} if one can not be found.
|
||||
|
|
|
@ -30,14 +30,14 @@ import org.opensearch.action.DocWriteRequest;
|
|||
import org.opensearch.action.DocWriteResponse;
|
||||
import org.elasticsearch.action.delete.DeleteRequest;
|
||||
import org.elasticsearch.action.delete.DeleteResponse;
|
||||
import org.elasticsearch.action.index.IndexRequest;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.index.IndexRequest;
|
||||
import org.opensearch.action.index.IndexResponse;
|
||||
import org.opensearch.action.support.ActionFilters;
|
||||
import org.opensearch.action.support.replication.TransportReplicationAction;
|
||||
import org.opensearch.action.support.replication.TransportWriteAction;
|
||||
import org.elasticsearch.action.update.UpdateHelper;
|
||||
import org.elasticsearch.action.update.UpdateRequest;
|
||||
import org.elasticsearch.action.update.UpdateResponse;
|
||||
import org.opensearch.action.update.UpdateHelper;
|
||||
import org.opensearch.action.update.UpdateRequest;
|
||||
import org.opensearch.action.update.UpdateResponse;
|
||||
import org.opensearch.cluster.ClusterState;
|
||||
import org.opensearch.cluster.ClusterStateObserver;
|
||||
import org.opensearch.cluster.action.index.MappingUpdatedAction;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.delete;
|
||||
package org.opensearch.action.delete;
|
||||
|
||||
import org.opensearch.action.ActionType;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.delete;
|
||||
package org.opensearch.action.delete;
|
||||
|
||||
import org.apache.lucene.util.RamUsageEstimator;
|
||||
import org.elasticsearch.Version;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.delete;
|
||||
package org.opensearch.action.delete;
|
||||
|
||||
import org.opensearch.action.support.WriteRequestBuilder;
|
||||
import org.opensearch.action.support.replication.ReplicationRequestBuilder;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,12 +17,12 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.delete;
|
||||
package org.opensearch.action.delete;
|
||||
|
||||
import org.opensearch.action.DocWriteResponse;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.elasticsearch.common.xcontent.XContentParser;
|
||||
import org.elasticsearch.index.shard.ShardId;
|
||||
import org.opensearch.index.shard.ShardId;
|
||||
import org.opensearch.rest.RestStatus;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -32,7 +32,7 @@ import static org.elasticsearch.common.xcontent.XContentParserUtils.ensureExpect
|
|||
/**
|
||||
* The response of the delete action.
|
||||
*
|
||||
* @see org.elasticsearch.action.delete.DeleteRequest
|
||||
* @see org.opensearch.action.delete.DeleteRequest
|
||||
* @see org.opensearch.client.Client#delete(DeleteRequest)
|
||||
*/
|
||||
public class DeleteResponse extends DocWriteResponse {
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.delete;
|
||||
package org.opensearch.action.delete;
|
||||
|
||||
import org.opensearch.action.bulk.TransportBulkAction;
|
||||
import org.opensearch.action.bulk.TransportSingleItemBulkWriteAction;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -20,4 +20,4 @@
|
|||
/**
|
||||
* Delete action.
|
||||
*/
|
||||
package org.elasticsearch.action.delete;
|
||||
package org.opensearch.action.delete;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.explain;
|
||||
package org.opensearch.action.explain;
|
||||
|
||||
import org.opensearch.action.ActionType;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.explain;
|
||||
package org.opensearch.action.explain;
|
||||
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
||||
import org.opensearch.action.ValidateActions;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.explain;
|
||||
package org.opensearch.action.explain;
|
||||
|
||||
import org.opensearch.action.support.single.shard.SingleShardOperationRequestBuilder;
|
||||
import org.opensearch.client.OpenSearchClient;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.explain;
|
||||
package org.opensearch.action.explain;
|
||||
|
||||
import org.apache.lucene.search.Explanation;
|
||||
import org.opensearch.action.ActionResponse;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -20,4 +20,4 @@
|
|||
/**
|
||||
* Explain action.
|
||||
*/
|
||||
package org.elasticsearch.action.explain;
|
||||
package org.opensearch.action.explain;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.elasticsearch.common.ParseField;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.action.ActionType;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionRequest;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionResponse;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionRequest;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.action.ActionRequestBuilder;
|
||||
import org.opensearch.client.OpenSearchClient;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.action.ActionResponse;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.fieldcaps;
|
||||
package org.opensearch.action.fieldcaps;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.action.ActionType;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.elasticsearch.Version;
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
||||
|
@ -44,7 +44,7 @@ import static org.opensearch.action.ValidateActions.addValidationError;
|
|||
* The operation requires the {@link #index()}, {@link #type(String)} and {@link #id(String)}
|
||||
* to be set.
|
||||
*
|
||||
* @see org.elasticsearch.action.get.GetResponse
|
||||
* @see GetResponse
|
||||
* @see org.opensearch.client.Requests#getRequest(String)
|
||||
* @see org.opensearch.client.Client#get(GetRequest)
|
||||
*/
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.action.support.single.shard.SingleShardOperationRequestBuilder;
|
||||
import org.opensearch.client.OpenSearchClient;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.elasticsearch.OpenSearchParseException;
|
||||
import org.opensearch.action.ActionResponse;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.action.ActionType;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.elasticsearch.OpenSearchParseException;
|
||||
import org.opensearch.Version;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.action.ActionRequestBuilder;
|
||||
import org.opensearch.client.OpenSearchClient;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.OpenSearchException;
|
||||
import org.opensearch.action.ActionResponse;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import com.carrotsearch.hppc.IntArrayList;
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import com.carrotsearch.hppc.IntArrayList;
|
||||
import org.opensearch.action.ActionResponse;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.opensearch.action.RoutingMissingException;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.opensearch.action.ActionListener;
|
||||
import org.opensearch.action.RoutingMissingException;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
||||
|
||||
import org.apache.logging.log4j.message.ParameterizedMessage;
|
||||
import org.opensearch.action.ActionListener;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -20,4 +20,4 @@
|
|||
/**
|
||||
* Get action.
|
||||
*/
|
||||
package org.elasticsearch.action.get;
|
||||
package org.opensearch.action.get;
|
|
@ -7,7 +7,7 @@
|
|||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.action.index;
|
||||
package org.opensearch.action.index;
|
||||
|
||||
import org.opensearch.action.ActionType;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue