Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAsyncBulkByScrollActionTestCase<Request,
Response> - Class in org.elasticsearch.index.reindex - AbstractAsyncBulkByScrollActionTestCase() - Constructor for class org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase
- AbstractBlobContainerRetriesTestCase - Class in org.elasticsearch.repositories.blobstore
- AbstractBlobContainerRetriesTestCase() - Constructor for class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- AbstractBlobContainerRetriesTestCase.ZeroInputStream - Class in org.elasticsearch.repositories.blobstore
-
A resettable InputStream that only serves zeros.
- AbstractBootstrapCheckTestCase - Class in org.elasticsearch.test
- AbstractBootstrapCheckTestCase() - Constructor for class org.elasticsearch.test.AbstractBootstrapCheckTestCase
- AbstractBroadcastResponseTestCase<T> - Class in org.elasticsearch.test
- AbstractBroadcastResponseTestCase() - Constructor for class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- AbstractBuilderTestCase - Class in org.elasticsearch.test
- AbstractBuilderTestCase() - Constructor for class org.elasticsearch.test.AbstractBuilderTestCase
- AbstractBWCSerializationTestCase<T> - Class in org.elasticsearch.test
- AbstractBWCSerializationTestCase() - Constructor for class org.elasticsearch.test.AbstractBWCSerializationTestCase
- AbstractBytesReferenceTestCase - Class in org.elasticsearch.common.bytes
- AbstractBytesReferenceTestCase() - Constructor for class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- AbstractChunkedSerializingTestCase<T> - Class in org.elasticsearch.test
- AbstractChunkedSerializingTestCase() - Constructor for class org.elasticsearch.test.AbstractChunkedSerializingTestCase
- AbstractCoordinatorTestCase - Class in org.elasticsearch.cluster.coordination
- AbstractCoordinatorTestCase() - Constructor for class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- AbstractCoordinatorTestCase.Cluster - Class in org.elasticsearch.cluster.coordination
- AbstractCoordinatorTestCase.Cluster.ClusterNode - Class in org.elasticsearch.cluster.coordination
-
Mimics a cluster node for testing.
- AbstractCoordinatorTestCase.CoordinationServices - Interface in org.elasticsearch.cluster.coordination
- AbstractCoordinatorTestCase.CoordinatorStrategy - Interface in org.elasticsearch.cluster.coordination
- AbstractCoordinatorTestCase.CoordinatorTestClusterStateUpdateTask - Interface in org.elasticsearch.cluster.coordination
- AbstractCoordinatorTestCase.DefaultCoordinatorStrategy - Class in org.elasticsearch.cluster.coordination
- AbstractCoordinatorTestCase.DisruptibleRegisterConnection - Interface in org.elasticsearch.cluster.coordination
- AbstractEventExpectation(String, String, Level, String) - Constructor for class org.elasticsearch.test.MockLog.AbstractEventExpectation
- AbstractFilteringTestCase - Class in org.elasticsearch.common.xcontent.support
-
Tests for
XContent
filtering. - AbstractFilteringTestCase() - Constructor for class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- AbstractFilteringTestCase.Builder - Interface in org.elasticsearch.common.xcontent.support
- AbstractGeoTestCase - Class in org.elasticsearch.search.aggregations.metrics
- AbstractGeoTestCase() - Constructor for class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- AbstractHttpFixture - Class in org.elasticsearch.test.fixture
-
Base class for test fixtures that requires a
HttpServer
to work. - AbstractHttpFixture() - Constructor for class org.elasticsearch.test.fixture.AbstractHttpFixture
- AbstractHttpFixture(String) - Constructor for class org.elasticsearch.test.fixture.AbstractHttpFixture
- AbstractHttpFixture(String, int) - Constructor for class org.elasticsearch.test.fixture.AbstractHttpFixture
- AbstractHttpFixture.Request - Class in org.elasticsearch.test.fixture
-
Represents an HTTP Request.
- AbstractHttpFixture.RequestHandler - Interface in org.elasticsearch.test.fixture
- AbstractHttpFixture.Response - Record Class in org.elasticsearch.test.fixture
-
Represents an HTTP Response.
- AbstractHttpServerTransportTestCase - Class in org.elasticsearch.http
- AbstractHttpServerTransportTestCase() - Constructor for class org.elasticsearch.http.AbstractHttpServerTransportTestCase
- AbstractIndexRecoveryIntegTestCase - Class in org.elasticsearch.indices.recovery
- AbstractIndexRecoveryIntegTestCase() - Constructor for class org.elasticsearch.indices.recovery.AbstractIndexRecoveryIntegTestCase
- AbstractIndicesClusterStateServiceTestCase - Class in org.elasticsearch.indices.cluster
-
Abstract base class for tests against
IndicesClusterStateService
- AbstractIndicesClusterStateServiceTestCase() - Constructor for class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase
- AbstractIndicesClusterStateServiceTestCase.MockIndexService - Class in org.elasticsearch.indices.cluster
-
Mock for
IndexService
- AbstractIndicesClusterStateServiceTestCase.MockIndexShard - Class in org.elasticsearch.indices.cluster
-
Mock for
IndexShard
- AbstractIndicesClusterStateServiceTestCase.MockIndicesService - Class in org.elasticsearch.indices.cluster
-
Mock for
IndicesService
- AbstractMultiClustersTestCase - Class in org.elasticsearch.test
- AbstractMultiClustersTestCase() - Constructor for class org.elasticsearch.test.AbstractMultiClustersTestCase
- AbstractNamedWriteableTestCase<T> - Class in org.elasticsearch.test
-
Standard test case for testing the wire serialization of subclasses of NamedWriteable.
- AbstractNamedWriteableTestCase() - Constructor for class org.elasticsearch.test.AbstractNamedWriteableTestCase
- AbstractNonTextScriptFieldTypeTestCase - Class in org.elasticsearch.index.mapper
- AbstractNonTextScriptFieldTypeTestCase() - Constructor for class org.elasticsearch.index.mapper.AbstractNonTextScriptFieldTypeTestCase
- AbstractNumericTestCase - Class in org.elasticsearch.search.aggregations.metrics
- AbstractNumericTestCase() - Constructor for class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- AbstractNXYSignificanceHeuristicTestCase - Class in org.elasticsearch.search.aggregations.bucket
-
Abstract test case for testing NXY significant term heuristics
- AbstractNXYSignificanceHeuristicTestCase() - Constructor for class org.elasticsearch.search.aggregations.bucket.AbstractNXYSignificanceHeuristicTestCase
- AbstractQueryTestCase<QB> - Class in org.elasticsearch.test
- AbstractQueryTestCase() - Constructor for class org.elasticsearch.test.AbstractQueryTestCase
- AbstractQueryVectorBuilderTestCase<T> - Class in org.elasticsearch.test
-
Tests a query vector builder
- AbstractQueryVectorBuilderTestCase() - Constructor for class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- AbstractRerankerIT - Class in org.elasticsearch.search.rank.rerank
-
this base class acts as a wrapper for testing different rerankers, and their behavior when exceptions are thrown the main idea is that we: - index some documents, with a rank feature field and a search field - have a random initial scoring - rerank the results based on the rank feature field (converting String -> Float) - assert that the results are correctly reranked and that we properly close all resources
- AbstractRerankerIT() - Constructor for class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- AbstractRerankerIT.ThrowingRankBuilderType - Enum Class in org.elasticsearch.search.rank.rerank
- AbstractScriptFieldQueryTestCase<T> - Class in org.elasticsearch.search.runtime
- AbstractScriptFieldQueryTestCase() - Constructor for class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- AbstractScriptFieldQueryTests - Class in org.elasticsearch.search.runtime
- AbstractScriptFieldQueryTests() - Constructor for class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTests
- AbstractScriptFieldTypeTestCase - Class in org.elasticsearch.index.mapper
- AbstractScriptFieldTypeTestCase() - Constructor for class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- AbstractSearchCancellationTestCase - Class in org.elasticsearch.test
- AbstractSearchCancellationTestCase() - Constructor for class org.elasticsearch.test.AbstractSearchCancellationTestCase
- AbstractSearchCancellationTestCase.ScriptedBlockPlugin - Class in org.elasticsearch.test
- AbstractSearchCancellationTestCase.SearchShardBlockingPlugin - Class in org.elasticsearch.test
- AbstractSerializationTestCase<T> - Class in org.elasticsearch.test
- AbstractSerializationTestCase() - Constructor for class org.elasticsearch.test.AbstractSerializationTestCase
- AbstractSignificanceHeuristicTestCase - Class in org.elasticsearch.search.aggregations.bucket
-
Abstract test case for testing significant term heuristics
- AbstractSignificanceHeuristicTestCase() - Constructor for class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- AbstractSimpleTransportTestCase - Class in org.elasticsearch.transport
- AbstractSimpleTransportTestCase() - Constructor for class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- AbstractSimpleTransportTestCase.StringMessageRequest - Class in org.elasticsearch.transport
- AbstractSimpleTransportTestCase.TestRequest - Class in org.elasticsearch.transport
- AbstractSimpleTransportTestCase.Version0Request - Class in org.elasticsearch.transport
- AbstractSimpleTransportTestCase.Version1Request - Class in org.elasticsearch.transport
- AbstractSnapshotIntegTestCase - Class in org.elasticsearch.snapshots
- AbstractSnapshotIntegTestCase() - Constructor for class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- AbstractTermsTestCase - Class in org.elasticsearch.search.aggregations.bucket
- AbstractTermsTestCase() - Constructor for class org.elasticsearch.search.aggregations.bucket.AbstractTermsTestCase
- AbstractThirdPartyRepositoryTestCase - Class in org.elasticsearch.repositories
- AbstractThirdPartyRepositoryTestCase() - Constructor for class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- AbstractWireSerializingTestCase<T> - Class in org.elasticsearch.test
-
Standard test case for testing the wire serialization of subclasses of Writeable.
- AbstractWireSerializingTestCase() - Constructor for class org.elasticsearch.test.AbstractWireSerializingTestCase
- AbstractWireTestCase<T> - Class in org.elasticsearch.test
-
Standard test case for testing wire serialization.
- AbstractWireTestCase() - Constructor for class org.elasticsearch.test.AbstractWireTestCase
- AbstractXContentSerializingTestCase<T> - Class in org.elasticsearch.test
- AbstractXContentSerializingTestCase() - Constructor for class org.elasticsearch.test.AbstractXContentSerializingTestCase
- AbstractXContentTestCase<T> - Class in org.elasticsearch.test
- AbstractXContentTestCase() - Constructor for class org.elasticsearch.test.AbstractXContentTestCase
- AbstractXContentTestCase.XContentTester<T> - Class in org.elasticsearch.test
-
Tests converting to and from xcontent.
- accept(DataSourceHandler) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ArrayWrapper
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ByteGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ChildFieldGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DoubleGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DynamicMappingGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FieldTypeGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FloatGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.HalfFloatGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.IntegerGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LongGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.NullWrapper
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectArrayGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ShortGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.StringGenerator
- accept(DataSourceHandler) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.UnsignedLongGenerator
- action() - Method in record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Returns the value of the
action
record component. - ActionListenerUtils - Class in org.elasticsearch.test
-
Test utilities for working with
ActionListener
s. - ActionListenerUtils() - Constructor for class org.elasticsearch.test.ActionListenerUtils
- ActionTestUtils - Class in org.elasticsearch.action.support
- activeDisruption - Variable in class org.elasticsearch.test.disruption.NetworkDisruption
- actual - Variable in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- actualMappings - Variable in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- actualSettings - Variable in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- adaptResponse(Response, IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction
- add(double) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleUpDownCounter
- add(double, Map<String, Object>) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleUpDownCounter
- add(long) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongUpDownCounter
- add(long, Map<String, Object>) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongUpDownCounter
- addActionBlock(String) - Method in class org.elasticsearch.transport.DisruptableMockTransport
- addBinaryInput(byte[]) - Method in class org.elasticsearch.cli.MockTerminal
-
Adds a binary input that will be returned from reading this Terminal.
- addBwCFailedSnapshot(String, String, Map<String, Object>) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
-
Adds a snapshot in state
SnapshotState.FAILED
to the given repository. - addCleanup(Runnable) - Method in class org.elasticsearch.indices.recovery.RecoveryClusterStateDelayListeners
- addCloseListener(ActionListener<Void>) - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpChannel
- addCloseListener(ActionListener<Void>) - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- addCloseListener(ActionListener<Void>) - Method in class org.elasticsearch.transport.FakeTcpChannel
- addConnectBehavior(TransportAddress, StubbableTransport.OpenConnectionBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a new connect behavior that is used for creating connections with the given delegate address.
- addConnectBehavior(TransportService, StubbableTransport.OpenConnectionBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a new connect behavior that is used for creating connections with the given delegate service.
- addConnectListener(ActionListener<Void>) - Method in class org.elasticsearch.transport.FakeTcpChannel
- addDfsResult() - Method in class org.elasticsearch.test.TestSearchContext
- addDoc(LuceneDocument) - Method in class org.elasticsearch.index.mapper.TestDocumentParserContext
- addDocument(RandomIndexWriter, Iterable<T>) - Static method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
-
Add the provided document to the provided writer, and randomly flush.
- addEstimateBytesAndMaybeBreak(long, String) - Method in class org.elasticsearch.common.breaker.TestCircuitBreaker
- addEstimateBytesAndMaybeBreak(long, String) - Method in class org.elasticsearch.common.util.MockBigArrays.LimitedBreaker
- addExpectation(MockLog.LoggingExpectation) - Method in class org.elasticsearch.test.MockLog
- addFailToSendNoConnectRule(TransportAddress) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause every send request to fail, and each new connect since the rule is added to fail as well.
- addFailToSendNoConnectRule(TransportAddress, Set<String>) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause matching operations to throw ConnectTransportExceptions
- addFailToSendNoConnectRule(TransportService) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause every send request to fail, and each new connect since the rule is added to fail as well.
- addFailToSendNoConnectRule(TransportService, String...) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause matching operations to throw ConnectTransportExceptions
- addFailToSendNoConnectRule(TransportService, Set<String>) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause matching operations to throw ConnectTransportExceptions
- addFetchResult() - Method in class org.elasticsearch.test.TestSearchContext
- addGetConnectionBehavior(TransportAddress, StubbableConnectionManager.GetConnectionBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a get connection behavior that is used for communication with the given delegate address.
- addGetConnectionBehavior(TransportAddress, StubbableConnectionManager.GetConnectionBehavior) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- addGetConnectionBehavior(StubbableConnectionManager.GetConnectionBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a get connection behavior that is the default get connection behavior.
- additionalNamedContents() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Any extra named xcontents required not registered by
SearchModule
- additionalNamedWriteables() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Any extra named writeables required not registered by
SearchModule
- additionalPlugins() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- additionalSettings() - Method in class org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
- addKnownAllocation(ShardRouting) - Method in class org.elasticsearch.test.gateway.TestGatewayAllocator
-
manually add a specific shard to the allocations the gateway keeps track of
- addLifecycleListener(LifecycleListener) - Method in class org.elasticsearch.test.transport.StubbableTransport
- addListener(MockTaskManagerListener) - Method in class org.elasticsearch.test.tasks.MockTaskManager
- addListener(TransportConnectionListener) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- addMockCloseImplementation(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- addMockFSIndexStore() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns
true
if this test cluster can use theMockFSIndexStore
test plugin. - addMockHttpTransport() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns
true
iff this test cluster should use a dummy http transport - addMockHttpTransport() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
True if a dummy http transport should be used, or false if the real http transport should be used.
- addMockInternalEngine() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns
true
if this test cluster can use a mock internal engine. - addMockTransportService() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Iff this returns true mock transport implementations are used for the test runs.
- addMultiField(MockFieldMapper.Builder) - Method in class org.elasticsearch.index.mapper.MockFieldMapper.Builder
- addNodeConnectedBehavior(StubbableConnectionManager.NodeConnectedBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a node connected behavior that is the default node connected behavior.
- addOnStopListener(Runnable) - Method in class org.elasticsearch.test.transport.MockTransportService
- addQueryResult() - Method in class org.elasticsearch.test.TestSearchContext
- addRandomDocuments(String, int) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- addRandomField(Random, IngestDocument, Object) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Adds a random non existing field to the provided document and associates it with the provided value.
- addRankFeatureResult() - Method in class org.elasticsearch.test.TestSearchContext
- addRemovedListener(ActionListener<Void>) - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- addReplica() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- addReplica(IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- addReplicaWithExistingPath(ShardPath, String) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- addRequestHandlingBehavior(String, StubbableTransport.RequestHandlingBehavior<R>) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a new handling behavior that is used when the defined request is received.
- addRescore(RescoreContext) - Method in class org.elasticsearch.test.TestSearchContext
- address(String, String, TransportAddress) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- address(TransportAddress) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- addressesFromString(String) - Method in class org.elasticsearch.test.transport.FakeTransport
- addressesFromString(String) - Method in class org.elasticsearch.test.transport.StubbableTransport
- addRetentionLease(String, long, String, ActionListener<ReplicationResponse>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- addRoles(Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.test.NodeRoles
- addRoles(Settings, Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.test.NodeRoles
- addSecretInput(String) - Method in class org.elasticsearch.cli.MockTerminal
-
Adds a character input that will be returned from reading a secret from this Terminal.
- addSendBehavior(TransportAddress, StubbableTransport.SendRequestBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a new send behavior that is used for communication with the given delegate address.
- addSendBehavior(StubbableTransport.SendRequestBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a send behavior that is the default send behavior.
- addSendBehavior(TransportService, StubbableTransport.SendRequestBehavior) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a new send behavior that is used for communication with the given delegate service.
- addsValueWhenNotSupplied() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- addTemporaryStateListener(ClusterService, Predicate<ClusterState>) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- addTextInput(String) - Method in class org.elasticsearch.cli.MockTerminal
-
Adds a character input that will be returned from reading this Terminal.
- addUnresponsiveRule(TransportAddress) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node and failing to connect once the rule was added.
- addUnresponsiveRule(TransportAddress, TimeValue) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node and failing to connect once the rule was added.
- addUnresponsiveRule(TransportService) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node and failing to connect once the rule was added.
- addUnresponsiveRule(TransportService, TimeValue) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node and failing to connect once the rule was added.
- addWithoutBreaking(long) - Method in class org.elasticsearch.common.util.MockBigArrays.LimitedBreaker
- addXContentBody(Request, ToXContent) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- admin() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a random admin client.
- admin() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Returns an admin client.
- adminClient() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Get the client used for test administrative actions.
- advanceTime() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
-
Advance the current time to the time of the next deferred task, and update the sets of deferred and runnable tasks accordingly.
- after() - Method in class org.elasticsearch.test.ESTestCase
- after() - Method in class org.elasticsearch.test.TestTrustStore
- afterClass() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- afterClass() - Static method in class org.elasticsearch.test.ESIntegTestCase
- afterClose() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Hook for checking things after all
Aggregator
s have been closed. - afterIfFailed(List<Throwable>) - Method in class org.elasticsearch.test.ESTestCase
-
Called when a test fails, supplying the errors it generated.
- afterIfSuccessful() - Method in class org.elasticsearch.test.ESTestCase
-
called after a test is finished, but only if successful
- afterIndexCreated(IndexService) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- afterIndexRemoved(Index, IndexSettings, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- afterIndexShardClosed(ShardId, IndexShard, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- afterIndexShardCreated(IndexShard) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- afterIndexShardDeleted(ShardId, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- afterIndexShardStarted(IndexShard) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- afterPrimariesBeforeReplicas(RoutingAllocation, Predicate<ShardRouting>) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
- afterPrimariesBeforeReplicas(RoutingAllocation, Predicate<ShardRouting>) - Method in class org.elasticsearch.test.gateway.TestGatewayAllocator
- afterTest() - Method in class org.elasticsearch.test.AbstractBuilderTestCase
- afterTest() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- afterTest() - Method in class org.elasticsearch.test.InternalTestCluster
- afterTest() - Method in class org.elasticsearch.test.TestCluster
-
This method should be executed during tear down, after each test (but after assertAfterTest)
- aggCardinalityUpperBound(String) - Static method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Request an aggregation that returns the
CardinalityUpperBound
that was passed to its ctor. - aggName() - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- aggName() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- AGGREGABLE_DATE - Static variable in class org.elasticsearch.search.aggregations.bucket.DateHistogramAggregatorTestCase
-
A date that is always "aggregable" because it has doc values but may or may not have a search index.
- aggregableDateFieldType(boolean, boolean) - Method in class org.elasticsearch.search.aggregations.bucket.DateHistogramAggregatorTestCase
- aggregableDateFieldType(boolean, boolean, DateFormatter) - Method in class org.elasticsearch.search.aggregations.bucket.DateHistogramAggregatorTestCase
- aggregations() - Method in class org.elasticsearch.test.TestSearchContext
- aggregations(SearchContextAggregations) - Method in class org.elasticsearch.test.TestSearchContext
- AggregatorTestCase - Class in org.elasticsearch.search.aggregations
-
Base class for testing
Aggregator
implementations. - AggregatorTestCase() - Constructor for class org.elasticsearch.search.aggregations.AggregatorTestCase
- AggregatorTestCase.AggregationcContextSupplier - Interface in org.elasticsearch.search.aggregations
- AggregatorTestCase.AggTestConfig - Record Class in org.elasticsearch.search.aggregations
- AggregatorTestCase.InternalAggCardinalityUpperBound - Class in org.elasticsearch.search.aggregations
- AggTestConfig(Query, AggregationBuilder, int, boolean, boolean, boolean, boolean, boolean, MappedFieldType...) - Constructor for record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Creates an instance of a
AggTestConfig
record class. - AggTestConfig(AggregationBuilder, MappedFieldType...) - Constructor for record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- aliases() - Element in annotation interface org.elasticsearch.test.SkipUnavailableRule.NotSkipped
- aliasExists(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- aliasExists(String, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- ALL_FEATURES - Static variable in interface org.elasticsearch.test.rest.TestFeatureService
- ALL_ROLES_EXCEPT_VOTING_ONLY - Static variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- ALL_VERSIONS - Static variable in class org.elasticsearch.index.KnownIndexVersions
-
A sorted list of all known index versions
- ALL_WRITE_VERSIONS - Static variable in class org.elasticsearch.index.KnownIndexVersions
-
A sorted list of all known index versions that can be written to
- allBreakersMemoryReleased() - Method in class org.elasticsearch.test.ESTestCase
- allocateUnassigned(ShardRouting, RoutingAllocation, ExistingShardsAllocator.UnassignedAllocationHandler) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
- allocateUnassigned(ShardRouting, RoutingAllocation, ExistingShardsAllocator.UnassignedAllocationHandler) - Method in class org.elasticsearch.test.gateway.TestGatewayAllocator
- allocationId - Variable in class org.elasticsearch.index.engine.EngineTestCase
- allowExpensiveQueries() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
-
If this field is allowed to be executed when setting allow_expensive_queries us set to false.
- allowNodes(String, int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Restricts the given index to be allocated on
n
nodes using the allocation deciders. - allowShardFailures() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
by default, tests will fail if any shard created by this class fails.
- allowsIndexTimeScript() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- allowsNullValues() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- allReleasedVersions() - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns all released versions
- allReleasedVersions() - Static method in class org.elasticsearch.test.TransportVersionUtils
-
Returns all released versions
- allVersions() - Static method in class org.elasticsearch.test.VersionUtils
-
Returns an immutable, sorted list containing all versions, both released and unreleased.
- AnalysisFactoryTestCase - Class in org.elasticsearch.indices.analysis
-
Alerts us if new analysis components are added to Lucene, so we don't miss them.
- AnalysisFactoryTestCase(AnalysisPlugin) - Constructor for class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- AnalysisFactoryTestCase.MovedToAnalysisCommon - Class in org.elasticsearch.indices.analysis
-
Marker class for components that have moved to the analysis-common modules.
- AnalysisTestsHelper - Class in org.elasticsearch.index.analysis
- AnalysisTestsHelper() - Constructor for class org.elasticsearch.index.analysis.AnalysisTestsHelper
- AnnotationTestOrdering - Class in org.elasticsearch.test
-
Test case ordering to be used in conjunction with
TestCaseOrdering
. - AnnotationTestOrdering() - Constructor for class org.elasticsearch.test.AnnotationTestOrdering
- AnnotationTestOrdering.Order - Annotation Interface in org.elasticsearch.test
- anyActionListener() - Static method in class org.elasticsearch.test.ActionListenerUtils
-
Returns a Mockito matcher for any argument that is an
ActionListener
. - anyCheckedFunction() - Static method in class org.elasticsearch.test.CheckedFunctionUtils
-
Returns a Mockito matcher for any argument that is an
CheckedFunction
. - anyCheckedSupplier() - Static method in class org.elasticsearch.test.CheckedFunctionUtils
-
Returns a Mockito matcher for any argument that is an
CheckedSupplier
. - anyCollection() - Static method in class org.elasticsearch.test.ActionListenerUtils
-
Returns a Mockito matcher for any argument that is a
Collection
. - appendAllOpts(Description) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
- appendDocs(int) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- appendEnvironmentSettings() - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
- appendOpt(String, String) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
Append a single VM option.
- appendProperties(String...) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
- apply(Map<String, Object>) - Method in class org.elasticsearch.script.MockDeterministicScript
- apply(Statement, Description) - Method in class org.elasticsearch.test.junit.RunnableTestRuleAdapter
- apply(Statement, Description) - Method in class org.elasticsearch.test.SkipUnavailableRule
- applyDefaultMapping(boolean) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase.TestMapperServiceBuilder
- applyDisruption(MockTransportService, MockTransportService) - Method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
- applyDisruption(MockTransportService, MockTransportService) - Method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkLinkDisruptionType
-
Applies network disruption for requests send from the node represented by the source transport service to the node represented by the target transport service.
- applyFailedShards(List<FailedShard>, RoutingAllocation) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
- applyFailedShards(List<FailedShard>, RoutingAllocation) - Method in class org.elasticsearch.test.gateway.TestGatewayAllocator
- applyOperation(Engine, Engine.Operation) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- applyOperations(Engine, List<Engine.Operation>) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- applySettings(Settings) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- applyStartedShards(List<ShardRouting>, RoutingAllocation) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
- applyStartedShards(List<ShardRouting>, RoutingAllocation) - Method in class org.elasticsearch.test.gateway.TestGatewayAllocator
- applyStartedShardsUntilNoChange(ClusterState, AllocationService) - Method in class org.elasticsearch.cluster.ESAllocationTestCase
- applyToCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- applyToCluster(InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- applyToCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
- applyToNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- applyToNode(String, InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- applyToNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
- area(XYPolygon) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- ArrayWrapper() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ArrayWrapper
-
Creates an instance of a
ArrayWrapper
record class. - ArrayWrapper(Function<Supplier<Object>, Supplier<Object>>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ArrayWrapper
-
Creates an instance of a
ArrayWrapper
record class. - asDeterministic(Function<Map<String, Object>, Object>) - Static method in class org.elasticsearch.script.MockDeterministicScript
- asInstanceOf(Class<T>, Object) - Static method in class org.elasticsearch.test.ESTestCase
- asNonDeterministic(Function<Map<String, Object>, Object>) - Static method in class org.elasticsearch.script.MockDeterministicScript
- assertAcked(ActionFuture<? extends IsAcknowledgedSupplier>...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAcked(CreateIndexRequestBuilder...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert that an index creation was fully acknowledged, meaning that both the index creation cluster state update was successful and that the requisite number of shard copies were started before returning.
- assertAcked(CreateIndexResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAcked(RequestBuilder<?, ? extends IsAcknowledgedSupplier>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAcked(RequestBuilder<?, ? extends IsAcknowledgedSupplier>...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAcked(RequestBuilder<?, ? extends IsAcknowledgedSupplier>, TimeValue) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAcked(IsAcknowledgedSupplier) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAcknowledged(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- AssertActionNamePlugin() - Constructor for class org.elasticsearch.test.ESIntegTestCase.AssertActionNamePlugin
- assertAfterTest() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- assertAfterTest() - Method in class org.elasticsearch.test.InternalTestCluster
- assertAfterTest() - Method in class org.elasticsearch.test.TestCluster
-
This method checks all the things that need to be checked after each test
- assertAggregatableConsistency(MappedFieldType) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertAllCancellableTasksAreCancelled(String) - Static method in class org.elasticsearch.test.TaskAssertions
- assertAllCancellableTasksAreCancelled(String, String) - Static method in class org.elasticsearch.test.TaskAssertions
- assertAllEqual(int) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- assertAllExpectationsMatched() - Method in class org.elasticsearch.test.MockLog
- assertAllPagesReleased() - Method in class org.elasticsearch.cluster.coordination.CountingPageCacheRecycler
- assertAllPersistedStatesClosed() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- assertAllShardsOnNodes(String, String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Asserts that all shards are allocated on nodes matching the given node pattern.
- assertAllSuccessful(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAllSuccessful(BaseBroadcastResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertAllTasksHaveFinished(String) - Static method in class org.elasticsearch.test.TaskAssertions
- assertArrayEquals(StackTraceElement[], StackTraceElement[]) - Static method in class org.elasticsearch.test.ESTestCase
-
Compares two stack traces, ignoring module (which is not yet serialized)
- assertAtMostOneLuceneDocumentPerSequenceNumber(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertAtMostOneLuceneDocumentPerSequenceNumber(IndexSettings, DirectoryReader) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertBlobsByPrefix(BlobStoreRepository, BlobPath, String, Map<String, BlobMetadata>) - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
- assertBlocked(Integer, Exception) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Checks that the given exception is a
ClusterBlockException
; if the given block ID is notnull
then the given exception must match that ID. - assertBlocked(RequestBuilder<?, ?>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Executes the request and fails if the request has not been blocked.
- assertBlocked(RequestBuilder<?, ?>, Integer) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Executes the request and fails if the request has not been blocked by a specific
ClusterBlock
. - assertBlocked(RequestBuilder<?, ?>, ClusterBlock) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Executes the request and fails if the request has not been blocked by a specific
ClusterBlock
. - assertBlocked(BaseBroadcastResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Checks that all shard requests of a replicated broadcast request failed due to a cluster block
- assertBooleanSubQuery(Query, Class<T>, int) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertBoundsLimits(SpatialBounds<T>) - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- assertBucketCountsScaled(List<? extends MultiBucketsAggregation.Bucket>, List<? extends MultiBucketsAggregation.Bucket>, SamplingContext) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- assertBusy(CheckedRunnable<Exception>) - Static method in class org.elasticsearch.test.ESTestCase
-
Runs the code block for 10 seconds waiting for no assertion to trip.
- assertBusy(CheckedRunnable<Exception>, long, TimeUnit) - Static method in class org.elasticsearch.test.ESTestCase
-
Runs the code block for the provided interval, waiting for no assertions to trip.
- assertBwcSerialization(T, TransportVersion) - Method in class org.elasticsearch.test.AbstractBWCSerializationTestCase
-
Assert that instances copied at a particular version are equal.
- assertCheckedResponse(ActionFuture<SearchResponse>, CheckedConsumer<SearchResponse, IOException>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertCheckedResponse(RequestBuilder<?, SearchResponse>, CheckedConsumer<SearchResponse, IOException>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertChunkCount(T, ToIntFunction<T>) - Static method in class org.elasticsearch.test.AbstractChunkedSerializingTestCase
- assertChunkCount(T, ToXContent.Params, ToIntFunction<T>) - Static method in class org.elasticsearch.test.AbstractChunkedSerializingTestCase
- assertCleanupResponse(CleanupRepositoryResponse, long, long) - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- assertClusterStateMatchesNodeState(ClusterState, IndicesClusterStateService) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase
-
Checks if cluster state matches internal state of IndicesClusterStateService instance
- assertConsistency(BlobStoreRepository) - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
-
Assert that there are no unreferenced indices or unreferenced root-level metadata blobs in any repository.
- assertConsistencyAsync(BlobStoreRepository) - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
-
Same as
BlobStoreTestUtil.assertConsistency(BlobStoreRepository)
but async so it can be used in tests that don't allow blocking. - assertConsistentHistoryBetweenTranslogAndLucene(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- assertConsistentHistoryBetweenTranslogAndLuceneIndex() - Method in class org.elasticsearch.test.InternalTestCluster
-
Asserts that the document history in Lucene index is consistent with Translog's on every index shard of the cluster.
- assertConsistentHistoryBetweenTranslogAndLuceneIndex(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Asserts the provided engine has a consistent document history between translog and Lucene index.
- assertConsistentHistoryInLuceneIndex() - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- assertCriticalWarnings(String...) - Method in class org.elasticsearch.test.ESTestCase
-
Convenience method to assert warnings for settings deprecations and general deprecation warnings.
- assertDiffApplication(T, T, Diff<T>) - Static method in class org.elasticsearch.test.DiffableTestUtils
-
Asserts that changes are applied correctly, i.e.
- assertDimension(boolean, Function<T, Boolean>) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertDocCount(String, long) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- assertDocCount(RestClient, String, long) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Assert that the index in question has the given number of documents present
- assertDocCount(IndexShard, int) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- assertDocs(IndexShard, String...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- assertDocValuesDisabled(List<IndexableField>) - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- assertEmptyRepo(Map<String, BytesReference>) - Static method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- assertEmptyTranslog(String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Asserts that we do not retain any extra translog for the given index (i.e., turn off the translog retention)
- assertEmptyVisit() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- assertEnumSerialization(Class<E>, E, E...) - Static method in class org.elasticsearch.test.EnumSerializationTestUtils
-
Assert that the enum constants of the given class are exactly the ones passed in explicitly as arguments, which fixes its wire protocol when using
StreamOutput.writeEnum(E)
andStreamInput.readEnum(Class)
. - assertEqualInstances(T, T) - Method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- assertEqualInstances(T, T) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Assert that two instances are equal.
- assertEqualInstances(T, T) - Method in class org.elasticsearch.test.AbstractXContentTestCase
- assertEquals(StackTraceElement, StackTraceElement) - Static method in class org.elasticsearch.test.ESTestCase
-
Compares two stack trace elements, ignoring module (which is not yet serialized)
- assertEqualsConsumer(BiConsumer<T, T>) - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- assertExists(GetResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertExistsQuery(MappedFieldType, Query, LuceneDocument) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertExistsQuery(MapperService) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertFailures(SearchRequestBuilder, Set<RestStatus>, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertFailures(SearchRequestBuilder, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertFailures(SearchRequestBuilder, RestStatus, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertFailures(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertFetch(MapperService, String, Object, String) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Assert that fetching a value using
MappedFieldType.valueFetcher(org.elasticsearch.index.query.SearchExecutionContext, java.lang.String)
produces the same value as fetching using doc values. - assertFetchMany(MapperService, String, Object, String, int) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Assert that fetching many values using
MappedFieldType.valueFetcher(org.elasticsearch.index.query.SearchExecutionContext, java.lang.String)
produces the same values as fetching using doc values. - assertFileCount(Path, int) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- assertFileExists(Path) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Check if a file exists
- assertFileNotExists(Path) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Check if a file does not exist
- assertFirstHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertFitsIn(ByteSizeValue, Function<BigArrays, Releasable>) - Static method in class org.elasticsearch.common.util.MockBigArrays
-
Assert that a function returning a
Releasable
runs to completion when allocated a breaker with that breaks when it uses more thanmax
bytes and that the function doesn't leak any BigArrays if it is given a breaker that allows fewer bytes. - assertFourthHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertFutureThrows(ActionFuture<?>, Class<E>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type
- assertFutureThrows(ActionFuture<?>, Class<E>, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type
- assertFutureThrows(ActionFuture<?>, Class<E>, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type, with a given
RestStatus
- assertFutureThrows(ActionFuture<?>, Class<E>, RestStatus, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type, optionally checking the exception's rest status
- assertFutureThrows(ActionFuture<?>, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertFutureThrows(ActionFuture<?>, RestStatus, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHasNorms(LuceneDocument, String) - Static method in class org.elasticsearch.index.mapper.MapperTestCase
- assertHeaders(RestClient, Map<String, String>) - Method in class org.elasticsearch.client.RestClientBuilderTestCase
-
Checks the given rest client has the provided default headers.
- assertHighlight(ActionFuture<SearchResponse>, int, String, int, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHighlight(SearchRequestBuilder, int, String, int, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHighlight(SearchResponse, int, String, int, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHighlight(SearchResponse, int, String, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHighlight(SearchHit, String, int, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHighlight(SearchHit, String, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHighlights(Map<String, HighlightField>, String, String...) - Static method in class org.elasticsearch.search.fetch.HighlighterTestCase
-
Given a set of highlights, assert that any particular field has the expected fragments
- assertHitCount(long, SearchRequestBuilder...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHitCount(ActionFuture<SearchResponse>, long) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHitCount(SearchRequestBuilder, long) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHitCount(SearchResponse, long) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertHitCountAndNoFailures(SearchRequestBuilder, long) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertIndexDisabled(List<IndexableField>) - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- assertIndexTemplateExists(GetIndexTemplatesResponse, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert that an index template exists
- assertIndexTemplateMissing(GetIndexTemplatesResponse, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert that an index template is missing
- assertIngestDocument(IngestDocument, IngestDocument) - Static method in class org.elasticsearch.ingest.IngestDocumentMatcher
-
Helper method to assert the equivalence between two IngestDocuments.
- assertInstanceBinding(Module, Class<T>, Predicate<T>) - Static method in class org.elasticsearch.injection.guice.ModuleTestCase
-
Configures the module, and ensures an instance is bound to the "to" class, and the provided tester returns true on the instance.
- assertLeakDetected() - Static method in class org.elasticsearch.test.ESTestCase
-
Assert that at least one leak was detected, also clear the list of detected leaks so the test won't fail for leaks detected up until this point.
- assertLuceneQuery(QB, Query, SearchExecutionContext) - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Checks the result of
QueryBuilder.toQuery(SearchExecutionContext)
given the originalQueryBuilder
andSearchExecutionContext
. - assertMap(String, T, Matcher<? super T>) - Static method in class org.elasticsearch.test.MapMatcher
-
Assert match.
- assertMap(T, Matcher<? super T>) - Static method in class org.elasticsearch.test.MapMatcher
-
Assert match.
- assertMatched() - Method in class org.elasticsearch.test.MockLog.EventuallySeenEventExpectation
- assertMatched() - Method in interface org.elasticsearch.test.MockLog.LoggingExpectation
-
Returns if this expectation is matched, otherwise throws an
AssertionError
. - assertMatched() - Method in class org.elasticsearch.test.MockLog.PatternSeenEventExpectation
- assertMatched() - Method in class org.elasticsearch.test.MockLog.SeenEventExpectation
- assertMatched() - Method in class org.elasticsearch.test.MockLog.UnseenEventExpectation
- assertMaxSeqNoInCommitUserData(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Asserts that the max_seq_no stored in the commit's user_data is never smaller than seq_no of any document in the commit.
- assertMetricType(String, Function<T, Enum<TimeSeriesParams.MetricType>>) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertMultiBucketConsumer(Aggregation, MultiBucketConsumerService.MultiBucketConsumer) - Static method in class org.elasticsearch.test.InternalAggregationTestCase
- assertMultipleValues(List<IndexableField>) - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- assertNoDocValuesField(LuceneDocument, String) - Static method in class org.elasticsearch.index.mapper.MapperTestCase
- assertNoFailureListener(CheckedConsumer<T, Exception>) - Static method in class org.elasticsearch.action.support.ActionTestUtils
- assertNoFailures() - Method in class org.elasticsearch.test.BackgroundIndexer
- assertNoFailures(BulkResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoFailures(RequestBuilder<? extends ActionRequest, SearchResponse>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoFailures(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoFailures(BaseBroadcastResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoFailuresAndResponse(ActionFuture<SearchResponse>, Consumer<SearchResponse>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoFailuresAndResponse(RequestBuilder<? extends ActionRequest, SearchResponse>, Consumer<SearchResponse>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoFieldNamesField(LuceneDocument) - Static method in class org.elasticsearch.index.mapper.MapperTestCase
- assertNoFileBasedRecovery(String, Predicate<String>) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Asserts that replicas on nodes satisfying the
targetNode
should have perform operation-based recoveries. - assertNoInFlightContext() - Static method in class org.elasticsearch.search.MockSearchService
-
Throw an
AssertionError
if there are still in-flight contexts. - assertNoInFlightDocsInEngine() - Method in class org.elasticsearch.test.InternalTestCluster
- assertNoInFlightDocuments(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertNoPendingHandshakes(Transport) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- assertNoSearchHits(SearchRequestBuilder) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoSearchHits(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoSuccessListener(Consumer<Exception>) - Static method in class org.elasticsearch.action.support.ActionTestUtils
- assertNotHighlighted(SearchRequestBuilder, int, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNotHighlighted(SearchResponse, int, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoTimeout(ClusterHealthRequestBuilder) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoTimeout(ClusterHealthResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertNoWarningHeaderOnResponse(Client, ActionRequestBuilder<?, T>, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Check the response of a client request to ensure it does not have a warning header that contains the provided string Currently, this allows a fixed 10 seconds for response to be received
- assertNumHandshakes(long, Transport) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- assertOk(String...) - Method in class org.elasticsearch.cli.CommandTestCase
- assertOK(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- assertOKAndConsume(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- assertOKAndCreateObjectPath(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- assertOkWithOutput(Matcher<String>, Matcher<String>, String...) - Method in class org.elasticsearch.cli.CommandTestCase
- assertOnBWCObject(T, T, TransportVersion) - Method in class org.elasticsearch.test.AbstractBWCSerializationTestCase
- assertOpsOnReplica(List<Engine.Operation>, InternalEngine, boolean, Logger) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertOrderedSearchHits(SearchRequestBuilder, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertOrderedSearchHits(SearchResponse, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertParsedQuery(String, QueryBuilder) - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Parses the query provided as string argument and compares it with the expected result provided as argument as a
QueryBuilder
- assertParseMaximalWarnings() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertParseMinimalWarnings() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertReduced(T, List<T>) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- assertReduced(T, List<T>) - Method in class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- assertReduced(T, List<T>) - Method in class org.elasticsearch.test.InternalAggregationTestCase
- assertRepoConsistency() - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- assertRequestBuilderThrows(RequestBuilder<?, ?>, Class<E>, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run the request from a given builder and check that it throws an exception of the right type
- assertRequestBuilderThrows(RequestBuilder<?, ?>, Class<E>, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run the request from a given builder and check that it throws an exception of the right type, with a given
RestStatus
- assertRequestBuilderThrows(RequestBuilder<?, ?>, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertRequestBuilderThrows(RequestBuilder<?, ?>, RestStatus, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertRequestsFinished() - Method in class org.elasticsearch.test.InternalTestCluster
- assertResponse(ActionFuture<R>, Consumer<R>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertResponse(RequestBuilder<Q, R>, Consumer<R>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertResponses(Consumer<R>, RequestBuilder<Q, R>...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Same as
ElasticsearchAssertions.assertResponse(RequestBuilder, Consumer)
but runs the same assertion on multiple requests that are started concurrently. - assertResultMap(Map<String, Object>, Object, Object) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- assertResultMap(Map<String, Object>, MapMatcher, Matcher<?>, Matcher<?>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Match result columns and values, with default matchers for metadata.
- assertResultMap(Map<String, Object>, Matcher<?>, Matcher<?>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Match result columns and values, with default matchers for metadata.
- assertResultsAndLogOnFailure(long, SearchResponse) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the result counts are as expected, and logs the results if different
- assertSameCentroid(SpatialPoint, SpatialPoint) - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- assertSameDocIdsOnShards() - Method in class org.elasticsearch.test.InternalTestCluster
-
Asserts that all shards with the same shardId should have document Ids.
- assertSampled(T, T, SamplingContext) - Method in class org.elasticsearch.test.InternalAggregationTestCase
- assertSampled(T, T, SamplingContext) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- assertScriptDocValues(MapperService, Object, Matcher<List<?>>) - Static method in class org.elasticsearch.index.mapper.MapperTestCase
- assertScrollResponsesAndHitCount(Client, TimeValue, SearchRequestBuilder, int, BiConsumer<Integer, SearchResponse>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
A helper to enable the testing of scroll requests with ref-counting.
- assertSearchable(MappedFieldType) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- assertSearchHit(SearchResponse, int, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertSearchHits(SearchRequestBuilder, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertSearchHits(SearchResponse, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertSearchHitsWithoutFailures(SearchRequestBuilder, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertSecondHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertSeqNos() - Method in class org.elasticsearch.test.InternalTestCluster
- assertSerialization(QueryBuilder) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- assertSerialization(QueryBuilder, TransportVersion) - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Serialize the given query builder and asserts that both are equal
- assertSerialization(T) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Serialize the given instance and asserts that both are equal.
- assertSerialization(T, NamedWriteableRegistry, Writeable.Reader<T>) - Static method in class org.elasticsearch.test.DiffableTestUtils
-
Asserts that testInstance can be correctly.
- assertSerialization(T, TransportVersion) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Assert that instances copied at a particular version are equal.
- assertSettingDeprecationsAndWarnings(Setting<?>[], ESTestCase.DeprecationWarning...) - Method in class org.elasticsearch.test.ESTestCase
-
Convenience method to assert warnings for settings deprecations and general deprecation warnings.
- assertSimilarValue(double, double) - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- assertSnapshotListSorted(List<SnapshotInfo>, SnapshotSortKey, SortOrder) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- assertSortedSegments(String, Sort) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Asserts that all segments are sorted with the provided
Sort
. - assertSortValues(SearchRequestBuilder, Object[]...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertStateEquals(ClusterState, ClusterState) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- assertSuccessful(Logger, ActionFuture<CreateSnapshotResponse>) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- assertSuccessful(ActionFuture<CreateSnapshotResponse>) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- assertSuccessfulRestore(RestoreSnapshotRequestBuilder) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- assertSuccessfulSnapshot(CreateSnapshotRequestBuilder) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- assertSuggestion(Suggest, int, int, String, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertSuggestion(Suggest, int, String, int, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert suggestion returns size suggestions and the first are the provided text.
- assertSuggestion(Suggest, int, String, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert suggestion returns exactly the provided text.
- assertSuggestionPhraseCollateMatchExists(Suggest, String, int) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertSuggestionSize(Suggest, int, int, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertTermOrBoostQuery(Query, String, String, float) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- assertTermQuery(Query, String, String) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- assertThat(String, T, Matcher<? super T>) - Static method in class org.elasticsearch.test.ESTestCase
- assertThat(T, Matcher<? super T>) - Static method in class org.elasticsearch.test.ESTestCase
- assertThatLogger(Runnable, Class<?>, MockLog.LoggingExpectation...) - Static method in class org.elasticsearch.test.MockLog
-
Executes an action and verifies expectations against the provided logger
- assertThirdHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- assertToString(T) - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- assertToXContentAfterSerialization(AB, AB) - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
-
Make sure serialization preserves toXContent.
- assertToXContentEquivalence() - Method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- assertToXContentEquivalence() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Whether or not to assert equivalence of the
XContent
of the test instance and the instance parsed from theXContent
of the test instance. - assertToXContentEquivalence() - Method in class org.elasticsearch.test.AbstractXContentTestCase
- assertToXContentEquivalence(boolean) - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- assertToXContentEquivalent(BytesReference, BytesReference, XContentType) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Asserts that the provided
BytesReference
s created throughToXContent.toXContent(XContentBuilder, ToXContent.Params)
hold the same content. - assertUsage(Matcher<String>, String...) - Method in class org.elasticsearch.cli.CommandTestCase
- assertValidBlockId(String) - Static method in class org.elasticsearch.repositories.azure.AzureFixtureHelper
- assertVisibleCount(Engine, int) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertVisibleCount(Engine, int, boolean) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertVisibleCount(InternalEngine, int) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertVisibleCount(InternalEngine, int, boolean) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- assertWarningHeaderOnResponse(Client, ActionRequestBuilder<?, T>, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Check the response of a client request to ensure it has a warning header that contains the provided string Currently, this allows a fixed 10 seconds for response to be received
- assertWarnings(boolean, ESTestCase.DeprecationWarning...) - Method in class org.elasticsearch.test.ESTestCase
- assertWarnings(String...) - Method in class org.elasticsearch.test.ESTestCase
-
Convenience method to assert warnings for settings deprecations and general deprecation warnings.
- assignedShardsIn(RoutingNode) - Static method in class org.elasticsearch.cluster.routing.RoutingNodesHelper
- assignedShardsIn(RoutingNodes) - Static method in class org.elasticsearch.cluster.routing.RoutingNodesHelper
- asStream(IndexShardRoutingTable) - Static method in class org.elasticsearch.cluster.routing.RoutingNodesHelper
-
Returns a stream over all
ShardRouting
in aIndexShardRoutingTable
. - asSubAggTestCase(AggregationBuilder, Consumer<R>) - Method in class org.elasticsearch.search.aggregations.bucket.DateHistogramAggregatorTestCase
- asSubAggTestCase(AggregationBuilder, CheckedBiConsumer<RandomIndexWriter, DateFieldMapper.DateFieldType, IOException>, Consumer<R>) - Method in class org.elasticsearch.search.aggregations.bucket.DateHistogramAggregatorTestCase
- asXContent(T) - Method in class org.elasticsearch.test.AbstractChunkedSerializingTestCase
- asXContent(T) - Method in class org.elasticsearch.test.AbstractSerializationTestCase
- asXContent(T) - Method in class org.elasticsearch.test.AbstractXContentSerializingTestCase
- asyncRecoverReplica(IndexShard, BiFunction<IndexShard, DiscoveryNode, RecoveryTarget>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- AsyncRecoveryTarget - Class in org.elasticsearch.indices.recovery
-
Wraps a
RecoveryTarget
to make all remote calls to be executed asynchronously using the providedexecutor
. - AsyncRecoveryTarget(RecoveryTargetHandler, Executor) - Constructor for class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- attributes() - Method in record class org.elasticsearch.telemetry.Measurement
-
Returns the value of the
attributes
record component. - attributes(Map<String, String>) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- autoManageMasterNodes() - Element in annotation interface org.elasticsearch.test.ESIntegTestCase.ClusterScope
-
Indicates whether the cluster automatically manages cluster bootstrapping and the removal of any master-eligible nodes.
- autoManageVotingExclusions() - Method in class org.elasticsearch.test.ESIntegTestCase
- available() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
- awaitAllExpectationsMatched() - Method in class org.elasticsearch.test.MockLog
- awaitClusterState(Predicate<ClusterState>) - Method in class org.elasticsearch.test.ESIntegTestCase
- awaitClusterState(Logger, String, Predicate<ClusterState>) - Static method in class org.elasticsearch.test.ESIntegTestCase
- awaitClusterState(Logger, Predicate<ClusterState>) - Static method in class org.elasticsearch.test.ESIntegTestCase
- awaitClusterState(Logger, Predicate<ClusterState>, ClusterService) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- awaitForBlock(List<AbstractSearchCancellationTestCase.ScriptedBlockPlugin>) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- awaitIdle() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- awaitIndexShardCloseAsyncTasks() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- awaitIndexShardCloseAsyncTasks() - Method in class org.elasticsearch.test.InternalTestCluster
- awaitIndexShardCloseAsyncTasks(IndicesClusterStateService) - Static method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase
- awaitLatch(CountDownLatch, long, TimeUnit) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Wait for a latch to countdown and provide a useful error message if it does not Often latches are called as
assertTrue(latch.await(1, TimeUnit.SECONDS));
In case of a failure this will just throw an assertion error without any further message - awaitLogger(Runnable, Class<?>, MockLog.LoggingExpectation...) - Static method in class org.elasticsearch.test.MockLog
-
Executes an action and waits until the given logging expectations are satisfied.
- awaitMasterFinishRepoOperations() - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- awaitMatched(long) - Method in class org.elasticsearch.test.MockLog.EventuallySeenEventExpectation
- awaitMatched(long) - Method in interface org.elasticsearch.test.MockLog.LoggingExpectation
-
Returns if this expectation is matched within the given number of milliseconds, otherwise throws an
AssertionError
. - awaitMatched(long) - Method in class org.elasticsearch.test.MockLog.PatternSeenEventExpectation
- awaitMatched(long) - Method in class org.elasticsearch.test.MockLog.SeenEventExpectation
- awaitNDeletionsInProgress(int) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- awaitNoMoreRunningOperations() - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- awaitNoMoreRunningOperations(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- awaitNoPendingTasks(ClusterService) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- awaitNumberOfSnapshotsInProgress(int) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- awaitNumberOfSnapshotsInProgress(Logger, int) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- awaitStopped() - Method in class org.elasticsearch.test.BackgroundIndexer
- awaitTaskWithPrefix(String) - Static method in class org.elasticsearch.test.TaskAssertions
- awaitTaskWithPrefixOnMaster(String) - Static method in class org.elasticsearch.test.TaskAssertions
- awaitTermination(long, TimeUnit) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- AzureFixtureHelper - Class in org.elasticsearch.repositories.azure
B
- B_1 - Static variable in class org.elasticsearch.index.engine.EngineTestCase
- B_2 - Static variable in class org.elasticsearch.index.engine.EngineTestCase
- B_3 - Static variable in class org.elasticsearch.index.engine.EngineTestCase
- BackgroundIndexer - Class in org.elasticsearch.test
- BackgroundIndexer(String, Client, int) - Constructor for class org.elasticsearch.test.BackgroundIndexer
-
Start indexing in the background using a random number of threads.
- BackgroundIndexer(String, Client, int, int) - Constructor for class org.elasticsearch.test.BackgroundIndexer
-
Start indexing in the background using a given number of threads.
- BackgroundIndexer(String, Client, int, int, boolean, Random) - Constructor for class org.elasticsearch.test.BackgroundIndexer
-
Start indexing in the background using a given number of threads.
- backingIndexEqualTo(String, int) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- backingIndexPattern(String, long) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- BaseAggregationTestCase<AB> - Class in org.elasticsearch.search.aggregations
- BaseAggregationTestCase() - Constructor for class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- BasePipelineAggregationTestCase<AF> - Class in org.elasticsearch.search.aggregations
- BasePipelineAggregationTestCase() - Constructor for class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- BasePointShapeQueryTestCase<T> - Class in org.elasticsearch.search.geo
-
Collection of tests that can be applied to both geographic and cartesian coordinate data.
- BasePointShapeQueryTestCase() - Constructor for class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- BaseShapeIntegTestCase<T> - Class in org.elasticsearch.search.geo
- BaseShapeIntegTestCase() - Constructor for class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- BaseShapeQueryTestCase<T> - Class in org.elasticsearch.search.geo
-
Collection of tests that can be applied to both geographic and cartesian coordinate data.
- BaseShapeQueryTestCase() - Constructor for class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- basicAuthHeaderValue(String, SecureString) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Construct a Basic auth header
- becomeCandidate(AbstractCoordinatorTestCase.Cluster.ClusterNode, String) - Static method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- before() - Method in class org.elasticsearch.test.ESTestCase
- before() - Method in class org.elasticsearch.test.TestTrustStore
- beforeAllocation(RoutingAllocation) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
- beforeAllocation(RoutingAllocation) - Method in class org.elasticsearch.test.gateway.TestGatewayAllocator
- beforeClass() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- beforeClass() - Static method in class org.elasticsearch.test.ESIntegTestCase
- beforeIndexAddedToCluster(Index, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- beforeIndexCreated(Index, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- beforeIndexDeletion() - Method in class org.elasticsearch.indices.recovery.AbstractIndexRecoveryIntegTestCase
- beforeIndexDeletion() - Method in class org.elasticsearch.test.ESIntegTestCase
- beforeIndexDeletion() - Method in class org.elasticsearch.test.InternalTestCluster
- beforeIndexDeletion() - Method in class org.elasticsearch.test.TestCluster
-
Assertions that should run before the cluster is wiped should be called in this method
- beforeIndexRemoved(IndexService, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- beforeIndexShardClosed(ShardId, IndexShard, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- beforeIndexShardCreated(ShardRouting, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- beforeIndexShardDeleted(ShardId, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- beforeInternal() - Method in class org.elasticsearch.test.ESIntegTestCase
- beforeTest() - Method in class org.elasticsearch.test.AbstractBuilderTestCase
- beforeTest(Random) - Method in class org.elasticsearch.test.InternalTestCluster
- beforeTest(Random) - Method in class org.elasticsearch.test.TestCluster
-
This method should be executed before each test to reset the cluster to its initial state.
- between(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
An alias for
ESTestCase.randomIntBetween(int, int)
. - bigarrays - Variable in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- BINARY_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- BinaryDocValues - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- bitsetFilterCache() - Method in class org.elasticsearch.test.TestSearchContext
- BLACK_HOLE - Enum constant in enum class org.elasticsearch.transport.DisruptableMockTransport.ConnectionStatus
-
Simulate a blackhole partition: inbound and outbound messages are silently discarded.
- BLACK_HOLE_REQUESTS_ONLY - Enum constant in enum class org.elasticsearch.transport.DisruptableMockTransport.ConnectionStatus
-
Simulate an asymmetric partition: outbound messages are silently discarded, but inbound messages are delivered normally.
- blobContainer(BlobPath) - Method in class org.elasticsearch.snapshots.mockstore.BlobStoreWrapper
- blobContainer(BlobPath) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository.MockBlobStore
- blobLengthFromContentLength(long) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- blobs() - Method in interface org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.BlobStoreHttpHandler
- BlobStoreCorruptionUtils - Class in org.elasticsearch.repositories.blobstore
- BlobStoreCorruptionUtils() - Constructor for class org.elasticsearch.repositories.blobstore.BlobStoreCorruptionUtils
- BlobStoreIndexShardSnapshotsIntegritySuppressor - Class in org.elasticsearch.index.snapshots.blobstore
-
Test utility class to suppress assertions about the integrity of the contents of a blobstore repository, in order to verify the production behaviour on encountering invalid data.
- BlobStoreIndexShardSnapshotsIntegritySuppressor() - Constructor for class org.elasticsearch.index.snapshots.blobstore.BlobStoreIndexShardSnapshotsIntegritySuppressor
- BlobStoreTestUtil - Class in org.elasticsearch.repositories.blobstore
- BlobStoreTestUtil() - Constructor for class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
- BlobStoreWrapper - Class in org.elasticsearch.snapshots.mockstore
- BlobStoreWrapper(BlobStore) - Constructor for class org.elasticsearch.snapshots.mockstore.BlobStoreWrapper
- blockAllDataNodes(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockAndFailDataNode(String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockAndFailOnDataFiles() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- BlockClusterStateProcessing - Class in org.elasticsearch.test.disruption
- BlockClusterStateProcessing(String, Random) - Constructor for class org.elasticsearch.test.disruption.BlockClusterStateProcessing
- blockDataNode(String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blocked() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- blockItemMatcher(Object) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- blockItemMatcher(Object) - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- blockLoaderReadValuesFromColumnAtATimeReader(DirectoryReader, MappedFieldType) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- blockLoaderReadValuesFromRowStrideReader(DirectoryReader, MappedFieldType) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- BlockLoaderTestCase - Class in org.elasticsearch.index.mapper
- BlockLoaderTestCase(FieldType) - Constructor for class org.elasticsearch.index.mapper.BlockLoaderTestCase
- blockMasterFromDeletingIndexNFile(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockMasterFromFinalizingSnapshotOnIndexFile(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockMasterFromFinalizingSnapshotOnSnapFile(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockMasterOnAnyDataFile(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockMasterOnShardLevelSnapshotFile(String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockMasterOnWriteIndexFile(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- BlockMasterServiceOnMaster - Class in org.elasticsearch.test.disruption
- BlockMasterServiceOnMaster(Random) - Constructor for class org.elasticsearch.test.disruption.BlockMasterServiceOnMaster
- blockNodeOnAnyFiles(String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockNodeWithIndex(String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- blockOnDataFiles() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- BlockReaderSupport(boolean, boolean, MapperService, String) - Constructor for record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Creates an instance of a
BlockReaderSupport
record class. - BlockReaderSupport(boolean, MapperService, String) - Constructor for record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
- body() - Method in record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
-
Returns the value of the
body
record component. - body() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- BOOLEAN_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- BOOLEAN_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- boostNotAllowedIndexVersion() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- BOOTSTRAP_MASTER_NODE_INDEX_AUTO - Static variable in class org.elasticsearch.test.InternalTestCluster
-
Default value of bootstrapMasterNodeIndex, indicating that bootstrapping should happen automatically.
- BOOTSTRAP_MASTER_NODE_INDEX_DONE - Static variable in class org.elasticsearch.test.InternalTestCluster
-
Sentinel value of bootstrapMasterNodeIndex, indicating that bootstrapMasterNodeIndex was set explicitly and has been used.
- BootstrapForTesting - Class in org.elasticsearch.bootstrap
-
Initializes natives and installs test security manager (init'd early by base classes to ensure it happens regardless of which test case happens to be first, test ordering, etc).
- BootstrapForTesting() - Constructor for class org.elasticsearch.bootstrap.BootstrapForTesting
- bootstrapIfNecessary() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- BottomTester() - Constructor for class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.BottomTester
- boundAddress() - Method in class org.elasticsearch.test.MockHttpTransport
- boundAddress() - Method in class org.elasticsearch.test.transport.FakeTransport
- boundAddress() - Method in class org.elasticsearch.test.transport.StubbableTransport
- boundingBoxQuery(String) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
-
A filter to filter based on a bounding box defined by top left and bottom right locations / points
- boundRemoteIngressAddress() - Method in class org.elasticsearch.test.transport.FakeTransport
- boundRemoteIngressAddress() - Method in class org.elasticsearch.test.transport.StubbableTransport
- boundsAgg(String, String) - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- BreakerTestUtil - Class in org.elasticsearch.test
- BreakerTestUtil() - Constructor for class org.elasticsearch.test.BreakerTestUtil
- Bridge(String, Set<String>, Set<String>) - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- build() - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- build() - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- build() - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase.TestMapperServiceBuilder
- build() - Method in class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- build() - Method in class org.elasticsearch.snapshots.SnapshotInfoUtils.SnapshotInfoBuilder
- build() - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- build(String, Map<String, Object>, OnScriptError) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- build(Settings, TransportVersion, ClusterSettings, boolean) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- build(MapperBuilderContext) - Method in class org.elasticsearch.index.mapper.MockFieldMapper.Builder
- buildAllocationId(ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- buildClient(Settings, HttpHost[]) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- buildDefault() - Static method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
- buildDoubleCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildDoubleGauge(String, String, String, Supplier<Collection<DoubleWithAttributes>>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildDoubleHistogram(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildDoubleUpDownCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildEnvSettings(Settings) - Method in class org.elasticsearch.test.ESTestCase
- builder() - Static method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
- builder() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
builder
record component. - builder() - Method in record class org.elasticsearch.test.InternalAggregationTestCase.BuilderAndToReduce
-
Returns the value of the
builder
record component. - builder(String) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- Builder() - Constructor for class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- Builder(String) - Constructor for class org.elasticsearch.index.mapper.MockFieldMapper.Builder
- Builder(ShardId, String, boolean, ShardRoutingState) - Constructor for class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- Builder(NamedXContentRegistry) - Constructor for class org.elasticsearch.test.rest.FakeRestRequest.Builder
- BuilderAndToReduce(AggregationBuilder, List<T>) - Constructor for record class org.elasticsearch.test.InternalAggregationTestCase.BuilderAndToReduce
-
Creates an instance of a
BuilderAndToReduce
record class. - builderFor(String) - Static method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- builderGeneratesCacheableQueries() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Whether the queries produced by this builder are expected to be cacheable.
- buildFilteredQuery(Query) - Method in class org.elasticsearch.test.TestSearchContext
- buildHttpHost(String, int) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Construct an HttpHost from the given host and port
- buildIndexMetadata(int) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- buildIndexMetadata(int, String) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- buildIndexMetadata(int, Settings, String) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- buildInput(XContentBuilder) - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
- buildInputArray(XContentBuilder, int) - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
- buildLongCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildLongGauge(String, String, String, Supplier<Collection<LongWithAttributes>>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildLongHistogram(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildLongUpDownCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- buildMockFieldMapper(MappedFieldType) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Build a
FieldMapper
to create theMappingLookup
used for the aggs. - buildNewFakeTransportAddress() - Static method in class org.elasticsearch.test.ESTestCase
-
Generates a new transport address using
TransportAddress.META_ADDRESS
with an incrementing port number. - buildQueryPhaseCoordinatorContext(int, int) - Method in class org.elasticsearch.search.rank.TestRankBuilder
- buildQueryPhaseShardContext(List<Query>, int) - Method in class org.elasticsearch.search.rank.TestRankBuilder
- buildRankFeaturePhaseCoordinatorContext(int, int, Client) - Method in class org.elasticsearch.search.rank.TestRankBuilder
- buildRankFeaturePhaseShardContext() - Method in class org.elasticsearch.search.rank.TestRankBuilder
- buildRecoverySource() - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- buildRecoverySource(boolean, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- buildRelocationFailureInfo(ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- buildScriptFactory(ScriptContext<?>) - Method in class org.elasticsearch.index.mapper.TestScriptEngine
- buildService(String, VersionInformation, TransportVersion, ClusterSettings, Settings) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- buildService(String, VersionInformation, TransportVersion, ClusterSettings, Settings, boolean, boolean) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- buildService(String, VersionInformation, TransportVersion, Settings) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- buildTestCluster(ESIntegTestCase.Scope, long) - Method in class org.elasticsearch.test.ESIntegTestCase
- buildUnassignedInfo(String) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- buildUnassignedInfo(ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- BuildUtils - Class in org.elasticsearch.test
-
Utilities for copying and mutating Build instances in tests.
- BuildUtils() - Constructor for class org.elasticsearch.test.BuildUtils
- BusyMasterServiceDisruption - Class in org.elasticsearch.test.disruption
- BusyMasterServiceDisruption(Random, Priority) - Constructor for class org.elasticsearch.test.disruption.BusyMasterServiceDisruption
- bwcVersions() - Method in class org.elasticsearch.test.AbstractBWCSerializationTestCase
-
The bwc versions to test serialization against
- BWCVersions - Class in org.elasticsearch.test
- BYTE - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- ByteFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- ByteFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.ByteFieldDataGenerator
- ByteGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ByteGenerator
-
Creates an instance of a
ByteGenerator
record class. - ByteGenerator(Supplier<Byte>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ByteGenerator
-
Creates an instance of a
ByteGenerator
record class. - bytePage(boolean) - Method in class org.elasticsearch.cluster.coordination.CountingPageCacheRecycler
- bytePage(boolean) - Method in class org.elasticsearch.common.util.MockPageCacheRecycler
- bytesArray(String) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- bytesContentType() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- byteSizeEquals(ByteSizeValue) - Static method in class org.elasticsearch.test.ByteSizeEqualsMatcher
- ByteSizeEqualsMatcher - Class in org.elasticsearch.test
-
Equality matcher for
ByteSizeValue
that has a nice description of failures.
C
- cachedKeys(IndicesRequestCache) - Static method in class org.elasticsearch.indices.IndicesRequestCacheUtils
- call(Number, Map<String, Object>) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
- call(InstrumentType, String, Number, Map<String, Object>) - Method in class org.elasticsearch.telemetry.MetricRecorder
-
Record a call made to the registered instrument represented by the
InstrumentType
enum. - call(Instrument, Number, Map<String, Object>) - Method in class org.elasticsearch.telemetry.MetricRecorder
-
Record a call made to a registered Elasticsearch
Instrument
. - CallbackRecordingInstrument(String, RecordingInstruments.NumberWithAttributesObserver, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
- canAddField(String, IngestDocument) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Checks whether the provided field name can be safely added to the provided document.
- canAllocate(ShardRouting, RoutingAllocation) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.TestAllocateDecision
- canAllocate(ShardRouting, RoutingNode, RoutingAllocation) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.TestAllocateDecision
- cancel(CancellableTask, String) - Static method in class org.elasticsearch.tasks.TaskCancelHelper
- CancellableActionTestPlugin - Class in org.elasticsearch.action.support
-
Utility plugin that captures the invocation of an action on a node after the task has been registered with the
TaskManager
, cancels it (e.g. - CancellableActionTestPlugin() - Constructor for class org.elasticsearch.action.support.CancellableActionTestPlugin
- CancellableActionTestPlugin.CapturingAction - Interface in org.elasticsearch.action.support
- cancelSearch(String) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- canFailRequest(HttpExchange) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler
- canSimulateMethod(Method, Object[]) - Method in class org.elasticsearch.test.AbstractBuilderTestCase
-
Can the test simulate this
Method
. - canUpdateInPlace(Settings, Set<String>) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- capture(Class<?>...) - Static method in class org.elasticsearch.test.MockLog
-
Adds the list of class loggers to this
MockLog
. - capture(String...) - Static method in class org.elasticsearch.test.MockLog
-
Same as above except takes string class names of each logger.
- captureAndCancel(Runnable) - Method in interface org.elasticsearch.action.support.CancellableActionTestPlugin.CapturingAction
- CapturedRequest(DiscoveryNode, long, String, TransportRequest) - Constructor for record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Creates an instance of a
CapturedRequest
record class. - capturedRequests() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
returns all requests captured so far.
- capturedRequestsByTargetNode() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
returns all requests captured so far, grouped by target node.
- capturedResponse() - Method in class org.elasticsearch.test.rest.FakeRestChannel
- capturingActionOnNode(String, String) - Static method in class org.elasticsearch.action.support.CancellableActionTestPlugin
-
Returns a
CancellableActionTestPlugin.CapturingAction
, typically for use in a try-with-resources block, which can be used to capture and cancel exactly one invocation of the specified action on the specified node. - CapturingTransport - Class in org.elasticsearch.test.transport
-
A transport class that doesn't send anything but rather captures all requests for inspection from tests
- CapturingTransport() - Constructor for class org.elasticsearch.test.transport.CapturingTransport
- CapturingTransport.CapturedRequest - Record Class in org.elasticsearch.test.transport
- cardinality() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- categoryClass() - Method in class org.elasticsearch.test.AbstractNamedWriteableTestCase
-
The type of
NamedWriteable
to read. - categoryClass() - Method in class org.elasticsearch.test.InternalAggregationTestCase
- CCR - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- CENTER_SCALE_FACTOR - Static variable in class org.elasticsearch.geo.XShapeTestUtil
- centroidAgg(String) - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- CentroidAggregationTestBase - Class in org.elasticsearch.search.aggregations.metrics
-
Integration Test for CartesianCentroid metric aggregator
- CentroidAggregationTestBase() - Constructor for class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- CERTIFICATE_AUTHORITIES - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- changeNameOrBoost(QB) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- channelConnect(SocketChannel, InetSocketAddress) - Method in interface org.elasticsearch.test.readiness.ReadinessClientProbe
- channelsPerNodeConnection() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- charFilter - Variable in class org.elasticsearch.test.ESTestCase.TestAnalysis
- checkCancelled(SearchShardTask) - Method in class org.elasticsearch.search.MockSearchService
- checkDisconnectsDuringRecovery(boolean) - Method in class org.elasticsearch.indices.recovery.AbstractIndexRecoveryIntegTestCase
- checkDisconnectsWhileRecovering(String) - Method in class org.elasticsearch.indices.recovery.AbstractIndexRecoveryIntegTestCase
- CheckedFunctionUtils - Class in org.elasticsearch.test
-
Test utilities for working with
CheckedFunction
s andCheckedSupplier
s. - CheckedFunctionUtils() - Constructor for class org.elasticsearch.test.CheckedFunctionUtils
- checkEqualsAndHashCode(T, EqualsHashCodeTestUtils.CopyFunction<T>) - Static method in class org.elasticsearch.test.EqualsHashCodeTestUtils
-
Perform common equality and hashCode checks on the input object
- checkEqualsAndHashCode(T, EqualsHashCodeTestUtils.CopyFunction<T>, EqualsHashCodeTestUtils.MutateFunction<T>) - Static method in class org.elasticsearch.test.EqualsHashCodeTestUtils
-
Perform common equality and hashCode checks on the input object
- checkEqualsAndHashCode(T, EqualsHashCodeTestUtils.CopyFunction<T>, EqualsHashCodeTestUtils.MutateFunction<T>, Consumer<T>) - Static method in class org.elasticsearch.test.EqualsHashCodeTestUtils
-
Perform common equality and hashCode checks on the input object
- checkExpensiveQuery(BiConsumer<MappedFieldType, SearchExecutionContext>) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- checkGeneratedJson(String, QueryBuilder) - Static method in class org.elasticsearch.test.AbstractQueryTestCase
-
Call this method to check a valid json string representing the query under test against it's generated json.
- checkIndex(Logger, Store, ShardId) - Static method in class org.elasticsearch.test.store.MockFSDirectoryFactory
- checkIndexFailures - Static variable in class org.elasticsearch.test.ESTestCase
-
MockFSDirectoryService sets this:
- checkLoop(BiConsumer<MappedFieldType, SearchExecutionContext>) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- checkNoSoftDeletesLoaded(ReadOnlyEngine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- checkReachable() - Method in class org.elasticsearch.test.ReachabilityChecker
-
From the objects registered since the most recent call to
ReachabilityChecker.ensureUnreachable()
(or since the construction of thisReachabilityChecker
ifReachabilityChecker.ensureUnreachable()
has not been called) this method chooses one at random and verifies that it has not yet become unreachable. - checkStaticState() - Static method in class org.elasticsearch.test.ESTestCase
- checkTransientErrorsDuringRecoveryAreRetried(String) - Method in class org.elasticsearch.indices.recovery.AbstractIndexRecoveryIntegTestCase
- ChildFieldGenerator(DataGeneratorSpecification) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ChildFieldGenerator
-
Creates an instance of a
ChildFieldGenerator
record class. - children() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Object
-
Returns the value of the
children
record component. - ChunkedLoggingStreamTestUtils - Class in org.elasticsearch.common.logging
-
Utility for capturing and decoding the data logged by a
ChunkedLoggingStream
. - ChunkedToXContentDiffableSerializationTestCase<T> - Class in org.elasticsearch.test
-
An abstract test case to ensure correct behavior of Diffable.
- ChunkedToXContentDiffableSerializationTestCase() - Constructor for class org.elasticsearch.test.ChunkedToXContentDiffableSerializationTestCase
- chunkedXContentTester(CheckedBiFunction<XContent, BytesReference, XContentParser, IOException>, Function<XContentType, T>, ToXContent.Params, CheckedFunction<XContentParser, T, IOException>) - Static method in class org.elasticsearch.test.AbstractXContentTestCase
- classloader() - Method in record class org.elasticsearch.test.PrivilegedOperations.ClosableURLClassLoader
-
Returns the value of the
classloader
record component. - ClasspathUtils - Class in org.elasticsearch.test
- ClasspathUtils() - Constructor for class org.elasticsearch.test.ClasspathUtils
- cleanCache(IndicesRequestCache) - Static method in class org.elasticsearch.indices.IndicesRequestCacheUtils
- cleanFiles(int, long, Store.MetadataSnapshot, ActionListener<Void>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- cleanUpCluster() - Method in class org.elasticsearch.test.ESIntegTestCase
- cleanUpCluster() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Clean up after the test case.
- cleanupReleasables() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- clear() - Method in class org.elasticsearch.test.rest.Stash
-
Clears the previously stashed values
- clear() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
clears captured requests
- clearActionBlocks() - Method in class org.elasticsearch.transport.DisruptableMockTransport
- clearAllCaches() - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- clearAllRules() - Method in class org.elasticsearch.test.transport.MockTransportService
-
Clears all the registered rules.
- clearBehavior(TransportAddress) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- clearBehaviors() - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- clearCallback() - Method in interface org.elasticsearch.test.transport.StubbableTransport.OpenConnectionBehavior
- clearCallback() - Method in interface org.elasticsearch.test.transport.StubbableTransport.RequestHandlingBehavior
- clearCallback() - Method in interface org.elasticsearch.test.transport.StubbableTransport.SendRequestBehavior
- clearData(String) - Method in class org.elasticsearch.test.InternalTestCluster.RestartCallback
-
If this returns
true
all data for the node with the given node name will be cleared including gateways and all index data. - clearDisruptionScheme() - Method in class org.elasticsearch.test.InternalTestCluster
- clearDisruptionScheme(boolean) - Method in class org.elasticsearch.test.InternalTestCluster
- clearInboundRules() - Method in class org.elasticsearch.test.transport.MockTransportService
-
Clears all the inbound rules.
- clearOutboundRules(TransportAddress) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Clears the outbound rules associated with the provided delegate address.
- clearOutboundRules(TransportService) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Clears the outbound rules associated with the provided delegate service.
- clearScroll(String...) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Clears the given scroll Ids
- clearShapeFields() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- client() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- client() - Static method in class org.elasticsearch.test.ESIntegTestCase
- client() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Returns a client to the single-node cluster.
- client() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- client() - Method in class org.elasticsearch.test.InternalTestCluster
- client() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Get the client used for ordinary api calls while writing a test
- client() - Method in class org.elasticsearch.test.TestCluster
-
Returns a client connected to any node in the cluster
- client(String) - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- client(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- client(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a node client to a given node.
- CLIENT_CERT_PATH - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- CLIENT_KEY_PASSWORD - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- CLIENT_KEY_PATH - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- CLIENT_PATH_PREFIX - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- CLIENT_SOCKET_TIMEOUT - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- clients() - Static method in class org.elasticsearch.test.ESIntegTestCase
- clone() - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
- clone() - Method in class org.elasticsearch.common.settings.MockSecureSettings
- clone(List<CompoundRetrieverBuilder.RetrieverSource>, List<QueryBuilder>) - Method in class org.elasticsearch.search.retriever.TestCompoundRetrieverBuilder
- cloneShardSnapshot(SnapshotId, SnapshotId, RepositoryShardId, ShardGeneration, ActionListener<ShardSnapshotResult>) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- ClosableURLClassLoader(URLClassLoader) - Constructor for record class org.elasticsearch.test.PrivilegedOperations.ClosableURLClassLoader
-
Creates an instance of a
ClosableURLClassLoader
record class. - close() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- close() - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinatorStrategy
- close() - Method in class org.elasticsearch.common.settings.MockSecureSettings
- close() - Method in class org.elasticsearch.core.ReleasableRef
- close() - Method in class org.elasticsearch.index.mapper.TestBlock
- close() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- close() - Method in class org.elasticsearch.index.snapshots.blobstore.BlobStoreIndexShardSnapshotsIntegritySuppressor
- close() - Method in class org.elasticsearch.indices.recovery.RecoveryClusterStateDelayListeners
- close() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
- close() - Method in class org.elasticsearch.snapshots.mockstore.BlobStoreWrapper
- close() - Method in class org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
- close() - Method in class org.elasticsearch.test.BackgroundIndexer
- close() - Method in record class org.elasticsearch.test.CloseableTestClusterWrapper
- close() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- close() - Method in class org.elasticsearch.test.InternalTestCluster
- close() - Method in class org.elasticsearch.test.MockLog
- close() - Method in class org.elasticsearch.test.PosixPermissionsResetter
- close() - Method in record class org.elasticsearch.test.PrivilegedOperations.ClosableURLClassLoader
- close() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpChannel
- close() - Method in class org.elasticsearch.test.TestCluster
-
Closes the current cluster
- close() - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- close() - Method in class org.elasticsearch.test.transport.StubbableTransport
- close() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- close() - Method in class org.elasticsearch.threadpool.TestThreadPool
- close() - Method in class org.elasticsearch.transport.FakeTcpChannel
- CloseableTestClusterWrapper - Record Class in org.elasticsearch.test
-
Adapter to make one or more
TestCluster
instances compatible with things like try-with-resources blocks and IOUtils. - CloseableTestClusterWrapper(TestCluster) - Constructor for record class org.elasticsearch.test.CloseableTestClusterWrapper
-
Creates an instance of a
CloseableTestClusterWrapper
record class. - closeClients() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- closeIndex(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- closeInternal() - Method in class org.elasticsearch.test.DummyShardLock
- closeNoBlock() - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- closeNodeEnvironmentsAfterEachTest() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- closeNonSharedNodes(boolean) - Method in class org.elasticsearch.test.InternalTestCluster
- closeShard(IndexShard, boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- closeShardNoCheck(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Close an
IndexShard
without flushing or performing the consistency checks thatIndexShardTestCase.closeShard(org.elasticsearch.index.shard.IndexShard, boolean)
performs. - closeShardNoCheck(IndexShard, boolean) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Close an
IndexShard
, optionally flushing first, without performing the consistency checks thatIndexShardTestCase.closeShard(org.elasticsearch.index.shard.IndexShard, boolean)
performs. - closeShards(Iterable<IndexShard>) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- closeShards(IndexShard...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- closeTo(Rectangle, double, CoordinateEncoder) - Static method in class org.elasticsearch.test.hamcrest.RectangleMatcher
- closeToFloat(Rectangle, double, CoordinateEncoder) - Static method in class org.elasticsearch.test.hamcrest.RectangleMatcher
-
Casts the rectangle coordinates to floats before comparing.
- closeURLClassLoader(URLClassLoader) - Static method in class org.elasticsearch.test.PrivilegedOperations
- cluster - Variable in class org.elasticsearch.test.disruption.NetworkDisruption
- cluster - Variable in class org.elasticsearch.test.disruption.SingleNodeDisruption
- cluster() - Static method in class org.elasticsearch.test.ESIntegTestCase
- cluster(String) - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- Cluster(int) - Constructor for class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- Cluster(int, boolean, Settings) - Constructor for class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- CLUSTER_STATE_UPDATE_NUMBER_OF_DELAYS - Static variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- clusterAdmin() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a random cluster admin client.
- clusterAdmin() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Returns a cluster admin client.
- ClusterAllocationExplanationUtils - Class in org.elasticsearch.action.admin.cluster.allocation
- ClusterChangedEventUtils - Class in org.elasticsearch.cluster.metadata
- ClusterChangedEventUtils() - Constructor for class org.elasticsearch.cluster.metadata.ClusterChangedEventUtils
- clusterHasCapability(String, String, Collection<String>, Collection<String>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Does the cluster being tested support the set of capabilities for specified path and method.
- clusterHasCapability(RestClient, String, String, Collection<String>, Collection<String>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Does the cluster on the other side of
client
support the set of capabilities for specified path and method. - clusterHasFeature(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- clusterHasFeature(String) - Method in interface org.elasticsearch.test.rest.TestFeatureService
-
Returns
true
if all nodes in the cluster have featurefeatureId
- clusterHasFeature(String, boolean) - Method in interface org.elasticsearch.test.rest.TestFeatureService
- clusterHasFeature(NodeFeature) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- ClusterInfoServiceUtils - Class in org.elasticsearch.cluster
- ClusterInfoServiceUtils() - Constructor for class org.elasticsearch.cluster.ClusterInfoServiceUtils
- clusterName(String, long) - Static method in class org.elasticsearch.test.InternalTestCluster
- ClusterRerouteUtils - Class in org.elasticsearch.action.admin.cluster.reroute
-
Utilities for invoking
TransportClusterRerouteAction
in tests. - clusters() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- clusterService() - Method in class org.elasticsearch.test.ESIntegTestCase
- clusterService() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a reference to a random node's
ClusterService
- clusterService(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a reference to a node's
ClusterService
. - ClusterServiceUtils - Class in org.elasticsearch.test
- ClusterServiceUtils() - Constructor for class org.elasticsearch.test.ClusterServiceUtils
- clusterSettingsA - Variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- clusterState(long, long, DiscoveryNode, CoordinationMetadata.VotingConfiguration, CoordinationMetadata.VotingConfiguration, long) - Static method in class org.elasticsearch.cluster.coordination.CoordinationStateTestCluster
- clusterState(long, long, DiscoveryNodes, CoordinationMetadata.VotingConfiguration, CoordinationMetadata.VotingConfiguration, long) - Static method in class org.elasticsearch.cluster.coordination.CoordinationStateTestCluster
- ClusterStateCreationUtils - Class in org.elasticsearch.action.support.replication
-
Helper methods for generating cluster states
- ClusterStateCreationUtils() - Constructor for class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
- clusterStateProcessed(ClusterState, ClusterState) - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinatorTestClusterStateUpdateTask
- ClusterStateTaskExecutorUtils - Class in org.elasticsearch.cluster.service
-
Utilities for running a
ClusterStateTaskExecutor
in tests. - codecName - Variable in class org.elasticsearch.index.engine.EngineTestCase
- collapse() - Method in class org.elasticsearch.test.TestSearchContext
- collect() - Method in class org.elasticsearch.telemetry.MetricRecorder
- collect() - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- columnAtATimeReader() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Returns the value of the
columnAtATimeReader
record component. - combine(List<Measurement>) - Static method in record class org.elasticsearch.telemetry.Measurement
-
Add measurements with the same attributes together.
- COMBINE_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- combineInnerRetrieverResults(List<ScoreDoc[]>, boolean) - Method in class org.elasticsearch.search.retriever.TestCompoundRetrieverBuilder
- CommandTestCase - Class in org.elasticsearch.cli
-
A base test case for cli tools.
- CommandTestCase() - Constructor for class org.elasticsearch.cli.CommandTestCase
- CommandTestCase(boolean) - Constructor for class org.elasticsearch.cli.CommandTestCase
- compare(TestMethodAndParams, TestMethodAndParams) - Method in class org.elasticsearch.test.AnnotationTestOrdering
- compare(String, boolean, Object, Object) - Method in class org.elasticsearch.test.NotEqualMessageBuilder
-
Compare two values.
- compareLists(List<Object>, List<Object>) - Method in class org.elasticsearch.test.NotEqualMessageBuilder
-
Compare two lists.
- compareMaps(Map<String, Object>, Map<String, Object>) - Method in class org.elasticsearch.test.NotEqualMessageBuilder
-
Compare two maps.
- CompatibilityVersionsUtils - Class in org.elasticsearch.cluster.version
- CompatibilityVersionsUtils() - Constructor for class org.elasticsearch.cluster.version.CompatibilityVersionsUtils
- compatible(String...) - Method in class org.elasticsearch.test.rest.ESRestTestCase.VersionSensitiveWarningsHandler
-
Adds to the set of warnings that are permissible (but not required) when running in mixed-version clusters or those that differ in version from the test client.
- compatibleMediaType(XContentType, RestApiVersion) - Method in class org.elasticsearch.test.ESTestCase
- compilationTaskCall(JavaCompiler.CompilationTask) - Static method in class org.elasticsearch.test.PrivilegedOperations
- compile(String, CharSequence, String...) - Static method in class org.elasticsearch.test.compiler.InMemoryJavaCompiler
-
Compiles the class with the given name and source code.
- compile(String, String, ScriptContext<FactoryType>, Map<String, String>) - Method in class org.elasticsearch.index.mapper.TestScriptEngine
- compile(String, String, ScriptContext<T>, Map<String, String>) - Method in class org.elasticsearch.script.MockScriptEngine
- compile(Function<Map<String, Object>, Object>, Map<String, String>) - Method in interface org.elasticsearch.script.MockScriptEngine.ContextCompiler
- compile(Map<String, CharSequence>, String...) - Static method in class org.elasticsearch.test.compiler.InMemoryJavaCompiler
-
Compiles the classes with the given names and source code.
- compile(Script, ScriptContext<FactoryType>) - Method in class org.elasticsearch.ingest.TestTemplateService
- compileOtherScript(Script, ScriptContext<T>) - Method in class org.elasticsearch.index.mapper.MapperTestCase.IngestScriptSupport
- compileScript(Script, ScriptContext<T>) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- compileScript(Script, ScriptContext<T>) - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- compileScript(Script, ScriptContext<T>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
This is the injection point for tests that require mock scripts.
- compileScript(Script, ScriptContext<T>) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- complete(Function<Object, Object>) - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
-
Completes the history with response events for invocations that are missing corresponding responses
- concurrentlyApplyOps(List<Engine.Operation>, InternalEngine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- ConcurrentSearchTestPlugin - Class in org.elasticsearch.search
-
This plugin is used to register the
SearchService.MINIMUM_DOCS_PER_SLICE
setting. - ConcurrentSearchTestPlugin() - Constructor for class org.elasticsearch.search.ConcurrentSearchTestPlugin
- concurrentTest(Runnable) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Call some test on many threads in parallel.
- config(EngineConfig, Store, Path) - Method in class org.elasticsearch.index.engine.EngineTestCase
- config(IndexSettings, Store, Path, MergePolicy, ReferenceManager.RefreshListener) - Method in class org.elasticsearch.index.engine.EngineTestCase
- config(IndexSettings, Store, Path, MergePolicy, ReferenceManager.RefreshListener, ReferenceManager.RefreshListener, Sort, LongSupplier, Supplier<RetentionLeases>, CircuitBreakerService, Engine.IndexCommitListener) - Method in class org.elasticsearch.index.engine.EngineTestCase
- config(IndexSettings, Store, Path, MergePolicy, ReferenceManager.RefreshListener, ReferenceManager.RefreshListener, Sort, LongSupplier, CircuitBreakerService) - Method in class org.elasticsearch.index.engine.EngineTestCase
- config(IndexSettings, Store, Path, MergePolicy, ReferenceManager.RefreshListener, Sort, LongSupplier) - Method in class org.elasticsearch.index.engine.EngineTestCase
- config(IndexSettings, Store, Path, MergePolicy, ReferenceManager.RefreshListener, Sort, LongSupplier, Supplier<RetentionLeases>) - Method in class org.elasticsearch.index.engine.EngineTestCase
- configDir - Variable in class org.elasticsearch.cli.CommandTestCase
-
The ES config dir
- configPaths() - Method in class org.elasticsearch.test.InternalTestCluster
- configure() - Method in class org.elasticsearch.test.IndexSettingsModule
- configureAndConnectsToRemoteClusters() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- configureClient(RestClientBuilder, Settings) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Override this to configure the client with additional settings.
- configureNodeAndClusterIdStateListener(ClusterService) - Method in class org.elasticsearch.node.MockNode
- configureRemoteCluster(String, Collection<String>) - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- configureRemoteClusterWithSeedAddresses(String, Collection<TransportAddress>) - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- CONNECTED - Enum constant in enum class org.elasticsearch.transport.DisruptableMockTransport.ConnectionStatus
-
No disruption: deliver messages normally.
- connectedNodes(ConnectionManager, DiscoveryNode) - Method in interface org.elasticsearch.test.transport.StubbableConnectionManager.NodeConnectedBehavior
- connectionManager() - Method in class org.elasticsearch.test.transport.MockTransportService
- connectToNode(DiscoveryNode, ConnectionProfile, ConnectionManager.ConnectionValidator, ActionListener<Releasable>) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- connectToNode(TransportService, DiscoveryNode) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
-
Connect to the specified node with the default connection profile
- connectToNode(TransportService, DiscoveryNode, ConnectionProfile) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
-
Connect to the specified node with the given connection profile
- connectToNodeExpectFailure(TransportService, DiscoveryNode, ConnectionProfile) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
-
Attempt to connect to the specified node, but assert that this fails and return the resulting exception.
- ConstantFieldTypeTestCase - Class in org.elasticsearch.index.mapper
- ConstantFieldTypeTestCase() - Constructor for class org.elasticsearch.index.mapper.ConstantFieldTypeTestCase
- containsStashedValue(Object) - Method in class org.elasticsearch.test.rest.Stash
-
Tells whether a particular key needs to be looked up in the stash based on its name.
- ContentRange(Long, Long, Long) - Constructor for record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
-
Creates an instance of a
ContentRange
record class. - contentType() - Method in class org.elasticsearch.index.mapper.MockFieldMapper
- contentType(String) - Static method in class org.elasticsearch.test.fixture.AbstractHttpFixture
- context() - Method in class org.elasticsearch.index.mapper.FieldScriptTestCase
- continueIndexing(int) - Method in class org.elasticsearch.test.BackgroundIndexer
-
Continue indexing after it has paused.
- controller() - Method in class org.elasticsearch.test.rest.RestActionTestCase
-
A test
RestController
. - convertTestData(ByteArrayOutputStream) - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
-
Override this method if there is need to modify the test data for specific tests
- convertToEngineOp(Translog.Operation, Engine.Operation.Origin) - Method in class org.elasticsearch.index.engine.TranslogHandler
- convertToMap(ChunkedToXContent) - Static method in class org.elasticsearch.test.XContentTestUtils
- convertToMap(ToXContent) - Static method in class org.elasticsearch.test.XContentTestUtils
- convertToXContent(Map<String, ?>, XContentType) - Static method in class org.elasticsearch.test.XContentTestUtils
- coordinateName(String) - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
-
Override this if the spatial data uses different coordinate names (eg.
- CoordinationStateTestCluster - Class in org.elasticsearch.cluster.coordination
- CoordinationStateTestCluster(List<DiscoveryNode>, ElectionStrategy) - Constructor for class org.elasticsearch.cluster.coordination.CoordinationStateTestCluster
- coordinator - Variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- coordOnlyNodeClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a client to a coordinating only node
- copy(EngineConfig, LongSupplier) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- copy(EngineConfig, Analyzer) - Method in class org.elasticsearch.index.engine.EngineTestCase
- copy(EngineConfig, MergePolicy) - Method in class org.elasticsearch.index.engine.EngineTestCase
- copy(T) - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- copy(T) - Method in interface org.elasticsearch.test.EqualsHashCodeTestUtils.CopyFunction
- copyAggregation(AB) - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- copyEvents() - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
-
Copy the list of events for external use.
- copyInstance(T) - Method in class org.elasticsearch.test.AbstractWireTestCase
- copyInstance(T, NamedWriteableRegistry, Writeable.Reader<T>) - Static method in class org.elasticsearch.test.DiffableTestUtils
-
Simulates sending diffs over the wire
- copyInstance(T, NamedWriteableRegistry, Writeable.Writer<T>, Writeable.Reader<T>, TransportVersion) - Static method in class org.elasticsearch.test.ESTestCase
- copyInstance(T, TransportVersion) - Method in class org.elasticsearch.test.AbstractNamedWriteableTestCase
- copyInstance(T, TransportVersion) - Method in class org.elasticsearch.test.AbstractWireSerializingTestCase
- copyInstance(T, TransportVersion) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Copy the instance as by reading and writing using the code specific to the provided version.
- copyNamedWriteable(T, NamedWriteableRegistry, Class<C>) - Static method in class org.elasticsearch.test.ESTestCase
-
Create a copy of an original
NamedWriteable
object by running it through aBytesStreamOutput
and reading it in again using a providedWriteable.Reader
. - copyNamedWriteable(T, NamedWriteableRegistry, Class<C>, TransportVersion) - Static method in class org.elasticsearch.test.ESTestCase
-
Same as
ESTestCase.copyNamedWriteable(NamedWriteable, NamedWriteableRegistry, Class)
but also allows to provide aTransportVersion
argument which will be used to write and read back the object. - copyQuery(QB) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- copyTo(String) - Method in class org.elasticsearch.index.mapper.MockFieldMapper.Builder
- copyToBytesFromClasspath(String) - Static method in class org.elasticsearch.test.StreamsUtils
- copyToStringFromClasspath(ClassLoader, String) - Static method in class org.elasticsearch.test.StreamsUtils
- copyToStringFromClasspath(String) - Static method in class org.elasticsearch.test.StreamsUtils
- copyWriteable(T, NamedWriteableRegistry, Writeable.Reader<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Create a copy of an original
Writeable
object by running it through aBytesStreamOutput
and reading it in again using a providedWriteable.Reader
. - copyWriteable(T, NamedWriteableRegistry, Writeable.Reader<T>, TransportVersion) - Static method in class org.elasticsearch.test.ESTestCase
-
Same as
ESTestCase.copyWriteable(Writeable, NamedWriteableRegistry, Writeable.Reader)
but also allows to provide aTransportVersion
argument which will be used to write and read back the object. - corruptFile(Random, Path...) - Static method in class org.elasticsearch.test.CorruptionUtils
-
Corrupts a random file at a random position
- corruptFileContents(Path) - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreCorruptionUtils
- corruptIndex(Random, Path, boolean) - Static method in class org.elasticsearch.test.CorruptionUtils
- CorruptionUtils - Class in org.elasticsearch.test
- corruptRandomFile(Path) - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreCorruptionUtils
- CountingPageCacheRecycler - Class in org.elasticsearch.cluster.coordination
- CountingPageCacheRecycler() - Constructor for class org.elasticsearch.cluster.coordination.CountingPageCacheRecycler
- CrankyCircuitBreakerService - Class in org.elasticsearch.indices
-
CircuitBreakerService
that fails one twentieth of the time when you add bytes. - CrankyCircuitBreakerService() - Constructor for class org.elasticsearch.indices.CrankyCircuitBreakerService
- crash() - Method in class org.elasticsearch.test.store.MockFSDirectoryFactory.ElasticsearchMockDirectoryWrapper
- CRASH_INDEX_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryFactory
- create() - Static method in class org.elasticsearch.cli.MockTerminal
- create(String) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- create(String, String) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- create(String, String, TransportAddress, Map<String, String>, Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- create(String, TransportAddress) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- create(String, TransportAddress, Map<String, String>, Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- create(String, TransportAddress, VersionInformation) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- create(String, TransportAddress, Version) - Static method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils
-
Deprecated.
- create(Map<String, Processor.Factory>, String, String, Map<String, Object>) - Method in class org.elasticsearch.ingest.TestProcessor.Factory
- create(TokenStream) - Method in class org.elasticsearch.index.analysis.MyFilterTokenFilterFactory
- createAggBuilderForTypeTest(MappedFieldType, String) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
This method is invoked each time a field type is tested in
AggregatorTestCase.testSupportedFieldTypes()
. - createAggBuilderForTypeTest(MappedFieldType, String) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- createAggregationContext(IndexReader, Query, MappedFieldType...) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Deprecated.
- createAggregationContext(IndexReader, IndexSettings, Query, CircuitBreakerService, long, int, boolean, boolean, MappedFieldType...) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Create a AggregationContext for testing an
Aggregator
. - createAggregator(AggregationBuilder, AggregationContext) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- createAllocationService() - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- createAllocationService(Settings) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- createAllocationService(Settings, ClusterInfoService) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- createAllocationService(Settings, GatewayAllocator) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- createAllocationService(Settings, GatewayAllocator, ClusterInfoService, SnapshotsInfoService) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- createAllocationService(Settings, SnapshotsInfoService) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- createAnalysisModule() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- createBackingIndex(String, int) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createBackingIndex(String, int, long) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createBlobContainer(Integer, TimeValue, Boolean, ByteSizeValue) - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- createBlobStore() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- createBuilder(String) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
-
Create a new named
GeoGridAggregationBuilder
-derived builder - createClusterService(ClusterState, ThreadPool) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createClusterService(ClusterState, ThreadPool, ClusterSettings) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createClusterService(ThreadPool) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createClusterService(ThreadPool, DiscoveryNode) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createClusterService(ThreadPool, DiscoveryNode, ClusterSettings) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createClusterService(ThreadPool, DiscoveryNode, Settings, ClusterSettings) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createClusterService(ThreadPool, ClusterSettings) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createClusterStatePublisher(ClusterApplier) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createComponents(Plugin.PluginServices) - Method in class org.elasticsearch.test.MockIndexEventListener.TestPlugin
- createConnection(DiscoveryNode) - Method in class org.elasticsearch.test.transport.MockTransport
- createConstructionMock(Class<T>, Function<MockedConstruction.Context, MockCreationSettings<T>>, Function<MockedConstruction.Context, MockHandler<T>>, MockedConstruction.MockInitializer<T>) - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- createContext(ReaderContext, ShardSearchRequest, SearchShardTask, SearchService.ResultsType, boolean) - Method in class org.elasticsearch.search.MockSearchService
- createCoordinatorRewriteContext(DateFieldMapper.DateFieldType, long, long) - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- createCoordinatorRewriteContext(DateFieldMapper.DateFieldType, long, long, String) - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- createCoordinatorStrategy() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- createDataStreamOptionsTemplate(Boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createDefaultIndexAnalyzers() - Method in class org.elasticsearch.test.ESTestCase
-
Creates an IndexAnalyzers with a single default analyzer
- createDiscoveryNode(int, boolean) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- createDocumentMapper(String) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createDocumentMapper(IndexVersion, XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createDocumentMapper(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createDocumentMapper(XContentBuilder, IndexMode) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createEngine(EngineConfig) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(EngineConfig, int) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(EngineTestCase.IndexWriterFactory, BiFunction<Long, Long, LocalCheckpointTracker>, ToLongBiFunction<Engine, Engine.Operation>, EngineConfig) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(IndexSettings, Store, Path, MergePolicy) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(IndexSettings, Store, Path, MergePolicy, EngineTestCase.IndexWriterFactory) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(IndexSettings, Store, Path, MergePolicy, EngineTestCase.IndexWriterFactory, BiFunction<Long, Long, LocalCheckpointTracker>, LongSupplier) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(IndexSettings, Store, Path, MergePolicy, EngineTestCase.IndexWriterFactory, BiFunction<Long, Long, LocalCheckpointTracker>, LongSupplier, ToLongBiFunction<Engine, Engine.Operation>) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(IndexSettings, Store, Path, MergePolicy, EngineTestCase.IndexWriterFactory, BiFunction<Long, Long, LocalCheckpointTracker>, ToLongBiFunction<Engine, Engine.Operation>, Sort, LongSupplier) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(Store, Path) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(Store, Path, BiFunction<Long, Long, LocalCheckpointTracker>) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(Store, Path, BiFunction<Long, Long, LocalCheckpointTracker>, ToLongBiFunction<Engine, Engine.Operation>) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createEngine(Store, Path, LongSupplier) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createErroneousHttpHandler(HttpHandler) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- createExecutor() - Static method in class org.elasticsearch.common.lucene.store.ESIndexInputTestCase
- createFailureStore(String, int) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createFailureStore(String, int, long) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createFilterScript(Map<String, Object>, SearchLookup) - Method in class org.elasticsearch.script.MockScriptEngine.MockCompiledScript
- createFirstBackingIndex(String) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createFirstBackingIndex(String, long) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createFirstFailureStore(String) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createFirstFailureStore(String, long) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- createFreshPersistedState(DiscoveryNode, BooleanSupplier, ThreadPool) - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinatorStrategy
- createFreshPersistedState(DiscoveryNode, BooleanSupplier, ThreadPool) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.DefaultCoordinatorStrategy
- createFromResponse(Response) - Static method in class org.elasticsearch.test.rest.ObjectPath
- createFromXContent(XContent, BytesReference) - Static method in class org.elasticsearch.test.rest.ObjectPath
- createFullSnapshot(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createFullSnapshot(Logger, String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createGroup(int) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- createGroup(int, Settings) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- createHttpHandlers() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- createIndex(String) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with empty index settings.
- createIndex(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createIndex(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Creates one or more indices and asserts that the indices are acknowledged.
- createIndex(String, int, int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
creates an index with the given shard and replica counts
- createIndex(String, CreateIndexRequestBuilder) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- createIndex(String, Settings) - Method in class org.elasticsearch.test.ESIntegTestCase
-
creates an index with the given setting
- createIndex(String, Settings) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with the provided index settings.
- createIndex(String, Settings) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createIndex(String, Settings, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createIndex(String, Settings, String, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createIndex(String, Settings, String, String...) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with the provided index settings.
- createIndex(String, Settings, XContentBuilder) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with the provided index settings.
- createIndex(RestClient, String, Settings) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createIndex(RestClient, String, Settings, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createIndex(RestClient, String, Settings, String, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createIndex(IndexMetadata, List<IndexEventListener>, boolean) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- createIndexAnalyzers() - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createIndexAnalyzers(IndexSettings) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createIndexSettings() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- createIndexSettings(IndexVersion, Settings) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createIndexWithContent(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createIndexWithContent(String, Settings) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createIndexWithRandomDocs(String, int) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createInternalEngine(EngineTestCase.IndexWriterFactory, BiFunction<Long, Long, LocalCheckpointTracker>, ToLongBiFunction<Engine, Engine.Operation>, EngineConfig) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- createInternalGeoGrid(String, int, List<InternalGeoGridBucket>, Map<String, Object>) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
-
Instantiate a
InternalGeoGrid
-derived class using the same parameters as constructor. - createInternalGeoGridBucket(Long, long, InternalAggregations) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
-
Instantiate a
InternalGeoGridBucket
-derived class using the same parameters as constructor. - createIntervalFilterScript() - Method in class org.elasticsearch.script.MockScriptEngine.MockCompiledScript
- createJar(Path, String, Manifest, String...) - Static method in class org.elasticsearch.test.jar.JarUtils
-
Creates a jar file with the given manifest and list of (empty) jar file entry names.
- createJarWithEntries(Path, Map<String, byte[]>) - Static method in class org.elasticsearch.test.jar.JarUtils
-
Creates a jar file with the given entries.
- createJarWithEntriesUTF(Path, Map<String, String>) - Static method in class org.elasticsearch.test.jar.JarUtils
-
Creates a jar file with the given entries.
- createJsonMapView(InputStream) - Static method in class org.elasticsearch.test.XContentTestUtils
- createLogsModeDocumentMapper(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapperService() - Static method in class org.elasticsearch.index.engine.EngineTestCase
- createMapperService(String) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapperService(BooleanSupplier, XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapperService(Settings, String) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- createMapperService(Settings, String) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapperService(Settings, String, List<MapperPlugin>) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- createMapperService(Settings, XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapperService(IndexVersion, Settings, BooleanSupplier) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapperService(IndexVersion, Settings, BooleanSupplier, XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Create a
MapperService
like we would for an index. - createMapperService(IndexVersion, XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapperService(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createMapping(String, String) - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- createMapping(String, String, Settings) - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- createMapping(String, String, Settings) - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- createMock(MockCreationSettings<T>, MockHandler) - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- createNewService(Settings, VersionInformation, TransportVersion, ThreadPool) - Static method in class org.elasticsearch.test.transport.MockTransportService
- createNewService(Settings, VersionInformation, TransportVersion, ThreadPool, ClusterSettings) - Static method in class org.elasticsearch.test.transport.MockTransportService
- createNewService(Settings, Transport, VersionInformation, ThreadPool, ClusterSettings, Set<String>) - Static method in class org.elasticsearch.test.transport.MockTransportService
- createNewService(Settings, Transport, VersionInformation, ThreadPool, ClusterSettings, Set<String>, TransportInterceptor) - Static method in class org.elasticsearch.test.transport.MockTransportService
- createNoOpNodeConnectionsService() - Static method in class org.elasticsearch.test.ClusterServiceUtils
- createNSnapshots(String, int) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createNSnapshots(Logger, String, int) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createParsedDoc(String, String) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- createParsedDoc(String, String, boolean) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- createParser(XContentBuilder) - Method in class org.elasticsearch.test.ESTestCase
-
Create a new
XContentParser
. - createParser(XContentParserConfiguration, XContent, BytesReference) - Method in class org.elasticsearch.test.ESTestCase
-
Create a new
XContentParser
. - createParser(XContent, byte[]) - Method in class org.elasticsearch.test.ESTestCase
-
Create a new
XContentParser
. - createParser(XContent, InputStream) - Method in class org.elasticsearch.test.ESTestCase
-
Create a new
XContentParser
. - createParser(XContent, String) - Method in class org.elasticsearch.test.ESTestCase
-
Create a new
XContentParser
. - createParser(XContent, BytesReference) - Method in class org.elasticsearch.test.ESTestCase
-
Create a new
XContentParser
. - createParserWithCompatibilityFor(XContent, String, RestApiVersion) - Method in class org.elasticsearch.test.ESTestCase
- createPersistedStateFromExistingState(DiscoveryNode, CoordinationState.PersistedState, Function<Metadata, Metadata>, Function<Long, Long>, LongSupplier, NamedWriteableRegistry, BooleanSupplier, ThreadPool) - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinatorStrategy
- createPersistedStateFromExistingState(DiscoveryNode, CoordinationState.PersistedState, Function<Metadata, Metadata>, Function<Long, Long>, LongSupplier, NamedWriteableRegistry, BooleanSupplier, ThreadPool) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.DefaultCoordinatorStrategy
- createQueryRewriteContext() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- createQueryWithInnerQuery(QueryBuilder) - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Create the query that is being tested holding the provided inner query.
- createRandomTestRetrieverBuilder() - Static method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
-
Creates a random
TestRetrieverBuilder
. - createRegularPolygon(double, double, double, int) - Static method in class org.elasticsearch.geo.XShapeTestUtil
-
Makes an n-gon, centered at the provided x/y, and each vertex approximately distanceMeters away from the center.
- createRepository(String) - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- createRepository(String) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- createRepository(String, boolean) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- createRepository(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createRepository(String, String, Path) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createRepository(String, String, Settings.Builder) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createRepository(String, String, Settings.Builder, boolean) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createRepository(String, Settings, boolean) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- createRepository(Logger, String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createRepository(Logger, String, String, Settings.Builder, boolean) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createRepositoryNoVerify(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createResponse(float[], T) - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
-
Create a response given this expected array that is acceptable to the query builder
- createResponse(RestStatus, BytesReference) - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- createResponse(RestStatus, ChunkedRestResponseBodyPart) - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- createRestClient() - Static method in class org.elasticsearch.test.ESIntegTestCase
- createRestClient(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- createRestClient(List<NodeInfo>, RestClientBuilder.HttpClientConfigCallback, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- createRestClient(RestClientBuilder.HttpClientConfigCallback, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- createSearchContext(IndexService) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new search context.
- createSearchContext(ShardSearchRequest, TimeValue) - Method in class org.elasticsearch.search.MockSearchService
- createSearchExecutionContext() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- createSearchExecutionContext(IndexSearcher) - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- createSearchExecutionContext(MapperService) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createSearchExecutionContext(MapperService, IndexSearcher) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createSearchExecutionContext(MapperService, IndexSearcher, Settings) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createShard(ShardRouting) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- createShard(ShardRouting, PeerRecoveryTargetService, PeerRecoveryTargetService.RecoveryListener, RepositoriesService, Consumer<IndexShard.ShardFailure>, GlobalCheckpointSyncer, RetentionLeaseSyncer, DiscoveryNode, DiscoveryNode, long) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- createShardContextWithNoType() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- createShardsAllocator(Settings) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- createSimilarityScript() - Method in class org.elasticsearch.script.MockScriptEngine.MockCompiledScript
- createSimilarityWeightScript() - Method in class org.elasticsearch.script.MockScriptEngine.MockCompiledScript
- createSimple(IndexSettings, XContentParserConfiguration, NamedWriteableRegistry) - Static method in class org.elasticsearch.index.query.SearchExecutionContextHelper
-
Factory method generating a dummy context with partial functionality.
- createSnapshot(String, String, boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createSnapshot(String, String, List<String>) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createSnapshot(String, String, List<String>, List<String>) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- createSnapshot(RestClient, String, String, boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- createSnapshotResponseFromXContent(XContentParser) - Static method in class org.elasticsearch.snapshots.SnapshotInfoUtils
- createSpy(MockCreationSettings<T>, MockHandler, T) - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- createStaticMock(Class<T>, MockCreationSettings<T>, MockHandler) - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- createStore() - Method in class org.elasticsearch.index.engine.EngineTestCase
- createStore(Directory) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createStore(IndexSettings, Directory) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createStore(IndexSettings, ShardPath) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- createStore(ShardId, IndexSettings, Directory) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- createSubAggregations() - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- createSytheticSourceMapperService(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createTaskManager(Settings, ThreadPool, Set<String>, Tracer) - Static method in class org.elasticsearch.test.transport.MockTransportService
- createTestAggregatorBuilder() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- createTestAggregatorFactory() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- createTestAnalysis(Index, Settings, Settings, AnalysisPlugin...) - Static method in class org.elasticsearch.test.ESTestCase
-
Creates an TestAnalysis with all the default analyzers configured.
- createTestAnalysis(Index, Settings, AnalysisPlugin...) - Static method in class org.elasticsearch.test.ESTestCase
-
Creates an TestAnalysis with all the default analyzers configured.
- createTestAnalysis(IndexSettings, Settings, AnalysisPlugin...) - Static method in class org.elasticsearch.test.ESTestCase
-
Creates an TestAnalysis with all the default analyzers configured.
- createTestAnalysisFromClassPath(Path, String, AnalysisPlugin...) - Static method in class org.elasticsearch.index.analysis.AnalysisTestsHelper
- createTestAnalysisFromSettings(Settings, Path, AnalysisPlugin...) - Static method in class org.elasticsearch.index.analysis.AnalysisTestsHelper
- createTestAnalysisFromSettings(Settings, AnalysisPlugin...) - Static method in class org.elasticsearch.index.analysis.AnalysisTestsHelper
- createTestContext(Settings, Metadata) - Method in class org.elasticsearch.test.AbstractBootstrapCheckTestCase
- createTestFeatureService(Map<String, Set<String>>, Set<Version>) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- createTestIndexSettings() - Method in class org.elasticsearch.test.AbstractBuilderTestCase
- createTestInstance() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- createTestInstance() - Method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- createTestInstance() - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Creates a random test instance to use in the tests.
- createTestInstance() - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Creates a random test instance to use in the tests.
- createTestInstance() - Method in class org.elasticsearch.test.InternalAggregationTestCase
- createTestInstance(float[]) - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- createTestInstance(int, int, int, List<DefaultShardOperationFailedException>) - Method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- createTestInstance(String, long, InternalAggregations, Map<String, Object>) - Method in class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- createTestInstance(String, Map<String, Object>) - Method in class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- createTestInstance(String, Map<String, Object>) - Method in class org.elasticsearch.test.InternalAggregationTestCase
- createTestInstance(String, Map<String, Object>) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- createTestInstance(String, Map<String, Object>, InternalAggregations) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- createTestInstance(String, Map<String, Object>, InternalAggregations) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- createTestInstanceForXContent() - Method in class org.elasticsearch.test.InternalAggregationTestCase
- createTestInstanceForXContent() - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- createTestInstanceForXContent(String, Map<String, Object>, InternalAggregations) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- createTestMapperMetrics() - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createTestMetadata() - Method in class org.elasticsearch.test.InternalAggregationTestCase
- createTestQueryBuilder() - Method in class org.elasticsearch.test.AbstractQueryTestCase
- createTestQueryBuilder(boolean, boolean) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- createTestWarmer(IndexSettings) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- createThreadPool(ExecutorBuilder<?>...) - Method in class org.elasticsearch.test.ESTestCase
- createThreadPoolExecutor() - Method in class org.elasticsearch.cluster.service.FakeThreadPoolMasterService
- createTimeSeriesModeDocumentMapper(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- createTranslog(Path, LongSupplier) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createTranslog(LongSupplier) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createTranslogHandler(MapperService) - Method in class org.elasticsearch.index.engine.EngineTestCase
- createTransportService(Settings, ThreadPool, TransportInterceptor, Function<BoundTransportAddress, DiscoveryNode>, ClusterSettings, Set<String>) - Method in class org.elasticsearch.test.transport.MockTransport
- createTransportService(Settings, ThreadPool, TransportInterceptor, Function<BoundTransportAddress, DiscoveryNode>, ClusterSettings, Set<String>) - Method in class org.elasticsearch.transport.DisruptableMockTransport
- createUniqueRandomName() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
-
make sure query names are unique by suffixing them with increasing counter
- createUnmanaged(String, String) - Static method in class org.elasticsearch.indices.SystemIndexDescriptorUtils
-
Creates a descriptor for system indices matching the supplied pattern.
- createUnmappedInstance(String) - Method in class org.elasticsearch.test.InternalAggregationTestCase
-
Return an instance on an unmapped field.
- createUnmappedInstance(String, Map<String, Object>) - Method in class org.elasticsearch.test.InternalAggregationTestCase
-
Return an instance on an unmapped field.
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.elasticsearch.search.DummyQueryParserPlugin.DummyQuery
- createWriter(Directory, IndexWriterConfig) - Method in interface org.elasticsearch.index.engine.EngineTestCase.IndexWriterFactory
- createXContentTester() - Method in class org.elasticsearch.test.AbstractChunkedSerializingTestCase
- createXContentTester() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
- createXContentTester() - Method in class org.elasticsearch.test.AbstractXContentSerializingTestCase
- createXContextTestInstance(XContentType) - Method in class org.elasticsearch.test.AbstractChunkedSerializingTestCase
- createXContextTestInstance(XContentType) - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Creates a random instance to use in the xcontent tests.
- createXContextTestInstance(XContentType) - Method in class org.elasticsearch.test.AbstractXContentSerializingTestCase
- credentials() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- current(String...) - Method in class org.elasticsearch.test.rest.ESRestTestCase.VersionSensitiveWarningsHandler
-
Adds to the set of warnings that are all required in responses if the cluster is formed from nodes all running the exact same version as the client.
- currentClusterStateVersion - Static variable in class org.elasticsearch.index.shard.IndexShardTestCase
- currentNanoTime() - Method in class org.elasticsearch.cluster.ESAllocationTestCase.MockAllocationService
D
- dataCopies - Variable in class org.elasticsearch.test.ESIntegTestCase.NumShards
- DataGeneratorSpecification - Record Class in org.elasticsearch.logsdb.datageneration
-
Allows configuring behavior of data generation components.
- DataGeneratorSpecification(DataSource, int, int, int, boolean, List<PredefinedField>) - Constructor for record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Creates an instance of a
DataGeneratorSpecification
record class. - DataGeneratorSpecification.Builder - Class in org.elasticsearch.logsdb.datageneration
- dataNode() - Static method in class org.elasticsearch.test.NodeRoles
- dataNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- dataNodeClient() - Static method in class org.elasticsearch.test.ESIntegTestCase
- dataNodeClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a node client to a data node in the cluster.
- dataOnlyNode() - Static method in class org.elasticsearch.test.NodeRoles
- dataOnlyNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- dataPathSettings(String) - Method in class org.elasticsearch.test.InternalTestCluster
- dataRewriteContext() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- dataSource() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns the value of the
dataSource
record component. - DataSource - Class in org.elasticsearch.logsdb.datageneration.datasource
-
This class handles any decision performed during data generation that changes the output.
- DataSource(Collection<DataSourceHandler>) - Constructor for class org.elasticsearch.logsdb.datageneration.datasource.DataSource
- DataSourceHandler - Interface in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest<TResponse> - Interface in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.ArrayWrapper - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.ByteGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.ChildFieldGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.DoubleGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.DynamicMappingGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.FieldTypeGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.FloatGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.HalfFloatGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.IntegerGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.LeafMappingParametersGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.LongGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.NullWrapper - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.ObjectArrayGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.ObjectMappingParametersGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.ShortGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.StringGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceRequest.UnsignedLongGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse - Interface in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.ArrayWrapper - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.ByteGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.ChildFieldGenerator - Interface in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.DoubleGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.DynamicMappingGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.FieldTypeGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.FieldTypeGenerator.FieldTypeInfo - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.FloatGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.HalfFloatGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.IntegerGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.LeafMappingParametersGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.LongGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.NullWrapper - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.ObjectArrayGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.ObjectMappingParametersGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.ShortGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.StringGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataSourceResponse.UnsignedLongGenerator - Record Class in org.elasticsearch.logsdb.datageneration.datasource
- DataStreamTestHelper - Class in org.elasticsearch.cluster.metadata
- DataStreamTestHelper() - Constructor for class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- DATE_ALIAS_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- DATE_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- DATE_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- DATE_NANOS_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- DATE_RANGE_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- dateField(String, DateFieldMapper.Resolution) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Make a DateFieldMapper.DateFieldType for a
date
. - DateHistogramAggregatorTestCase - Class in org.elasticsearch.search.aggregations.bucket
- DateHistogramAggregatorTestCase() - Constructor for class org.elasticsearch.search.aggregations.bucket.DateHistogramAggregatorTestCase
- DATELINE_IDX_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- DatelinePointShapeQueryTestCase - Class in org.elasticsearch.search.geo
-
Some tests are specific to geographic test cases, notably those involving special behaviour regarding the international data line.
- DatelinePointShapeQueryTestCase() - Constructor for class org.elasticsearch.search.geo.DatelinePointShapeQueryTestCase
- debugTestCase(AggregationBuilder, Query, IndexReader, TriConsumer<R, Class<? extends Aggregator>, Map<String, Map<String, Object>>>, QueryCachingPolicy, MappedFieldType...) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Execute and aggregation and collect its
debug
information. - debugTestCase(AggregationBuilder, Query, CheckedConsumer<RandomIndexWriter, IOException>, TriConsumer<R, Class<? extends Aggregator>, Map<String, Map<String, Object>>>, MappedFieldType...) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Execute and aggregation and collect its
debug
information. - declareAcknowledgedAndShardsAcknowledgedFields(ConstructingObjectParser<T, Void>) - Static method in enum class org.elasticsearch.test.rest.TestResponseParsers
- declareAcknowledgedField(ConstructingObjectParser<T, Void>) - Static method in enum class org.elasticsearch.test.rest.TestResponseParsers
- declareBroadcastFields(ConstructingObjectParser<T, Void>) - Static method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- declareInnerHitsParseFields(ObjectParser<Map<String, Object>, Void>) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- decRef() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- dedupAfterFetch() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
A few field types (e.g.
- DEFAULT_BWC_VERSIONS - Static variable in class org.elasticsearch.test.BWCVersions
- DEFAULT_CLUSTER_STATE_UPDATE_DELAY - Static variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- DEFAULT_DELAY_MAX - Static variable in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
- DEFAULT_DELAY_MIN - Static variable in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
- DEFAULT_ELECTION_DELAY - Static variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- DEFAULT_HIGH_NUM_MASTER_NODES - Static variable in class org.elasticsearch.test.InternalTestCluster
- DEFAULT_LOW_NUM_MASTER_NODES - Static variable in class org.elasticsearch.test.InternalTestCluster
- DEFAULT_MAX_BUCKETS - Static variable in class org.elasticsearch.test.InternalAggregationTestCase
- DEFAULT_MAX_NUM_SHARDS - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Default maximum number of shards for an index
- DEFAULT_MIN_NUM_SHARDS - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Default minimum number of shards for an index
- DEFAULT_ROLE_ONLY - Static variable in class org.elasticsearch.cluster.TestShardRoutingRoleStrategies
-
A strategy which only returns the default role in all situations.
- DEFAULT_SKIP_UNAVAILABLE - Static variable in class org.elasticsearch.test.AbstractMultiClustersTestCase
- DEFAULT_STABILISATION_TIME - Static variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
-
An estimate for the max time needed to stabilize a cluster.
- DEFAULT_TEST_WORKER_ID - Static variable in class org.elasticsearch.test.ESTestCase
- DEFAULT_VERSION - Static variable in class org.elasticsearch.ingest.TestIngestDocument
- DefaultCoordinatorStrategy() - Constructor for class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.DefaultCoordinatorStrategy
- DefaultCoordinatorStrategy(ElectionStrategy) - Constructor for class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.DefaultCoordinatorStrategy
- defaultFieldName - Static variable in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- defaultFieldName - Static variable in class org.elasticsearch.search.geo.DatelinePointShapeQueryTestCase
- defaultIndexName - Static variable in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- defaultIndexName - Static variable in class org.elasticsearch.search.geo.DatelinePointShapeQueryTestCase
- defaultInt(Setting<Integer>) - Static method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- defaultMapping() - Method in class org.elasticsearch.index.engine.EngineTestCase
- DefaultMappingParametersHandler - Class in org.elasticsearch.logsdb.datageneration.datasource
- DefaultMappingParametersHandler() - Constructor for class org.elasticsearch.logsdb.datageneration.datasource.DefaultMappingParametersHandler
- defaultMillis(Setting<TimeValue>) - Static method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- DefaultObjectGenerationHandler - Class in org.elasticsearch.logsdb.datageneration.datasource
- DefaultObjectGenerationHandler() - Constructor for class org.elasticsearch.logsdb.datageneration.datasource.DefaultObjectGenerationHandler
- DefaultPrimitiveTypesHandler - Class in org.elasticsearch.logsdb.datageneration.datasource
- DefaultPrimitiveTypesHandler() - Constructor for class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- defaultSettings - Variable in class org.elasticsearch.index.engine.EngineTestCase
- DefaultWrappersHandler - Class in org.elasticsearch.logsdb.datageneration.datasource
- DefaultWrappersHandler() - Constructor for class org.elasticsearch.logsdb.datageneration.datasource.DefaultWrappersHandler
- DelayedShardsMockGatewayAllocator() - Constructor for class org.elasticsearch.cluster.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
- delayUntilRecoveryStart(SubscribableListener<Void>) - Method in class org.elasticsearch.indices.recovery.RecoveryClusterStateDelayListeners
- delegate() - Method in class org.elasticsearch.snapshots.mockstore.BlobStoreWrapper
- delete(DeleteRequest) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- deleteAllNodeShutdownMetadata() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
If any nodes are registered for shutdown, removes their metadata.
- deleteDoc(IndexShard, String) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- deleteIndex(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- deleteIndex(RestClient, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- deletePipeline(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Delete the ingest pipeline with the given
id
, the defaultESIntegTestCase.client()
. - deletePipeline(String) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Delete the ingest pipeline with the given
id
, the defaultESSingleNodeTestCase.client()
. - deletePipelinesIgnoringExceptions(ElasticsearchClient, Iterable<String>) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
-
Attempt to delete the ingest pipeline with the given
id
, using the givenElasticsearchClient
, and logging (but otherwise ignoring) the result. - deleteRepository(String) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- deleteRepository(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- deleteRepository(String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- deleteSnapshot(String, String, boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- deleteSnapshot(RestClient, String, String, boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- deleteSnapshots(Collection<SnapshotId>, long, IndexVersion, ActionListener<RepositoryData>, Runnable) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- deleteUnassignedIndex(String, IndexMetadata, ClusterState) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- deliverBlackholedRequests() - Method in class org.elasticsearch.transport.DisruptableMockTransport
- DeprecationWarning(Level, String) - Constructor for class org.elasticsearch.test.ESTestCase.DeprecationWarning
- describeMismatchSafely(List<?>, Description) - Method in class org.elasticsearch.test.ListMatcher
- describeMismatchSafely(Map<?, ?>, Description) - Method in class org.elasticsearch.test.MapMatcher
- describeMismatchSafely(BytesRef, Description) - Method in class org.elasticsearch.test.hamcrest.WellKnownBinaryBytesRefMatcher
- describeMismatchSafely(ByteSizeValue, Description) - Method in class org.elasticsearch.test.ByteSizeEqualsMatcher
- describeMismatchSafely(Rectangle, Description) - Method in class org.elasticsearch.test.hamcrest.RectangleMatcher
- describeTo(Description) - Method in class org.elasticsearch.test.ByteSizeEqualsMatcher
- describeTo(Description) - Method in class org.elasticsearch.test.hamcrest.RectangleMatcher
- describeTo(Description) - Method in class org.elasticsearch.test.hamcrest.WellKnownBinaryBytesRefMatcher
- describeTo(Description) - Method in class org.elasticsearch.test.NeverMatcher
- destroyExecutor() - Static method in class org.elasticsearch.common.lucene.store.ESIndexInputTestCase
- DeterministicTaskQueue - Class in org.elasticsearch.common.util.concurrent
-
Permits the testing of async processes by interleaving all the tasks on a single thread in a pseudo-random (deterministic) fashion, letting each task spawn future tasks, and simulating the passage of time.
- DeterministicTaskQueue() - Constructor for class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- DeterministicTaskQueue(Random) - Constructor for class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- dfsResult() - Method in class org.elasticsearch.test.TestSearchContext
- DiffableTestUtils - Class in org.elasticsearch.test
-
Utilities that simplify testing of diffable classes
- differenceBetweenMapsIgnoringArrayOrder(Map<String, Object>, Map<String, Object>) - Static method in class org.elasticsearch.test.XContentTestUtils
-
Compares two maps generated from XContentObjects.
- diffReader() - Method in class org.elasticsearch.test.ChunkedToXContentDiffableSerializationTestCase
- diffReader() - Method in class org.elasticsearch.test.SimpleDiffableSerializationTestCase
- diffReader() - Method in class org.elasticsearch.test.SimpleDiffableWireSerializationTestCase
- DirectoryReaderWrapper(DirectoryReader, FilterDirectoryReader.SubReaderWrapper) - Constructor for class org.elasticsearch.test.engine.MockEngineSupport.DirectoryReaderWrapper
- DISABLE_FLUSH_ON_CLOSE - Static variable in class org.elasticsearch.test.engine.MockEngineSupport
-
Allows tests to prevent an engine from being flushed on close ie.
- disableAllocation(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for disabling allocation for
indices
- disableBlock() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- disableBlocks(List<AbstractSearchCancellationTestCase.ScriptedBlockPlugin>) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- disableIndexBlock(String, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Disables an index block for the specified index
- disableRandomFailures() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase
- disableRepoConsistencyCheck(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- disableTestSecurityManager() - Static method in class org.elasticsearch.bootstrap.BootstrapForTesting
-
Temporarily dsiables security manager for a test.
- DISCONNECT - Static variable in class org.elasticsearch.test.disruption.NetworkDisruption
-
Simulates a network disconnect.
- DISCONNECTED - Enum constant in enum class org.elasticsearch.transport.DisruptableMockTransport.ConnectionStatus
-
Simulate disconnection: inbound and outbound messages throw a
ConnectTransportException
. - disconnectFromNode(DiscoveryNode) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- disconnectFromRemoteClusters() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- DiscoveryNodeUtils - Class in org.elasticsearch.cluster.node
- DiscoveryNodeUtils() - Constructor for class org.elasticsearch.cluster.node.DiscoveryNodeUtils
- DiscoveryNodeUtils.Builder - Class in org.elasticsearch.cluster.node
- disjointQuery(String, String) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- disjointQuery(String, String) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
- disjointQuery(String, Geometry) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- disjointQuery(String, Geometry) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
-
A filter to filter indexed shapes that are not intersection with the query shape
- DiskUsageIntegTestCase - Class in org.elasticsearch.cluster
-
An integration test case that allows mocking the disk usage per node.
- DiskUsageIntegTestCase() - Constructor for class org.elasticsearch.cluster.DiskUsageIntegTestCase
- DiskUsageIntegTestCase.TestFileStore - Class in org.elasticsearch.cluster
- dispatchBadRequest(RestChannel, ThreadContext, Throwable) - Method in class org.elasticsearch.http.NullDispatcher
- dispatchRequest(RestRequest) - Method in class org.elasticsearch.test.rest.RestActionTestCase
-
Sends the given request to the test controller in
RestActionTestCase.controller()
. - dispatchRequest(RestRequest, RestChannel, ThreadContext) - Method in class org.elasticsearch.http.NullDispatcher
- dispose(Consumer<T>) - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- dispose(T) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Dispose of the copy, usually
Releasable.close()
or a noop. - dispose(T) - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Callback invoked after a test instance is no longer needed that can be overridden to release resources associated with the instance.
- disrupt(String, String) - Method in class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- disrupt(String, String) - Method in class org.elasticsearch.test.disruption.NetworkDisruption.DisruptedLinks
-
Returns true iff network should be disrupted between the two nodes
- disrupt(String, String) - Method in class org.elasticsearch.test.disruption.NetworkDisruption.IsolateAllNodes
- disrupt(String, String) - Method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- DisruptableMockTransport - Class in org.elasticsearch.transport
- DisruptableMockTransport(DiscoveryNode, DeterministicTaskQueue) - Constructor for class org.elasticsearch.transport.DisruptableMockTransport
- DisruptableMockTransport.ConnectionStatus - Enum Class in org.elasticsearch.transport
-
Response type from
DisruptableMockTransport.getConnectionStatus(DiscoveryNode)
indicating whether, and how, messages should be disrupted on this transport. - DisruptableMockTransport.RebootSensitiveRunnable - Interface in org.elasticsearch.transport
-
When simulating sending requests to another node which might have rebooted, it's not realistic just to drop the action if the node reboots; instead we need to simulate the error response that comes back.
- DisruptedLinks(Set<String>...) - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption.DisruptedLinks
- disruptedNode - Variable in class org.elasticsearch.test.disruption.SingleNodeDisruption
- DisruptibleHeartbeatStore - Class in org.elasticsearch.cluster.coordination.stateless
- DisruptibleHeartbeatStore(HeartbeatStore, AbstractCoordinatorTestCase.DisruptibleRegisterConnection) - Constructor for class org.elasticsearch.cluster.coordination.stateless.DisruptibleHeartbeatStore
- distanceQuery(String) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
-
A filter to filter based on a specific distance from a specific geo location / point.
- doAfterNodes(int, Client) - Method in class org.elasticsearch.test.InternalTestCluster.RestartCallback
-
Executed for each node before the
n + 1
node is restarted. - doAssertClientRequest(ActionRequest, T) - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
-
Assert that the client action request is correct given this provided random builder
- doAssertLuceneQuery(GeoShapeQueryBuilder, Query, SearchExecutionContext) - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- doAssertLuceneQuery(QB, Query, SearchExecutionContext) - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Checks the result of
QueryBuilder.toQuery(SearchExecutionContext)
given the originalQueryBuilder
andSearchExecutionContext
. - doAssertReducedMultiBucketConsumer(Aggregation, MultiBucketConsumerService.MultiBucketConsumer) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- doAssertReducedMultiBucketConsumer(Aggregation, MultiBucketConsumerService.MultiBucketConsumer) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- doAssertReducedMultiBucketConsumer(Aggregation, MultiBucketConsumerService.MultiBucketConsumer) - Method in class org.elasticsearch.test.InternalAggregationTestCase
- doAssertReducedMultiBucketConsumer(Aggregation, MultiBucketConsumerService.MultiBucketConsumer) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- doc() - Method in class org.elasticsearch.index.mapper.TestDocumentParserContext
- DocIdSeqNoAndSource - Record Class in org.elasticsearch.index.engine
-
A tuple of document id, sequence number, primary term, source and version of a document
- DocIdSeqNoAndSource(String, BytesRef, long, long, long) - Constructor for record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Creates an instance of a
DocIdSeqNoAndSource
record class. - doClose() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- doClose() - Method in class org.elasticsearch.test.MockHttpTransport
- doClose() - Method in class org.elasticsearch.test.transport.FakeTransport
- doClose() - Method in class org.elasticsearch.test.transport.MockTransportService
- doConfigureClient(RestClientBuilder, Settings) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- doCreateTestQueryBuilder() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- doCreateTestQueryBuilder() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- doCreateTestQueryBuilder() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- doCreateTestQueryBuilder() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Create the query that is being tested
- doCreateTestQueryBuilder(boolean) - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- docs(int...) - Static method in class org.elasticsearch.index.mapper.TestBlock
- docs(LeafReaderContext) - Static method in class org.elasticsearch.index.mapper.TestBlock
- DocsAndPositionsEnum - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- DocsEnum - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- DocumentGenerator - Class in org.elasticsearch.logsdb.datageneration
-
Generator that generates a valid random document that follows the structure of provided
Template
. - DocumentGenerator(DataGeneratorSpecification) - Constructor for class org.elasticsearch.logsdb.datageneration.DocumentGenerator
- docValuesContext() - Method in class org.elasticsearch.test.TestSearchContext
- docValuesContext(FetchDocValuesContext) - Method in class org.elasticsearch.test.TestSearchContext
- doDistanceAndBoundingBoxTest(String) - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- doDistanceAndBoundingBoxTest(String) - Method in class org.elasticsearch.search.geo.GeoShapeIntegTestCase
-
The testBulk method uses this only for Geo-specific tests
- doEnsureClusterStateConsistency(NamedWriteableRegistry) - Method in class org.elasticsearch.test.ESIntegTestCase
- doEquals(Object) - Method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- doEquals(DummyQueryBuilder) - Method in class org.elasticsearch.search.DummyQueryBuilder
- doEquals(RankBuilder) - Method in class org.elasticsearch.search.rank.TestRankBuilder
- doExecute(ActionType<Response>, Request, ActionListener<Response>) - Method in class org.elasticsearch.test.client.NoOpClient
- doExecute(ActionType<Response>, Request, ActionListener<Response>) - Method in class org.elasticsearch.test.client.NoOpNodeClient
- doExecute(ActionType<Response>, Request, ActionListener<Response>) - Method in class org.elasticsearch.test.rest.RestActionTestCase.VerifyingClient
- doGetSequentialStoredFieldsReader(StoredFieldsReader) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- doHashCode() - Method in class org.elasticsearch.search.DummyQueryBuilder
- doHashCode() - Method in class org.elasticsearch.search.rank.TestRankBuilder
- doHashCode() - Method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- doParseInstance(XContentParser) - Method in class org.elasticsearch.test.AbstractChunkedSerializingTestCase
-
Parses to a new instance using the provided
XContentParser
- doParseInstance(XContentParser) - Method in class org.elasticsearch.test.AbstractXContentSerializingTestCase
-
Parses to a new instance using the provided
XContentParser
- doParseInstance(XContentParser) - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Parses to a new instance using the provided
XContentParser
- doRewrite(QueryRewriteContext) - Method in class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
- doStart() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- doStart() - Method in class org.elasticsearch.test.MockHttpTransport
- doStart() - Method in class org.elasticsearch.test.transport.FakeTransport
- doStop() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- doStop() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- doStop() - Method in class org.elasticsearch.test.MockHttpTransport
- doStop() - Method in class org.elasticsearch.test.transport.FakeTransport
- doStop() - Method in class org.elasticsearch.test.transport.MockTransportService
- doToQuery(SearchExecutionContext) - Method in class org.elasticsearch.search.DummyQueryBuilder
- doToXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.search.retriever.TestCompoundRetrieverBuilder
- doToXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- DOUBLE - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- DOUBLE_ASYNC_COUNTER - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- DOUBLE_COUNTER - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- DOUBLE_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- DOUBLE_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- DOUBLE_GAUGE - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- DOUBLE_HISTOGRAM - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- DOUBLE_UP_DOWN_COUNTER - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- doubleField(String) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Make a NumberFieldMapper.NumberFieldType for a
double
. - DoubleFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- DoubleFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.DoubleFieldDataGenerator
- DoubleGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DoubleGenerator
-
Creates an instance of a
DoubleGenerator
record class. - DoubleGenerator(Supplier<Double>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DoubleGenerator
-
Creates an instance of a
DoubleGenerator
record class. - doubleValue() - Method in class org.elasticsearch.script.ScoreAccessor
- downloadStorageEndpoint(BlobContainer, String) - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- doWrapDirectoryReader(DirectoryReader) - Method in class org.elasticsearch.index.engine.EngineTestCase.MatchingDirectoryReader
- doWrapDirectoryReader(DirectoryReader) - Method in class org.elasticsearch.test.FieldMaskingReader
- doWriteTo(StreamOutput) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- doWriteTo(StreamOutput) - Method in class org.elasticsearch.search.DummyQueryBuilder
- doWriteTo(StreamOutput) - Method in class org.elasticsearch.search.rank.TestRankBuilder
- doXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.search.DummyQueryBuilder
- doXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.search.rank.TestRankBuilder
- doXContentBody(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- drainInputStream(InputStream) - Static method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
-
Consumes and closes the given
InputStream
- DUMMY_UPDATABLE_SETTING_NAME - Static variable in class org.elasticsearch.snapshots.mockstore.MockRepository
-
Setting name for a setting that can be updated dynamically to test
MockRepository.canUpdateInPlace(Settings, Set)
. - DummyQuery() - Constructor for class org.elasticsearch.search.DummyQueryParserPlugin.DummyQuery
- DummyQueryBuilder - Class in org.elasticsearch.search
- DummyQueryBuilder() - Constructor for class org.elasticsearch.search.DummyQueryBuilder
- DummyQueryBuilder(StreamInput) - Constructor for class org.elasticsearch.search.DummyQueryBuilder
- DummyQueryParserPlugin - Class in org.elasticsearch.search
- DummyQueryParserPlugin() - Constructor for class org.elasticsearch.search.DummyQueryParserPlugin
- DummyQueryParserPlugin.DummyQuery - Class in org.elasticsearch.search
- dummyScript() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- dummyScript() - Method in class org.elasticsearch.index.mapper.FieldScriptTestCase
- DummyShardLock - Class in org.elasticsearch.test
- DummyShardLock(ShardId) - Constructor for class org.elasticsearch.test.DummyShardLock
- dynamicMapping() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Returns the value of the
dynamicMapping
record component. - dynamicMapping(Mapping) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- DynamicMapping - Enum Class in org.elasticsearch.logsdb.datageneration.fields
- DynamicMappingGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DynamicMappingGenerator
-
Creates an instance of a
DynamicMappingGenerator
record class. - DynamicMappingGenerator(Function<Boolean, Boolean>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DynamicMappingGenerator
-
Creates an instance of a
DynamicMappingGenerator
record class.
E
- ECS_LOG_LINE - Static variable in class org.elasticsearch.common.logging.JsonLogLine
- ElasticsearchAssertions - Class in org.elasticsearch.test.hamcrest
- ElasticsearchAssertions() - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- ElasticsearchMockDirectoryWrapper(Random, Directory, boolean) - Constructor for class org.elasticsearch.test.store.MockFSDirectoryFactory.ElasticsearchMockDirectoryWrapper
- eligibleCopyToFields() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Returns the value of the
eligibleCopyToFields
record component. - EMPTY - Static variable in class org.elasticsearch.test.NodeConfigurationSource
- EMPTY - Static variable in class org.elasticsearch.test.rest.Stash
- EMPTY_BYTE - Static variable in class org.elasticsearch.test.fixture.AbstractHttpFixture
- EMPTY_CALLBACK - Static variable in class org.elasticsearch.test.InternalTestCluster
- EMPTY_EVENT_LISTENER - Static variable in class org.elasticsearch.index.shard.IndexShardTestCase
- EMPTY_IDX_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- EMPTY_NODE_ALLOCATION_STATS - Static variable in class org.elasticsearch.cluster.ESAllocationTestCase
- emptyContext - Variable in class org.elasticsearch.test.AbstractBootstrapCheckTestCase
- emptyIngestDocument() - Static method in class org.elasticsearch.ingest.TestIngestDocument
-
Create an empty ingest document for testing.
- emptyReduceContextBuilder() - Static method in class org.elasticsearch.test.InternalAggregationTestCase
-
Builds an
AggregationReduceContext
that is valid but empty. - emptyReduceContextBuilder(AggregatorFactories.Builder) - Static method in class org.elasticsearch.test.InternalAggregationTestCase
-
Builds an
AggregationReduceContext
that is valid and nearly empty except that it contains the provided builders. - EmptyRequest - Class in org.elasticsearch.transport
-
A transport request with an empty payload.
- EmptyRequest() - Constructor for class org.elasticsearch.transport.EmptyRequest
- EmptyRequest(StreamInput) - Constructor for class org.elasticsearch.transport.EmptyRequest
- EmptySystemIndices - Class in org.elasticsearch.indices
-
A test class which contains a singleton instance of the
SystemIndices
class that has been created with no non-standard system indices defined except for those defined within the class itself. - emptyWithTotalHits(String, int, int, int, long, ShardSearchFailure[], SearchResponse.Clusters) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- enableAllocation(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for enabling allocation for
indices
- enableBigArraysReleasedCheck() - Method in class org.elasticsearch.test.ESIntegTestCase
- enableBigArraysReleasedCheck() - Method in class org.elasticsearch.test.ESTestCase
- enableBlock() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- enableConcurrentSearch() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Whether we'd like to enable inter-segment search concurrency and increase the likelihood of leveraging it, by creating multiple slices with a low amount of documents in them, which would not be allowed in production.
- enableConcurrentSearch() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Whether we'd like to enable inter-segment search concurrency and increase the likelihood of leveraging it, by creating multiple slices with a low amount of documents in them, which would not be allowed in production.
- enableIndexBlock(String, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Enables an index block for the specified index
- enableWarningsCheck() - Method in class org.elasticsearch.test.ESIntegTestCase
- enableWarningsCheck() - Method in class org.elasticsearch.test.ESTestCase
-
Whether or not we check after each test whether it has left warnings behind.
- encodes(TypeSafeMatcher<G>) - Static method in class org.elasticsearch.test.hamcrest.WellKnownBinaryBytesRefMatcher
- end() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
-
Returns the value of the
end
record component. - end() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.Range
-
Returns the value of the
end
record component. - endVerification(String) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- engine - Variable in class org.elasticsearch.index.engine.EngineTestCase
- EngineTestCase - Class in org.elasticsearch.index.engine
- EngineTestCase() - Constructor for class org.elasticsearch.index.engine.EngineTestCase
- EngineTestCase.IndexWriterFactory - Interface in org.elasticsearch.index.engine
- EngineTestCase.MatchingDirectoryReader - Class in org.elasticsearch.index.engine
- EngineTestCase.PrimaryTermSupplier - Class in org.elasticsearch.index.engine
- ensureAllArraysAreReleased() - Static method in class org.elasticsearch.common.util.MockBigArrays
- ensureAllContextsReleased(SearchService) - Static method in class org.elasticsearch.test.ESTestCase
- ensureAllFreeContextActionsAreConsumed() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
waits until all free_context actions have been handled by the generic thread pool
- ensureAllSearchContextsReleased() - Method in class org.elasticsearch.test.ESTestCase
- ensureAtLeastNumDataNodes(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
Ensures that at least
n
data nodes are present in the cluster. - ensureAtMostNumDataNodes(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
Ensures that at most
n
are up and running. - ensureCheckIndexPassed() - Method in class org.elasticsearch.test.ESTestCase
- ensureClusterSizeConsistency() - Method in class org.elasticsearch.test.ESIntegTestCase
- ensureClusterStateCanBeReadByNodeTool() - Method in class org.elasticsearch.test.ESIntegTestCase
- ensureClusterStateConsistency() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Verifies that all nodes that have the same version of the cluster state as master have same cluster state
- ensureEstimatedStats() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- ensureEstimatedStats() - Method in class org.elasticsearch.test.InternalTestCluster
- ensureEstimatedStats() - Method in class org.elasticsearch.test.TestCluster
-
Ensures that any breaker statistics are reset to 0.
- ensureFullyConnectedCluster() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures that all nodes in the cluster are connected to each other.
- ensureFullyConnectedCluster(InternalTestCluster) - Static method in class org.elasticsearch.test.disruption.NetworkDisruption
-
Ensures that all nodes in the cluster are connected to each other.
- ensureGreen(String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
checks that the specific index is green.
- ensureGreen(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureGreen(String...) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureGreen(RestClient, String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- ensureGreen(TimeValue, String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureGreen(TimeValue, String...) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureHealth(String, Consumer<Request>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- ensureHealth(Consumer<Request>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- ensureHealth(RestClient, String, Consumer<Request>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- ensureHealth(RestClient, Consumer<Request>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- ensureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkDisruption
-
ensures the cluster is healthy after the disruption
- ensureInitialized() - Static method in class org.elasticsearch.bootstrap.BootstrapForTesting
- ensureNodeCount(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- ensureNodeCount(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
- ensureNoInitializingShards() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
waits until all shard initialization is completed.
- ensureNoInitializingShards() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
waits until all shard initialization is completed.
- ensureNoWarnings() - Method in class org.elasticsearch.test.ESTestCase
- ensureOpen(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- ensurePeerRecoveryRetentionLeasesRenewedAndSynced(String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Peer recovery retention leases are renewed and synced to replicas periodically (every 30 seconds).
- ensureRed(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a red state via the cluster health API.
- ensureSearchable(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster is in a searchable state for the given indices.
- ensureSearchWasCancelled(ActionFuture<SearchResponse>) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- ensureStableCluster(int) - Method in class org.elasticsearch.test.ESIntegTestCase
- ensureStableCluster(int, String) - Method in class org.elasticsearch.test.ESIntegTestCase
- ensureStableCluster(int, TimeValue) - Method in class org.elasticsearch.test.ESIntegTestCase
- ensureStableCluster(int, TimeValue, boolean, String) - Method in class org.elasticsearch.test.ESIntegTestCase
- ensureSupportedLocale() - Static method in class org.elasticsearch.test.ESTestCase
- ensureUnreachable() - Method in class org.elasticsearch.test.ReachabilityChecker
-
Ensure that all registered objects have become unreachable.
- ensureYellow(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a yellow state via the cluster health API.
- ensureYellowAndNoInitializingShards(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a yellow state via the cluster health API and ensures the that cluster has no initializing shards for the given indices
- entityAsList(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Convert the entity from a
Response
into a list of maps. - entityAsMap(HttpEntity) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Convert the entity from a
Response
into a map of maps. - entityAsMap(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Convert the entity from a
Response
into a map of maps. - entry(Object, Object) - Method in class org.elasticsearch.test.MapMatcher
-
Expect a value.
- entry(Object, Matcher<?>) - Method in class org.elasticsearch.test.MapMatcher
-
Expect a
Matcher
. - EnumSerializationTestUtils - Class in org.elasticsearch.test
-
Enum serialization via
StreamOutput.writeEnum(E)
andStreamInput.readEnum(Class)
uses the enum value's ordinal on the wire. - envVars - Variable in class org.elasticsearch.cli.CommandTestCase
-
The environment variables that execute uses
- ephemeralId(String) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- equals(Object) - Method in record class org.elasticsearch.cluster.coordination.LinearizabilityChecker.Event
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceInvalidExample
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ArrayWrapper
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ByteGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ChildFieldGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DoubleGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DynamicMappingGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FieldTypeGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FloatGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.HalfFloatGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.IntegerGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LongGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.NullWrapper
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectArrayGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ShortGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.StringGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.UnsignedLongGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ArrayWrapper
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ByteGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DoubleGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DynamicMappingGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator.FieldTypeInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FloatGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.HalfFloatGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.IntegerGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LeafMappingParametersGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LongGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.NullWrapper
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectArrayGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectMappingParametersGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ShortGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.StringGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.UnsignedLongGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.Mapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.elasticsearch.logsdb.datageneration.matchers.MatchResult
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.Template
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.Template.Leaf
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.logsdb.datageneration.Template.Object
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.elasticsearch.search.DummyQueryParserPlugin.DummyQuery
- equals(Object) - Method in record class org.elasticsearch.telemetry.Measurement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.test.CloseableTestClusterWrapper
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.elasticsearch.test.ESTestCase.DeprecationWarning
- equals(Object) - Method in record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.Range
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.test.InternalAggregationTestCase.BuilderAndToReduce
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.elasticsearch.test.PrivilegedOperations.ClosableURLClassLoader
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.elasticsearch.test.TestCustomMetadata
- equals(Object) - Method in record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Indicates whether some other object is "equal to" this one.
- EqualsHashCodeTestUtils - Class in org.elasticsearch.test
-
Utility class that encapsulates standard checks and assertions around testing the equals() and hashCode() methods of objects that implement them.
- EqualsHashCodeTestUtils() - Constructor for class org.elasticsearch.test.EqualsHashCodeTestUtils
- EqualsHashCodeTestUtils.CopyFunction<T> - Interface in org.elasticsearch.test
-
A function that makes a copy of its input argument
- EqualsHashCodeTestUtils.MutateFunction<T> - Interface in org.elasticsearch.test
-
A function that creates a copy of its input argument that is different from its input in exactly one aspect (e.g.
- ErroneousHttpHandler(HttpHandler, int) - Constructor for class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler
- error() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceInvalidExample
-
Returns the value of the
error
record component. - ERROR_MESSAGE - Static variable in class org.elasticsearch.common.util.MockBigArrays
-
Error message thrown by
BigArrays
produced withMockBigArrays(PageCacheRecycler, ByteSizeValue)
. - ERROR_MESSAGE - Static variable in class org.elasticsearch.indices.CrankyCircuitBreakerService
-
Error message thrown when the breaker randomly trips.
- errorMatches(String) - Method in class org.elasticsearch.index.mapper.MapperTestCase.ExampleMalformedValue
-
Match error messages that contain a string.
- errorMatches(Matcher<String>) - Method in class org.elasticsearch.index.mapper.MapperTestCase.ExampleMalformedValue
-
Match the error message in an arbitrary way.
- errors() - Method in class org.elasticsearch.test.rest.FakeRestChannel
- errorThrowingScript() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- ES_LOG_LINE - Static variable in class org.elasticsearch.common.logging.JsonLogLine
- ESAllocationTestCase - Class in org.elasticsearch.cluster
- ESAllocationTestCase() - Constructor for class org.elasticsearch.cluster.ESAllocationTestCase
- ESAllocationTestCase.DelayedShardsMockGatewayAllocator - Class in org.elasticsearch.cluster
-
Mocks behavior in ReplicaShardAllocator to remove delayed shards from list of unassigned shards so they don't get reassigned yet.
- ESAllocationTestCase.MockAllocationService - Class in org.elasticsearch.cluster
-
A lock
AllocationService
allowing tests to override time - ESAllocationTestCase.TestAllocateDecision - Class in org.elasticsearch.cluster
- EsBaseDirectoryTestCase - Class in org.elasticsearch.index.store
-
Extends Lucene's BaseDirectoryTestCase with ES test behavior.
- EsBaseDirectoryTestCase() - Constructor for class org.elasticsearch.index.store.EsBaseDirectoryTestCase
- ESBlobStoreRepositoryIntegTestCase - Class in org.elasticsearch.repositories.blobstore
-
Integration tests for
BlobStoreRepository
implementations. - ESBlobStoreRepositoryIntegTestCase() - Constructor for class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- ESFsBasedRepositoryIntegTestCase - Class in org.elasticsearch.repositories.blobstore
- ESFsBasedRepositoryIntegTestCase() - Constructor for class org.elasticsearch.repositories.blobstore.ESFsBasedRepositoryIntegTestCase
- esHomeDir - Variable in class org.elasticsearch.cli.CommandTestCase
-
The working directory that execute uses
- ESIndexInputTestCase - Class in org.elasticsearch.common.lucene.store
-
Test harness for verifying
IndexInput
implementations. - ESIndexInputTestCase() - Constructor for class org.elasticsearch.common.lucene.store.ESIndexInputTestCase
- ESIndexLevelReplicationTestCase - Class in org.elasticsearch.index.replication
- ESIndexLevelReplicationTestCase() - Constructor for class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- ESIndexLevelReplicationTestCase.ReplicationAction<Request,
ReplicaRequest, - Class in org.elasticsearch.index.replicationResponse> - ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult - Class in org.elasticsearch.index.replication
- ESIndexLevelReplicationTestCase.ReplicationGroup - Class in org.elasticsearch.index.replication
- ESIntegTestCase - Class in org.elasticsearch.test
-
ESIntegTestCase
is an abstract base class to run integration tests against a JVM private Elasticsearch Cluster. - ESIntegTestCase() - Constructor for class org.elasticsearch.test.ESIntegTestCase
- ESIntegTestCase.AssertActionNamePlugin - Class in org.elasticsearch.test
- ESIntegTestCase.ClusterScope - Annotation Interface in org.elasticsearch.test
-
Defines a cluster scope for a
ESIntegTestCase
subclass. - ESIntegTestCase.NumShards - Class in org.elasticsearch.test
- ESIntegTestCase.Scope - Enum Class in org.elasticsearch.test
-
The scope of a test cluster used together with
ESIntegTestCase.ClusterScope
annotations onESIntegTestCase
subclasses. - ESIntegTestCase.SuiteScopeTestCase - Annotation Interface in org.elasticsearch.test
-
If a test is annotated with
ESIntegTestCase.SuiteScopeTestCase
the checks and modifications that are applied to the used test cluster are only done after all tests of this class are executed. - ESIntegTestCase.TestSeedPlugin - Class in org.elasticsearch.test
- ESMockAPIBasedRepositoryIntegTestCase - Class in org.elasticsearch.repositories.blobstore
-
Integration tests for
BlobStoreRepository
implementations rely on mock APIs that emulate cloud-based services. - ESMockAPIBasedRepositoryIntegTestCase() - Constructor for class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- ESMockAPIBasedRepositoryIntegTestCase.BlobStoreHttpHandler - Interface in org.elasticsearch.repositories.blobstore
-
A
HttpHandler
that allows to list stored blobs - ESMockAPIBasedRepositoryIntegTestCase.DelegatingHttpHandler - Interface in org.elasticsearch.repositories.blobstore
- ESMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler - Class in org.elasticsearch.repositories.blobstore
-
HTTP handler that injects random service errors Note: it is not a good idea to allow this handler to simulate too many errors as it would slow down the test suite.
- ESMockAPIBasedRepositoryIntegTestCase.HttpStatsCollectorHandler - Class in org.elasticsearch.repositories.blobstore
-
HTTP handler that allows collect request stats per request type.
- ESRestTestCase - Class in org.elasticsearch.test.rest
-
Superclass for tests that interact with an external test cluster using Elasticsearch's
RestClient
. - ESRestTestCase() - Constructor for class org.elasticsearch.test.rest.ESRestTestCase
- ESRestTestCase.ProductFeature - Enum Class in org.elasticsearch.test.rest
- ESRestTestCase.VersionSensitiveWarningsHandler - Class in org.elasticsearch.test.rest
-
Helper class to check warnings in REST responses with sensitivity to versions used in the target cluster.
- ESSingleNodeTestCase - Class in org.elasticsearch.test
-
A test that keep a singleton node started for all tests that can be used to get references to Guice injectors in unit tests.
- ESSingleNodeTestCase() - Constructor for class org.elasticsearch.test.ESSingleNodeTestCase
- ESTestCase - Class in org.elasticsearch.test
-
Base testcase for randomized unit testing with Elasticsearch
- ESTestCase() - Constructor for class org.elasticsearch.test.ESTestCase
- ESTestCase.DeprecationWarning - Class in org.elasticsearch.test
- ESTestCase.GeohashGenerator - Class in org.elasticsearch.test
- ESTestCase.TestAnalysis - Class in org.elasticsearch.test
-
This cute helper class just holds all analysis building blocks that are used to build IndexAnalyzers.
- ESTestCase.WithoutSecurityManager - Annotation Interface in org.elasticsearch.test
-
Marks a test suite or a test method that should run without security manager enabled.
- ESTokenStreamTestCase - Class in org.elasticsearch.test
- ESTokenStreamTestCase() - Constructor for class org.elasticsearch.test.ESTokenStreamTestCase
- evaluate(Object, String) - Static method in class org.elasticsearch.test.rest.ObjectPath
-
A utility method that creates an
ObjectPath
viaObjectPath(Object)
returns the result of callingObjectPath.evaluate(String)
on it. - evaluate(String) - Method in class org.elasticsearch.test.rest.ObjectPath
-
Returns the object corresponding to the provided path if present, null otherwise
- evaluate(String, Stash) - Method in class org.elasticsearch.test.rest.ObjectPath
-
Returns the object corresponding to the provided path if present, null otherwise
- evaluateArraySize(String) - Method in class org.elasticsearch.test.rest.ObjectPath
- evaluateExact(String...) - Method in class org.elasticsearch.test.rest.ObjectPath
-
Returns the object corresponding to the provided path if present, null otherwise
- evaluateExact(Stash, String...) - Method in class org.elasticsearch.test.rest.ObjectPath
-
Returns the object corresponding to the provided path if present, null otherwise
- evaluateMapKeys(String) - Method in class org.elasticsearch.test.rest.ObjectPath
- Event(LinearizabilityChecker.EventType, Object, int) - Constructor for record class org.elasticsearch.cluster.coordination.LinearizabilityChecker.Event
-
Creates an instance of a
Event
record class. - EventuallySeenEventExpectation(String, String, Level, String) - Constructor for class org.elasticsearch.test.MockLog.EventuallySeenEventExpectation
- example(int) - Method in class org.elasticsearch.index.mapper.KeywordFieldSyntheticSourceSupport
- example(int) - Method in interface org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceSupport
-
Examples that should work when source is generated from doc values.
- example(int) - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests.NumberSyntheticSourceSupport
- example(int, boolean) - Method in class org.elasticsearch.index.mapper.KeywordFieldSyntheticSourceSupport
- exampleMalformedValue(String) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Build an
MapperTestCase.ExampleMalformedValue
that parses a string. - exampleMalformedValue(CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Build an
MapperTestCase.ExampleMalformedValue
for arbitrary xcontent. - exampleMalformedValues() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Some example of malformed values and matches for exceptions that parsing them should create.
- exampleMalformedValues() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- ExceptionSeenEventExpectation(String, String, Level, String, Class<? extends Exception>, String) - Constructor for class org.elasticsearch.test.MockLog.ExceptionSeenEventExpectation
- excludeTemplates() - Method in class org.elasticsearch.test.ESIntegTestCase
- execute() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction
- execute() - Method in class org.elasticsearch.ingest.TestTemplateService.MockTemplateScript
- execute() - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggCombineScript
- execute() - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggInitScript
- execute() - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggReduceScript
- execute(double, ScriptedSimilarity.Query, ScriptedSimilarity.Field, ScriptedSimilarity.Term, ScriptedSimilarity.Doc) - Method in class org.elasticsearch.script.MockScriptEngine.MockSimilarityScript
- execute(Runnable) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- execute(Runnable) - Method in class org.elasticsearch.transport.DisruptableMockTransport
- execute(String...) - Method in class org.elasticsearch.cli.CommandTestCase
-
Runs a new command with the given args.
- execute(RemoteClusterActionType<Response>, Request, ActionListener<Response>) - Method in class org.elasticsearch.client.internal.RedirectToLocalClusterRemoteClusterClient
- execute(TransportAction<Request, Response>, Task, Request, ActionListener<Response>) - Static method in class org.elasticsearch.action.support.ActionTestUtils
-
Executes the given action.
- execute(TransportAction<Request, Response>, Request, ActionListener<Response>) - Static method in class org.elasticsearch.action.support.ActionTestUtils
- execute(Command, String...) - Method in class org.elasticsearch.cli.CommandTestCase
-
Runs the specified command with the given args, throwing exceptions on errors.
- execute(ScriptedSimilarity.Query, ScriptedSimilarity.Field, ScriptedSimilarity.Term) - Method in class org.elasticsearch.script.MockScriptEngine.MockSimilarityWeightScript
- execute(IngestDocument) - Method in class org.elasticsearch.ingest.TestProcessor
- execute(IngestDocument, BiConsumer<IngestDocument, Exception>) - Method in class org.elasticsearch.ingest.TestProcessor
- execute(Transport.Connection, RemoteClusterActionType<Response>, Request, ActionListener<Response>) - Method in class org.elasticsearch.client.internal.RedirectToLocalClusterRemoteClusterClient
- executeAndAssertSuccessful(ClusterState, ClusterStateTaskExecutor<T>, Collection<T>) - Static method in class org.elasticsearch.cluster.service.ClusterStateTaskExecutorUtils
- executeAndThrowFirstFailure(ClusterState, ClusterStateTaskExecutor<T>, Collection<T>) - Static method in class org.elasticsearch.cluster.service.ClusterStateTaskExecutorUtils
- executeBlocking(TransportAction<Request, Response>, Request) - Static method in class org.elasticsearch.action.support.ActionTestUtils
- executeBlockingWithTask(TaskManager, Transport.Connection, TransportAction<Request, Response>, Request) - Static method in class org.elasticsearch.action.support.ActionTestUtils
- executeGet(GetRequest) - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- executeGet(GetRequest) - Method in class org.elasticsearch.test.AbstractBuilderTestCase
-
Override this to handle
Client.get(GetRequest)
calls from parsers / builders - executeHandlingResults(ClusterState, ClusterStateTaskExecutor<T>, Collection<T>, CheckedConsumer<T, Exception>, CheckedBiConsumer<T, Exception, Exception>) - Static method in class org.elasticsearch.cluster.service.ClusterStateTaskExecutorUtils
- executeIgnoringFailures(ClusterState, ClusterStateTaskExecutor<T>, Collection<T>) - Static method in class org.elasticsearch.cluster.service.ClusterStateTaskExecutorUtils
- executeLocally(ActionType<Response>, Request, ActionListener<Response>) - Method in class org.elasticsearch.test.client.NoOpNodeClient
- executeLocally(ActionType<Response>, Request, ActionListener<Response>) - Method in class org.elasticsearch.test.rest.RestActionTestCase.VerifyingClient
- executeMain(String...) - Method in class org.elasticsearch.cli.CommandTestCase
-
Run the main method of a new command with the given args.
- executeMultiTermVectors(MultiTermVectorsRequest) - Method in class org.elasticsearch.test.AbstractBuilderTestCase
-
Override this to handle
Client.multiTermVectors(MultiTermVectorsRequest, ActionListener)
calls from parsers / builders - executeOnBlobStore(BlobStoreRepository, CheckedFunction<BlobContainer, T, IOException>) - Static method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- executeRetentionLeasesSyncRequestOnReplica(RetentionLeaseSyncAction.Request, IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- expected - Variable in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- expected(Map<String, Object>, Object, boolean) - Method in class org.elasticsearch.index.mapper.BlockLoaderTestCase
- expected(T) - Method in interface org.elasticsearch.logsdb.datageneration.matchers.Matcher.ExpectedStep
- expectedCentroidsForGeoHash - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- expectedDocCountsForGeoHash - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- expectedFieldName(String) - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- expectedForBlockLoader() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Returns the value of the
expectedForBlockLoader
record component. - expectedForSyntheticSource() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Returns the value of the
expectedForSyntheticSource
record component. - expectedMappings - Variable in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- expectedSettings - Variable in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.BlockMasterServiceOnMaster
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.BusyMasterServiceDisruption
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkLinkDisruptionType
-
Returns expected time to heal after disruption has been removed.
- expectedTimeToHeal() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- expectReduceThrowsRealMemoryBreaker(InternalAggregation) - Static method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
-
Expect that reducing this aggregation will break the real memory breaker.
- expectReduceUsesTooManyBuckets(InternalAggregation, int) - Static method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
-
Expect that reducing this aggregation will pass the bucket limit.
- expectRerouteFailure(ElasticsearchClient, AllocationCommand...) - Static method in class org.elasticsearch.action.admin.cluster.reroute.ClusterRerouteUtils
-
Execute
TransportClusterRerouteAction
with the given (optional) sequence ofAllocationCommand
instances, asserts that it fails, and returns the resulting (unwrapped) exception. - expectSoftDeletesWarning(Request, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- expectThrows(Class<T>, ActionFuture<? extends RefCounted>) - Static method in class org.elasticsearch.test.ESTestCase
- expectThrows(Class<T>, RequestBuilder<?, ?>) - Static method in class org.elasticsearch.test.ESTestCase
- expectVersionSpecificWarnings(Consumer<ESRestTestCase.VersionSensitiveWarningsHandler>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- expectWarnings(String...) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Creates request options designed to be used when making a call that can return warnings, for example a deprecated request.
- explain() - Method in class org.elasticsearch.test.TestSearchContext
- explain(boolean) - Method in class org.elasticsearch.test.TestSearchContext
- explainHit(Explanation, RankDoc, List<String>) - Method in class org.elasticsearch.search.rank.TestRankBuilder
- explainUnassignedShardAllocation(ShardRouting, RoutingAllocation) - Method in class org.elasticsearch.test.gateway.TestGatewayAllocator
- exportsOf(String) - Static method in class org.elasticsearch.test.hamcrest.ModuleDescriptorMatchers
- exportsOf(String, Set<String>) - Static method in class org.elasticsearch.test.hamcrest.ModuleDescriptorMatchers
- EXTERNAL_CLUSTER_PREFIX - Static variable in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- externalId(String) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- ExternalTestCluster - Class in org.elasticsearch.test
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ExternalTestCluster(Path, Settings, Collection<Class<? extends Plugin>>, Function<Client, Client>, String, TransportAddress...) - Constructor for class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- extraAssertReduced(T, List<T>) - Method in class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- extractToSearchSourceBuilder(SearchSourceBuilder, boolean) - Method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- extraMappers() - Method in class org.elasticsearch.index.engine.EngineTestCase
- extraNamedWriteables() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- extraOk() - Method in class org.elasticsearch.test.MapMatcher
-
Ignore extra entries.
- extremePoint(Point) - Static method in class org.elasticsearch.geo.ShapeTestUtils
-
Since cartesian centroid is stored in Float values, and calculations perform averages over many, We cannot support points at the very edge of the range.
F
- factory(int) - Static method in class org.elasticsearch.index.mapper.TestBlock
- Factory() - Constructor for class org.elasticsearch.ingest.TestProcessor.Factory
- Factory(String) - Constructor for class org.elasticsearch.ingest.TestTemplateService.MockTemplateScript.Factory
- fail(Throwable) - Static method in class org.elasticsearch.test.ESTestCase
- fail(Throwable, String, Object...) - Static method in class org.elasticsearch.test.ESTestCase
- FailBeforeCurrentVersionQueryBuilder - Class in org.elasticsearch.search
-
Query simulating serialization error on versions earlier than CURRENT
- FailBeforeCurrentVersionQueryBuilder() - Constructor for class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
- FailBeforeCurrentVersionQueryBuilder(StreamInput) - Constructor for class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
- FailingFieldPlugin - Class in org.elasticsearch.test
- FailingFieldPlugin() - Constructor for class org.elasticsearch.test.FailingFieldPlugin
- failOnShardFailures() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- failRandomly() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase
- failReadsAllDataNodes(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- failureAndSuccessEvents - Variable in class org.elasticsearch.test.ESTestCase
- FakeFieldType(String) - Constructor for class org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
- FakeHttpChannel(InetSocketAddress) - Constructor for class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpChannel
- FakeHttpRequest(RestRequest.Method, String, BytesReference, Map<String, List<String>>) - Constructor for class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- FakeRestChannel - Class in org.elasticsearch.test.rest
- FakeRestChannel(RestRequest, boolean, int) - Constructor for class org.elasticsearch.test.rest.FakeRestChannel
- FakeRestRequest - Class in org.elasticsearch.test.rest
- FakeRestRequest() - Constructor for class org.elasticsearch.test.rest.FakeRestRequest
- FakeRestRequest.Builder - Class in org.elasticsearch.test.rest
- FakeRestRequest.FakeHttpChannel - Class in org.elasticsearch.test.rest
- FakeRestRequest.FakeHttpRequest - Class in org.elasticsearch.test.rest
- fakeSystemIndicesRandom() - Static method in class org.elasticsearch.cluster.version.CompatibilityVersionsUtils
- FakeTcpChannel - Class in org.elasticsearch.transport
- FakeTcpChannel() - Constructor for class org.elasticsearch.transport.FakeTcpChannel
- FakeTcpChannel(boolean) - Constructor for class org.elasticsearch.transport.FakeTcpChannel
- FakeTcpChannel(boolean, String, AtomicReference<BytesReference>) - Constructor for class org.elasticsearch.transport.FakeTcpChannel
- FakeTcpChannel(boolean, InetSocketAddress, InetSocketAddress) - Constructor for class org.elasticsearch.transport.FakeTcpChannel
- FakeTcpChannel(boolean, InetSocketAddress, InetSocketAddress, String, AtomicReference<BytesReference>) - Constructor for class org.elasticsearch.transport.FakeTcpChannel
- FakeThreadPoolMasterService - Class in org.elasticsearch.cluster.service
- FakeThreadPoolMasterService(String, ThreadPool, Consumer<Runnable>) - Constructor for class org.elasticsearch.cluster.service.FakeThreadPoolMasterService
- FakeTransport - Class in org.elasticsearch.test.transport
-
A transport that does nothing.
- FakeTransport() - Constructor for class org.elasticsearch.test.transport.FakeTransport
- falseWith(T) - Static method in class org.elasticsearch.test.LambdaMatchers
- fetchFieldsContext() - Method in class org.elasticsearch.test.TestSearchContext
- fetchFieldsContext(FetchFieldsContext) - Method in class org.elasticsearch.test.TestSearchContext
- fetchFromDocValues(MapperService, MappedFieldType, DocValueFormat, Object) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Use a ValueFetcher to extract values from doc values.
- fetchPhase() - Method in class org.elasticsearch.test.TestSearchContext
- fetchResult() - Method in class org.elasticsearch.test.TestSearchContext
- fetchSourceContext() - Method in class org.elasticsearch.test.TestSearchContext
- fetchSourceContext(FetchSourceContext) - Method in class org.elasticsearch.test.TestSearchContext
- fetchSourceValue(MappedFieldType, Object) - Static method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- fetchSourceValue(MappedFieldType, Object, String) - Static method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- fetchSourceValues(MappedFieldType, Object...) - Static method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- fetchStoredValue(MappedFieldType, List<Object>, String) - Static method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- fieldCaps(List<String>, List<String>, QueryBuilder, String, String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- fieldCaps(RestClient, List<String>, List<String>, QueryBuilder, String, String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- FieldCapsUtils - Enum Class in org.elasticsearch.action.fieldcaps
-
Utilities for parsing field_caps responses for test purposes.
- FieldDataGenerator - Interface in org.elasticsearch.logsdb.datageneration
-
Entity responsible for generating a valid value for a field.
- fieldDataLookup(Function<String, Set<String>>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- fieldDataLookup(MapperService) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- fieldMapping(CheckedConsumer<XContentBuilder, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- FieldMaskingReader - Class in org.elasticsearch.test
- FieldMaskingReader(String, DirectoryReader) - Constructor for class org.elasticsearch.test.FieldMaskingReader
- FieldMaskingReader(Set<String>, DirectoryReader) - Constructor for class org.elasticsearch.test.FieldMaskingReader
- fieldName() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- fieldName() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Returns the value of the
fieldName
record component. - Fields - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- FieldScriptTestCase<T> - Class in org.elasticsearch.index.mapper
- FieldScriptTestCase() - Constructor for class org.elasticsearch.index.mapper.FieldScriptTestCase
- fieldType() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Returns the value of the
fieldType
record component. - fieldType() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator.FieldTypeInfo
-
Returns the value of the
fieldType
record component. - fieldType() - Method in interface org.elasticsearch.logsdb.datageneration.fields.PredefinedField
- fieldType() - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Returns the value of the
fieldType
record component. - FieldType - Enum Class in org.elasticsearch.logsdb.datageneration
-
Lists all leaf field types that are supported for data generation.
- FieldTypeGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FieldTypeGenerator
-
Creates an instance of a
FieldTypeGenerator
record class. - FieldTypeGenerator(Supplier<DataSourceResponse.FieldTypeGenerator.FieldTypeInfo>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator
-
Creates an instance of a
FieldTypeGenerator
record class. - FieldTypeInfo(FieldType) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator.FieldTypeInfo
-
Creates an instance of a
FieldTypeInfo
record class. - fieldTypeName() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- fieldTypeName() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- fieldTypeName() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- fieldTypes() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
fieldTypes
record component. - FieldTypeTestCase - Class in org.elasticsearch.index.mapper
-
Base test case for subclasses of MappedFieldType
- FieldTypeTestCase() - Constructor for class org.elasticsearch.index.mapper.FieldTypeTestCase
- fileSystemProvider - Static variable in class org.elasticsearch.cluster.DiskUsageIntegTestCase
- fillIn(double, GeoBoundingBoxQueryBuilder) - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.BottomTester
- fillIn(double, GeoBoundingBoxQueryBuilder) - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.LeftTester
- fillIn(double, GeoBoundingBoxQueryBuilder) - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.PointTester
- fillIn(double, GeoBoundingBoxQueryBuilder) - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.RightTester
- fillIn(double, GeoBoundingBoxQueryBuilder) - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.TopTester
- filteredWarnings() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- filteredWarnings() - Method in class org.elasticsearch.test.ESTestCase
- finalizeRecovery(long, long, ActionListener<Void>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- finalizeSnapshot(FinalizeSnapshotContext) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- findBreakerLimit(ByteSizeValue, CheckedConsumer<ByteSizeValue, E>) - Static method in class org.elasticsearch.test.BreakerTestUtil
-
Performs a binary search between 0 and
tooBigToBreak
bytes for the largest memory size that'll cause the closure parameter to throw aCircuitBreakingException
. - findFilePaths(ClassLoader, String) - Static method in class org.elasticsearch.test.ClasspathUtils
- findTasks(ClusterState, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Retrieves the persistent tasks with the requested task name from the given cluster state.
- findTasks(ClusterState, Set<String>) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Retrieves the persistent tasks with the requested task names from the given cluster state.
- FIPS_SYSPROP - Static variable in class org.elasticsearch.test.ESTestCase
- FixedRequestHandler(RestStatus) - Constructor for class org.elasticsearch.http.ResponseInjectingHttpHandler.FixedRequestHandler
- FixedRequestHandler(RestStatus, String, Predicate<HttpExchange>) - Constructor for class org.elasticsearch.http.ResponseInjectingHttpHandler.FixedRequestHandler
-
Create a handler that only gets executed for requests that match the supplied predicate.
- FLOAT - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- FloatFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- FloatFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.FloatFieldDataGenerator
- FloatGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FloatGenerator
-
Creates an instance of a
FloatGenerator
record class. - FloatGenerator(Supplier<Float>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FloatGenerator
-
Creates an instance of a
FloatGenerator
record class. - floatsToDoubles(float[]) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- floatValue() - Method in class org.elasticsearch.script.ScoreAccessor
- flush() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- flush(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Flush some or all indices in the cluster.
- flush(String, boolean) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- flushAndCloseShardNoCheck(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Flush and close an
IndexShard
, without performing the consistency checks thatIndexShardTestCase.closeShard(org.elasticsearch.index.shard.IndexShard, boolean)
performs. - flushAndRefresh(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Flushes and refreshes all indices in the cluster
- flushOrClose(MockEngineSupport.CloseAction) - Method in class org.elasticsearch.test.engine.MockEngineSupport
-
Returns the CloseAction to execute on the actual engine.
- flushShard(IndexShard) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- flushShard(IndexShard, boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- flushThreadPoolExecutor(ThreadPool, String) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for all tasks currently running or enqueued on the given executor to complete.
- FORBIDDEN - Enum constant in enum class org.elasticsearch.logsdb.datageneration.fields.DynamicMapping
- forbidPrivateIndexSettings() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- forbidPrivateIndexSettings() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase
- forbidPrivateIndexSettings() - Method in class org.elasticsearch.test.ESIntegTestCase
- forbidPrivateIndexSettings() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- FORCED - Enum constant in enum class org.elasticsearch.logsdb.datageneration.fields.DynamicMapping
- forceMerge() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for all relocations and force merge all indices in the cluster to 1 segment.
- forceSingleDataPath() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Override to return true in tests that cannot handle multiple data paths.
- forEachFileRecursively(Path, CheckedBiConsumer<Path, BasicFileAttributes, IOException>) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- format(String, Map<String, Object>) - Static method in class org.elasticsearch.common.util.NamedFormatter
-
Replaces named parameters of the form
%(param)
in format strings. - format(LogEvent, StringBuilder) - Method in class org.elasticsearch.common.logging.TestThreadInfoPatternConverter
- formatErrorMessage(XContentBuilder, Settings.Builder, XContentBuilder, Settings.Builder, String) - Static method in class org.elasticsearch.logsdb.datageneration.matchers.Messages
- formatShardStatus(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- formatShardStatus(BaseBroadcastResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- frequently() - Static method in class org.elasticsearch.test.ESTestCase
-
The exact opposite of
LuceneTestCase.rarely()
. - from() - Method in class org.elasticsearch.test.TestSearchContext
- from(int) - Method in class org.elasticsearch.test.TestSearchContext
- from(BufferedReader) - Static method in class org.elasticsearch.common.logging.JsonLogsStream
- from(BufferedReader, ObjectParser<JsonLogLine, Void>) - Static method in class org.elasticsearch.common.logging.JsonLogsStream
- from(Path) - Static method in class org.elasticsearch.common.logging.JsonLogsStream
- fromInstrument(Instrument) - Static method in enum class org.elasticsearch.telemetry.InstrumentType
- fromSource() - Method in class org.elasticsearch.index.mapper.FieldScriptTestCase
- fromXContent(Function<String, T>, XContentParser) - Static method in class org.elasticsearch.test.TestCustomMetadata
- fromXContent(XContentParser) - Static method in class org.elasticsearch.search.DummyQueryBuilder
- fromXContent(XContentParser) - Static method in class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
- fromXContent(XContentParser) - Static method in class org.elasticsearch.search.rank.TestRankBuilder
- fromXContent(XContentParser, RetrieverParserContext) - Static method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- fullRestart() - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts all nodes in the cluster.
- fullRestart(InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts all nodes in the cluster.
- fullyAllocateCircuitBreakerOnNode(String, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Allocate the entire capacity of a circuit breaker on a specific node
- fullyDynamicMapping() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns the value of the
fullyDynamicMapping
record component. - FUTURE_VERSION - Static variable in class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
G
- gatewayAllocator - Variable in class org.elasticsearch.cluster.ESAllocationTestCase.MockAllocationService
- generate() - Method in class org.elasticsearch.logsdb.datageneration.TemplateGenerator
- generate(Template) - Method in class org.elasticsearch.logsdb.datageneration.MappingGenerator
-
Generates a valid random mapping following the provided template.
- generate(Template, Mapping) - Method in class org.elasticsearch.logsdb.datageneration.DocumentGenerator
-
Generates a valid random document following the provided template.
- generateChildFieldCount() - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ChildFieldGenerator
- generateDynamicSubObject() - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ChildFieldGenerator
- generateFieldName() - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ChildFieldGenerator
- generateHistoryOnReplica(int, boolean, boolean, boolean) - Method in class org.elasticsearch.index.engine.EngineTestCase
- generateHistoryOnReplica(int, long, boolean, boolean, boolean) - Method in class org.elasticsearch.index.engine.EngineTestCase
- generateMapping(String) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- generateMapping(String, String) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- generateNestedSubObject() - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ChildFieldGenerator
- generateNewSeqNo(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Generate a new sequence number and return it.
- generateRandomInputValue(MappedFieldType) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Create a random
_source
value for this field. - generateRandomInputValue(MappedFieldType) - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- generateRandomStringArray(int, int, boolean) - Static method in class org.elasticsearch.test.ESTestCase
- generateRandomStringArray(int, int, boolean, boolean) - Static method in class org.elasticsearch.test.ESTestCase
- generateRegularSubObject() - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ChildFieldGenerator
- generateSingleDocHistory(boolean, VersionType, long, int, int, String) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- generateTsdbMapping() - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- generateValue() - Method in interface org.elasticsearch.logsdb.datageneration.FieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.ByteFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.DoubleFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.FloatFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.HalfFloatFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.IntegerFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.KeywordFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.LongFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.ScaledFloatFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.ShortFieldDataGenerator
- generateValue() - Method in class org.elasticsearch.logsdb.datageneration.fields.leaf.UnsignedLongFieldDataGenerator
- generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ByteGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DoubleGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DynamicMappingGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FloatGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.HalfFloatGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.IntegerGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LongGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ShortGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.StringGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.UnsignedLongGenerator
-
Returns the value of the
generator
record component. - generator() - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Returns the value of the
generator
record component. - generator(String, DataSource) - Method in enum class org.elasticsearch.logsdb.datageneration.FieldType
- generator(DataSource) - Method in interface org.elasticsearch.logsdb.datageneration.fields.PredefinedField
- generator(DataSource) - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
- GenericEqualsMatcher<T> - Class in org.elasticsearch.logsdb.datageneration.matchers
- GenericEqualsMatcher(XContentBuilder, Settings.Builder, XContentBuilder, Settings.Builder, T, T, boolean) - Constructor for class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- Geo() - Constructor for class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
- GEO - Static variable in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- GEO_POINT_ALIAS_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- GEO_POINT_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- GeoBoundingBoxQueryBuilderTestCase - Class in org.elasticsearch.search.geo
- GeoBoundingBoxQueryBuilderTestCase() - Constructor for class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- GeoBoundingBoxQueryBuilderTestCase.BottomTester - Class in org.elasticsearch.search.geo
- GeoBoundingBoxQueryBuilderTestCase.LeftTester - Class in org.elasticsearch.search.geo
- GeoBoundingBoxQueryBuilderTestCase.PointTester - Class in org.elasticsearch.search.geo
- GeoBoundingBoxQueryBuilderTestCase.RightTester - Class in org.elasticsearch.search.geo
- GeoBoundingBoxQueryBuilderTestCase.TopTester - Class in org.elasticsearch.search.geo
- GeoBoundingBoxQueryIntegTestCase - Class in org.elasticsearch.search.geo
- GeoBoundingBoxQueryIntegTestCase() - Constructor for class org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase
- GeoDistanceQueryBuilderTestCase - Class in org.elasticsearch.search.geo
- GeoDistanceQueryBuilderTestCase() - Constructor for class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- GeoGridAggregatorTestCase<T> - Class in org.elasticsearch.search.aggregations.bucket.geogrid
- GeoGridAggregatorTestCase() - Constructor for class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- GeoGridTestCase<B,
T> - Class in org.elasticsearch.search.aggregations.bucket.geogrid - GeoGridTestCase() - Constructor for class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- GEOHASH_TOLERANCE - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- GeohashGenerator() - Constructor for class org.elasticsearch.test.ESTestCase.GeohashGenerator
- GeometryPointCountVisitor - Class in org.elasticsearch.geo
- GeometryPointCountVisitor() - Constructor for class org.elasticsearch.geo.GeometryPointCountVisitor
- GeometryTestUtils - Class in org.elasticsearch.geo
- GeometryTestUtils() - Constructor for class org.elasticsearch.geo.GeometryTestUtils
- geoPointField(String) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Make a GeoPointFieldMapper.GeoPointFieldType for a
geo_point
. - GeoShapeIntegTestCase - Class in org.elasticsearch.search.geo
- GeoShapeIntegTestCase() - Constructor for class org.elasticsearch.search.geo.GeoShapeIntegTestCase
- GeoShapeQueryBuilderTestCase - Class in org.elasticsearch.search.geo
- GeoShapeQueryBuilderTestCase() - Constructor for class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- GeoShapeQueryTestCase - Class in org.elasticsearch.search.geo
- GeoShapeQueryTestCase() - Constructor for class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- get() - Method in class org.elasticsearch.core.ReleasableRef
- get() - Method in class org.elasticsearch.index.engine.EngineTestCase.PrimaryTermSupplier
- get(int) - Method in class org.elasticsearch.common.bytes.ZeroBytesReference
- get(int) - Method in class org.elasticsearch.index.mapper.TestBlock
- get(String) - Method in class org.elasticsearch.test.XContentTestUtils.JsonMapView
- get(IndexSearcher, IndexSettings, Query, CircuitBreakerService, long, int, boolean, MappedFieldType...) - Method in interface org.elasticsearch.search.aggregations.AggregatorTestCase.AggregationcContextSupplier
- get(DataSourceRequest<T>) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DataSource
- getAcceptedChannels(TcpTransport) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- getActionFilters() - Method in class org.elasticsearch.action.support.CancellableActionTestPlugin
- getAddress() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture
- getAlias(String, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getAllBWCVersions() - Static method in class org.elasticsearch.test.BWCVersions
- getAllConnectedNodes() - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- getAllFilesInDirectoryAndDescendants(Path) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getAlternateVersions() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Returns alternate string representation of the query that need to be tested as they are never used as output of
ToXContent.toXContent(XContentBuilder, ToXContent.Params)
. - getAnyLeader() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- getAnyMasterNodeInstance(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Return the instance of the given class >T< from any of the master-eligible nodes (not necessarily the elected master).
- getAnyNodeExcept(AbstractCoordinatorTestCase.Cluster.ClusterNode...) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- getAsLong() - Method in class org.elasticsearch.index.engine.EngineTestCase.PrimaryTermSupplier
- getAsMap(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getAsMap(RestClient, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getAsOrderedMap(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getBinaryDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- getBody() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getBodyContent(RestResponse) - Static method in class org.elasticsearch.rest.RestResponseUtils
- getBreaker(String) - Method in class org.elasticsearch.indices.CrankyCircuitBreakerService
- getBridgeNode() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- getCachedNodesVersions() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getCacheKey() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- getCapturedRequestsAndClear() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
Returns all requests captured so far.
- getCapturedRequestsByTargetNodeAndClear() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
Returns all requests captured so far, grouped by target node.
- getChannelStats() - Method in class org.elasticsearch.transport.FakeTcpChannel
- getCharFilters() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- getClasspathPlugins() - Method in class org.elasticsearch.node.MockNode
-
The classpath plugins this node was constructed with.
- getClient() - Method in class org.elasticsearch.test.BackgroundIndexer
- getClients() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- getClients() - Method in class org.elasticsearch.test.InternalTestCluster
- getClients() - Method in class org.elasticsearch.test.TestCluster
-
Returns an
Iterable
over all clients in this test cluster - getClientWrapper() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a function that allows to wrap / filter all clients that are exposed by the test cluster.
- getClusterAllocationExplanation(ElasticsearchClient, String, int, boolean) - Static method in class org.elasticsearch.action.admin.cluster.allocation.ClusterAllocationExplanationUtils
- getClusterHosts() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Get the list of hosts in the cluster.
- getClusterName() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getClusterName() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- getClusterName() - Method in class org.elasticsearch.test.InternalTestCluster
- getClusterName() - Method in class org.elasticsearch.test.TestCluster
-
Returns the cluster name
- getClusterPendingTasks() - Static method in class org.elasticsearch.test.ESIntegTestCase
- getClusterPendingTasks(Client) - Static method in class org.elasticsearch.test.ESIntegTestCase
- getClusterStateDelayListener(long) - Method in class org.elasticsearch.indices.recovery.RecoveryClusterStateDelayListeners
- getClusterStateFeatures(RestClient) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getClusterStateWithDataStream(String, List<Tuple<Instant, Instant>>) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getClusterStateWithDataStream(Metadata.Builder, String, List<Tuple<Instant, Instant>>) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getClusterStateWithDataStreams(List<Tuple<String, Integer>>, List<String>) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
-
Constructs
ClusterState
with the specified data streams and indices. - getClusterStateWithDataStreams(List<Tuple<String, Integer>>, List<String>, int) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
-
Constructs
ClusterState
with the specified data streams and indices. - getClusterStateWithDataStreams(List<Tuple<String, Integer>>, List<String>, long, Settings, int) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getClusterStateWithDataStreams(List<Tuple<String, Integer>>, List<String>, long, Settings, int, boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getClusterStateWithDataStreams(List<Tuple<String, Integer>>, List<String>, long, Settings, int, boolean, boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getClusterStateWithDataStreams(Metadata.Builder, List<Tuple<String, Integer>>, List<String>, long, Settings, int, boolean, Boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getClusterUuid() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getComponent() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getConnection() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- getConnection(DiscoveryNode) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- getConnection(ConnectionManager, DiscoveryNode) - Method in interface org.elasticsearch.test.transport.StubbableConnectionManager.GetConnectionBehavior
- getConnection(Request, ActionListener<Transport.Connection>) - Method in class org.elasticsearch.client.internal.RedirectToLocalClusterRemoteClusterClient
- getConnectionProfile() - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- getConnectionStatus(DiscoveryNode) - Method in class org.elasticsearch.transport.DisruptableMockTransport
- getContentType() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getContentType() - Method in record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
- getCoordinationServices(ThreadPool, Settings, ClusterSettings, CoordinationState.PersistedState, AbstractCoordinatorTestCase.DisruptibleRegisterConnection) - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinatorStrategy
- getCoordinationServices(ThreadPool, Settings, ClusterSettings, CoordinationState.PersistedState, AbstractCoordinatorTestCase.DisruptibleRegisterConnection) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.DefaultCoordinatorStrategy
- getCopyPermissions() - Method in class org.elasticsearch.test.PosixPermissionsResetter
- getCoreCacheHelper() - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- getCountForIndex(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getCurrentMasterNodeInstance(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Return the instance of the given class >T< from the elected master node.
- getCurrentTimeMillis() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getCurrentTypes() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- getData() - Method in class org.elasticsearch.test.TestCustomMetadata
- getDataNodeInstance(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
- getDataNodeInstances(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns an Iterable to all instances for the given class >T< across all data nodes in the cluster.
- getDataOrMasterNodeInstances(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns an Iterable to all instances for the given class >T< across all data and master nodes in the cluster.
- getDataPath(String) - Method in class org.elasticsearch.test.ESTestCase
-
Returns a
Path
pointing to the class path relative resource given as the first argument. - getDataset() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getDataStreamTimestampFieldMapper() - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getDecodedLoggedBody(Logger, Level, String, ReferenceDocs, CheckedRunnable<Exception>) - Static method in class org.elasticsearch.common.logging.ChunkedLoggingStreamTestUtils
-
Test utility function which captures the logged output from a
ChunkedLoggingStream
, combines the chunks, Base64-decodes it and Gzip-decompresses it to retrieve the original data. - getDefaultSeedAddresses() - Method in class org.elasticsearch.test.transport.FakeTransport
- getDefaultSeedAddresses() - Method in class org.elasticsearch.test.transport.StubbableTransport
- getDefaultSettings() - Method in class org.elasticsearch.test.InternalTestCluster
- getDelegate() - Method in class org.elasticsearch.http.ResponseInjectingHttpHandler
- getDelegate() - Method in interface org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.DelegatingHttpHandler
- getDelegate() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler
- getDelegate() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.HttpStatsCollectorHandler
- getDescription() - Method in class org.elasticsearch.ingest.TestProcessor
- getDirectoryFactories() - Method in class org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
- getDiscoveryNode(String) - Static method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- getDisruptableMockTransport(TransportAddress) - Method in class org.elasticsearch.transport.DisruptableMockTransport
- getDisruptedLinks() - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- getDocIdAndSeqNos(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- getDocIds(Engine, boolean) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Gets a collection of tuples of docId, sequence number, and primary term of all live documents in the provided engine.
- getDouble() - Method in record class org.elasticsearch.telemetry.Measurement
- getDoubleAsyncCounter(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getDoubleCounter(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getDoubleCounterMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getDoubleGauge(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getDoubleGaugeMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getDoubleHistogram(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getDoubleHistogramMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getDoubleUpDownCounter(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getDoubleUpDownCounterMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getElectionStrategy() - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinationServices
- getEngine(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Helper method to access (package-protected) engine from tests
- getEngineFactory(ShardRouting) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- getEngineFactory(IndexSettings) - Method in class org.elasticsearch.index.MockEngineFactoryPlugin
- getEnsureGreenTimeout() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Permits subclasses to increase the default timeout when waiting for green health
- getErrorOutput() - Method in class org.elasticsearch.cli.MockTerminal
-
Returns all output written to this terminal.
- getEventIngestedRange() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- getExecutionDelayVariabilityMillis() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getExpectedParsedValue(XContentType, Object) - Static method in class org.elasticsearch.test.RandomObjects
-
Converts the provided field value to its corresponding expected value once printed out via
ToXContent.toXContent(XContentBuilder, ToXContent.Params)
and parsed back viaXContentParser.objectText()
. - getExtraPlugins() - Method in class org.elasticsearch.test.AbstractBuilderTestCase
-
Allows additional plugins other than the required `TestGeoShapeFieldMapperPlugin` Could probably be removed when dependencies against geo_shape is decoupled
- getFailureCount() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- getFailureCount(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getFakeDiscoNode(String) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- getFieldFilter() - Method in class org.elasticsearch.index.mapper.MockFieldFilterPlugin
- getFieldInfoWithName(String) - Method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- getFieldName() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- getFieldName() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- getFieldName() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- getFieldTypeName() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- getFieldTypeName() - Method in class org.elasticsearch.search.geo.GeoShapeIntegTestCase
- getFile(String) - Method in class org.elasticsearch.common.settings.MockSecureSettings
- getFirstVersion() - Static method in class org.elasticsearch.test.TransportVersionUtils
-
Returns the oldest known
TransportVersion
- getFirstVersion() - Static method in class org.elasticsearch.test.VersionUtils
-
Returns the oldest
Version
- getGeoShapeMapping(XContentBuilder) - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
-
Provides the content of the mapping.
- getHandler(Object) - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- getHeader(String) - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getHeaders() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getHeaders() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- getHealthStatus() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- getHeuristic() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractNXYSignificanceHeuristicTestCase
- getHeuristic() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- getHeuristic(boolean, boolean) - Method in class org.elasticsearch.search.aggregations.bucket.AbstractNXYSignificanceHeuristicTestCase
- getHighlighters() - Method in class org.elasticsearch.search.fetch.HighlighterTestCase
- getId() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getIds() - Method in class org.elasticsearch.test.BackgroundIndexer
-
Returns the ID set of all documents indexed by this indexer run
- getInboundException() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- getIndex() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- getIndexMapping(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getIndexMappingAsMap(String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- getIndexMetadataBuilderForIndex(Index) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getIndexSettings() - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- getIndexSettings() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- getIndexSettings(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getIndexSettings(String, boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getIndexSettingsAsMap(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getIndexSettingsBuilder() - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- getInFlightDocCount(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- getInputStream() - Method in class org.elasticsearch.cli.MockTerminal
- getInstance(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a reference to a random nodes instances of the given class >T<
- getInstance(Class<T>, String) - Method in class org.elasticsearch.test.InternalTestCluster
- getInstance(Class<T>, DiscoveryNodeRole) - Method in class org.elasticsearch.test.InternalTestCluster
- getInstance(String) - Static method in class org.elasticsearch.test.transport.MockTransportService
- getInstanceFromNode(Class<T>) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Get an instance for a particular class using the injector of the singleton node.
- getInstances(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns an Iterable to all instances for the given class >T< across all nodes in the cluster.
- getInstantiator(MockCreationSettings<?>) - Method in class org.elasticsearch.test.mockito.SecureObjectInstantiatorProvider
- getInstrument(InstrumentType, String) - Method in class org.elasticsearch.telemetry.MetricRecorder
-
Fetch the instrument instance given the type and registered name.
- getInvokedCounter() - Method in class org.elasticsearch.ingest.TestProcessor
- getKey(Object) - Method in interface org.elasticsearch.cluster.coordination.LinearizabilityChecker.KeyedSpec
-
extracts the key from the given keyed invocation input value
- getLastAppliedClusterState() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- getLatestDeferredExecutionTime() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getLeaderHeartbeatService() - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinationServices
- getLeaderReducer(AggregationReduceContext, int) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- getLegacyDefaultBackingIndexName(String, long) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getLegacyDefaultBackingIndexName(String, long, long) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getLevel() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getListenerCaptor() - Method in class org.elasticsearch.transport.FakeTcpChannel
- getLocalAddress() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpChannel
- getLocalAddress() - Method in class org.elasticsearch.transport.FakeTcpChannel
- getLocalEphemeral() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- getLocalNode() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- getLocalNode() - Method in class org.elasticsearch.transport.DisruptableMockTransport
- getLocalNodeId() - Method in class org.elasticsearch.test.client.NoOpNodeClient
- getLocalNodeId() - Method in class org.elasticsearch.test.rest.RestActionTestCase.VerifyingClient
- getLogContext(String) - Static method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getLong() - Method in record class org.elasticsearch.telemetry.Measurement
- getLongAsyncCounter(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getLongAsyncCounterMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getLongCounter(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getLongCounterMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getLongGauge(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getLongGaugeMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getLongHistogram(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getLongHistogramMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getLongUpDownCounter(String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getLongUpDownCounterMeasurement(String) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getLowestReadCompatibleVersion() - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns the oldest known
IndexVersion
. - getLowestWriteCompatibleVersion() - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns the oldest known
IndexVersion
that can be written to - getMajoritySide() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- getMap() - Method in class org.elasticsearch.test.SkipUnavailableRule
- getMappedFieldType() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- getMappedFieldType() - Method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- getMapping() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase
-
Get the mapping for this test.
- getMasterName() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns the name of the current master node in the cluster.
- getMasterName(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns the name of the current master node in the cluster and executes the request via the node specified in the viaNode parameter.
- getMaxRetriesMatcher(int) - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- getMaxScore() - Method in class org.elasticsearch.test.TestSearchContext
- getMeasurements(InstrumentType, String) - Method in class org.elasticsearch.telemetry.MetricRecorder
- getMeasurements(Instrument) - Method in class org.elasticsearch.telemetry.MetricRecorder
-
Get the
Measurement
s for each call of the given registered ElasticsearchInstrument
. - getMergeBuilder() - Method in class org.elasticsearch.index.mapper.MockFieldMapper
- getMessage() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getMessage() - Method in class org.elasticsearch.logsdb.datageneration.matchers.MatchResult
- getMessageCaptor() - Method in class org.elasticsearch.transport.FakeTcpChannel
- getMetadata() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getMetadata() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- getMetadataRolloverService(DataStream, ThreadPool, Set<IndexSettingProvider>, NamedXContentRegistry, TelemetryProvider) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- getMethod() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getMetrics(Instrument) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getMinimalSupportedVersion() - Method in class org.elasticsearch.search.DummyQueryBuilder
- getMinimalSupportedVersion() - Method in class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
- getMinimalSupportedVersion() - Method in class org.elasticsearch.search.rank.TestRankBuilder
- getMinimalSupportedVersion() - Method in class org.elasticsearch.search.rank.TestRankShardResult
- getMinoritySide() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- getMockPlugins() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Return the mock plugins the cluster should use
- getMockRequestCounts() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- getMockScriptService() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Sub-tests that need scripting can override this method to provide a script service and pre-baked scripts
- getName() - Method in class org.elasticsearch.script.MockScriptEngine.MockCompiledScript
- getName() - Method in class org.elasticsearch.search.retriever.TestCompoundRetrieverBuilder
- getName() - Method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- getName() - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
- getNamedWriteableRegistry() - Method in class org.elasticsearch.node.MockNode
- getNamedWriteableRegistry() - Method in class org.elasticsearch.test.AbstractNamedWriteableTestCase
- getNamedWriteableRegistry() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- getNamedWriteableRegistry() - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Get the
NamedWriteableRegistry
to use when de-serializing the object. - getNamedWriteableRegistry() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- getNamedWriteableRegistry() - Method in class org.elasticsearch.test.InternalAggregationTestCase
- getNamedWriteableRegistry() - Method in class org.elasticsearch.test.InternalTestCluster
- getNamedWriteableRegistry() - Method in class org.elasticsearch.test.TestCluster
-
Returns this clusters
NamedWriteableRegistry
this is needed to deserialize binary content from this cluster that might include custom named writeables - getNamedWriteables() - Method in class org.elasticsearch.test.InternalAggregationTestCase
-
Implementors can override this if they want to provide a custom list of namedWriteables.
- getNetworkLinkDisruptionType() - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- getNextVersion(IndexVersion) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
- getNextVersion(TransportVersion) - Static method in class org.elasticsearch.test.TransportVersionUtils
- getNextVersion(TransportVersion, boolean) - Static method in class org.elasticsearch.test.TransportVersionUtils
- getNode() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- getNodeId() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getNodeId(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- getNodeIdForLogContext(DiscoveryNode) - Static method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getNodeName() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getNodeNames() - Method in class org.elasticsearch.test.InternalTestCluster
- getNodeNameThat(Predicate<Settings>) - Method in class org.elasticsearch.test.InternalTestCluster
- getNodesInfo(RestClient) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getNodesSideOne() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- getNodesSideOne() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- getNodesSideTwo() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- getNodesSideTwo() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- getNormValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- getNumericDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- getNumPages(BytesReference) - Static method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- getNumShards(String) - Method in class org.elasticsearch.test.ESIntegTestCase
- getNumVersionLookups(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Returns the number of times a version was looked up either from version map or from the index.
- getObjectsHoldingArbitraryContent() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- getObjectsHoldingArbitraryContent() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Returns a map where the keys are object names that won't trigger a standard exception (an exception that contains the string "unknown field [newField]") through
AbstractQueryTestCase.testUnknownObjectException()
. - getOperationPermit(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- getOriginalTransport() - Method in class org.elasticsearch.test.transport.MockTransportService
- getOutput() - Method in class org.elasticsearch.cli.MockTerminal
-
Returns all output written to this terminal.
- getOutputBytes() - Method in class org.elasticsearch.cli.MockTerminal
-
Returns all bytes written to this terminal.
- getOutputStream() - Method in class org.elasticsearch.cli.MockTerminal
- getParam(String) - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getParameters() - Method in class org.elasticsearch.index.mapper.MockFieldMapper.Builder
- getParameters() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getParseMaximalWarnings() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- getParseMinimalWarnings() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- getParseMinimalWarnings(IndexVersion) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- getParser() - Method in class org.elasticsearch.common.logging.JsonLogsIntegTestCase
- getPath() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- getPipelines(String...) - Static method in class org.elasticsearch.test.ESIntegTestCase
- getPlugins() - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- getPlugins() - Method in class org.elasticsearch.test.AbstractBuilderTestCase
- getPlugins() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
The plugin classes that should be added to the node.
- getPlugins() - Method in class org.elasticsearch.test.InternalTestCluster
- getPortRange() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a port range for this JVM according to its Gradle worker ID.
- getPreConfiguredCharFilters() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- getPreConfiguredTokenFilters() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
-
Map containing pre-configured token filters that should be available after installing this plugin.
- getPreConfiguredTokenizers() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
-
Map containing pre-configured tokenizers that should be available after installing this plugin.
- getPreviousMajorVersion(IndexVersion) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
- getPreviousMinorVersion() - Static method in class org.elasticsearch.test.VersionUtils
-
Returns the
Version
before theVersion.CURRENT
where the minor version is less than the currents minor version. - getPreviousVersion() - Static method in class org.elasticsearch.test.index.IndexVersionUtils
- getPreviousVersion() - Static method in class org.elasticsearch.test.TransportVersionUtils
- getPreviousVersion() - Static method in class org.elasticsearch.test.VersionUtils
-
Get the released version before
Version.CURRENT
. - getPreviousVersion(IndexVersion) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
- getPreviousVersion(TransportVersion) - Static method in class org.elasticsearch.test.TransportVersionUtils
- getPreviousVersion(Version) - Static method in class org.elasticsearch.test.VersionUtils
-
Get the version before
version
. - getPreVoteCollectorFactory() - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinationServices
- getPrimary() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- getPrimaryNode() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- getPrimaryShard() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction
- getPrioritizedEsThreadPoolExecutor() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getPrioritizedEsThreadPoolExecutor(Function<Runnable, Runnable>) - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getProcessors(Processor.Parameters) - Method in class org.elasticsearch.ingest.IngestTestPlugin
- getProfile() - Method in class org.elasticsearch.transport.FakeTcpChannel
- getProfileName() - Method in class org.elasticsearch.transport.TestTransportChannel
- getProfilers() - Method in class org.elasticsearch.test.TestSearchContext
- getProperty(List<String>) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- getProtocol() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Override this to switch to testing https.
- getQueries() - Method in class org.elasticsearch.search.DummyQueryParserPlugin
- getQueryName() - Method in class org.elasticsearch.plugins.internal.rewriter.MockQueryRewriteInterceptor
- getRandomCorruptibleFileType() - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreCorruptionUtils
- getRandomFieldName() - Static method in class org.elasticsearch.test.AbstractQueryTestCase
-
Helper method to return a mapped or a random field
- getRandomFieldsExcludeFilter() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Returns a predicate that given the field name indicates whether the field has to be excluded from random fields insertion or not
- getRandomFieldsExcludeFilter() - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Returns a predicate that given the field name indicates whether the field has to be excluded from random fields insertion or not
- getRandomFileToCorrupt(Path, RepositoryFileType) - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreCorruptionUtils
- getRandomNodeName() - Method in class org.elasticsearch.test.InternalTestCluster
- getRandomQueryText() - Static method in class org.elasticsearch.test.AbstractQueryTestCase
- getRandomRewriteMethod() - Static method in class org.elasticsearch.test.AbstractQueryTestCase
-
Helper method to return a random rewrite method
- getRandomTypes() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- getRandomValueForFieldName(String) - Static method in class org.elasticsearch.test.AbstractQueryTestCase
-
create a random value for either
AbstractBuilderTestCase.BOOLEAN_FIELD_NAME
,AbstractBuilderTestCase.INT_FIELD_NAME
,AbstractBuilderTestCase.DOUBLE_FIELD_NAME
,AbstractBuilderTestCase.TEXT_FIELD_NAME
orAbstractBuilderTestCase.DATE_FIELD_NAME
orAbstractBuilderTestCase.DATE_NANOS_FIELD_NAME
or a String value by default - getRange(HttpExchange) - Static method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- getRangeEnd(HttpExchange) - Static method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- getRangeStart(HttpExchange) - Static method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- getRankBuilder(int, String) - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- getReaderCacheHelper() - Method in class org.elasticsearch.index.engine.EngineTestCase.MatchingDirectoryReader
- getReaderCacheHelper() - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- getReaderCacheHelper() - Method in class org.elasticsearch.test.FieldMaskingReader
- getReaderWrapperClass() - Method in class org.elasticsearch.index.MockEngineFactoryPlugin
- getReconfigurator() - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinationServices
- getRecorder() - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- getRegisteredMetrics(InstrumentType) - Method in class org.elasticsearch.telemetry.MetricRecorder
- getRegisteredMetrics(InstrumentType) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getRegistration(Instrument) - Method in class org.elasticsearch.telemetry.MetricRecorder
-
Get the
Registration
for a given elasticsearchInstrument
. - getRelativeTimeInMillis() - Method in class org.elasticsearch.test.TestSearchContext
- getRemoteAddress() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpChannel
- getRemoteAddress() - Method in class org.elasticsearch.transport.FakeTcpChannel
- getRemoteClusterClient(String, Executor, RemoteClusterService.DisconnectedStrategy) - Method in class org.elasticsearch.test.client.NoOpNodeClient
- getReplicas() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- getReplicationTracker(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- getRepositories(Environment, NamedXContentRegistry, ClusterService, BigArrays, RecoverySettings, RepositoriesMetrics) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository.Plugin
- getRepository() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- getRepositoryData(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getRepositoryData(String, IndexVersion) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getRepositoryData(Executor, ActionListener<RepositoryData>) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getRepositoryData(Repository) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- getRepositoryData(Repository) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getRepositoryFileType(Path, Path) - Static method in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- getRepositoryMetadata(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getRepositoryOnMaster(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getRepositoryOnNode(String, String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getRequestCache(IndicesService) - Static method in class org.elasticsearch.indices.IndicesRequestCacheUtils
- getRequestHandlers() - Method in class org.elasticsearch.test.transport.FakeTransport
- getRequestHandlers() - Method in class org.elasticsearch.test.transport.StubbableTransport
- getResourceDataPath(Class<?>, String) - Static method in class org.elasticsearch.test.ESTestCase
- getResponseHandlers() - Method in class org.elasticsearch.test.transport.FakeTransport
- getResponseHandlers() - Method in class org.elasticsearch.test.transport.StubbableTransport
- getRestClient() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns an instance of
RestClient
pointing to the current test cluster. - getRestoreThrottleTimeInNanos() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getResultMatcher(boolean, boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getResultMatcher(Map<String, Object>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Create empty result matcher from result, taking into account all metadata items.
- getSampleObjectForDocument() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Returns a sample object for the field or exception if the field does not support parsing objects
- getSampleValueForDocument() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Returns a sample value for the field, to be used in a document
- getSampleValueForDocument() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- getSampleValueForQuery() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Returns a sample value for the field, to be used when querying the field.
- getScriptEngine(Settings, Collection<ScriptContext<?>>) - Method in class org.elasticsearch.script.MockScriptPlugin
- getScriptEngine(Settings, Collection<ScriptContext<?>>) - Method in class org.elasticsearch.test.FailingFieldPlugin
- getSearchExecutionContext() - Method in class org.elasticsearch.test.TestSearchContext
- getSearchExt(String) - Method in class org.elasticsearch.test.TestSearchContext
- getSearchPlugins() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Test cases should override this if they have plugins that need to be loaded, e.g.
- getSettingNames() - Method in class org.elasticsearch.common.settings.MockSecureSettings
- getSettings() - Method in class org.elasticsearch.index.MockEngineFactoryPlugin
- getSettings() - Method in class org.elasticsearch.search.ConcurrentSearchTestPlugin
- getSettings() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository.Plugin
- getSettings() - Method in class org.elasticsearch.test.ESIntegTestCase.TestSeedPlugin
- getSettings() - Method in class org.elasticsearch.test.InternalSettingsPlugin
- getSettings() - Method in class org.elasticsearch.test.MockIndexEventListener.TestPlugin
- getSettings() - Method in class org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
- getSettings() - Method in class org.elasticsearch.test.transport.MockTransportService.TestPlugin
- getSHA256Digest(String) - Method in class org.elasticsearch.common.settings.MockSecureSettings
- getShardDocUIDs(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- getShardOrNull(int) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- getShardSnapshotStatus(SnapshotId, IndexId, ShardId) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getShuffleFieldsExceptions() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Fields that have to be ignored when shuffling as part of testFromXContent
- getShuffleFieldsExceptions() - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Fields that have to be ignored when shuffling as part of testFromXContent
- getSinglePageOrNull(BytesReference) - Static method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- getSnapshot(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- getSnapshotGlobalMetadata(SnapshotId) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getSnapshotIndexMetaData(RepositoryData, SnapshotId, IndexId) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getSnapshotInfo(Collection<SnapshotId>, boolean, BooleanSupplier, CheckedConsumer<SnapshotInfo, Exception>, ActionListener<Void>) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getSnapshotThrottleTimeInNanos() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- getSortedDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- getSortedSetDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- getStats() - Method in class org.elasticsearch.test.transport.FakeTransport
- getStats() - Method in class org.elasticsearch.test.transport.StubbableTransport
- getString(String) - Method in class org.elasticsearch.common.settings.MockSecureSettings
- getStuckThreadNames(ThreadWatchdog) - Static method in class org.elasticsearch.common.network.ThreadWatchdogHelper
- getSuiteFailureMarker() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns the suite failure marker: internal use only!
- getSupportedContexts() - Method in class org.elasticsearch.script.MockScriptEngine
- getSupportedReaders(MapperService, String) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Get the configuration for testing block loaders with this field.
- getSupportedReaders(MapperService, String) - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- getSupportedReaders(MapperService, String) - Static method in class org.elasticsearch.index.mapper.TextFieldFamilySyntheticSourceTestSetup
- getSupportedSettings() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- getSupportedValuesSourceTypes() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Implementors should return a list of
ValuesSourceType
that the aggregator supports. - getSupportedValuesSourceTypes() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- getTag() - Method in class org.elasticsearch.ingest.TestProcessor
- getTags() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getTask() - Method in class org.elasticsearch.test.TestSearchContext
- getTelemetryProvider(Settings) - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- getTestFileStore(String) - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase
- getTestReadinessPorts() - Method in class org.elasticsearch.test.rest.ESRestTestCase
- getTestRestCluster() - Method in class org.elasticsearch.test.rest.ESRestTestCase
- getTestTransportPlugin() - Static method in class org.elasticsearch.test.ESTestCase
- getTestTransportType() - Static method in class org.elasticsearch.test.ESTestCase
- getTextBodyContent(Iterator<CheckedConsumer<Writer, IOException>>) - Static method in class org.elasticsearch.rest.RestResponseUtils
- getThreadPool() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getThreadPool(Function<Runnable, Runnable>) - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- getThrowingRankBuilder(int, String, AbstractRerankerIT.ThrowingRankBuilderType) - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- getTile(double, double, int) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
-
Return the bounding tile as a
Rectangle
for a given point - getTimestamp() - Method in class org.elasticsearch.common.logging.JsonLogLine
- getTimestampRange() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- getTokenFilters() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- getTokenizers() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- getTokenizers() - Method in class org.elasticsearch.test.MockKeywordPlugin
- getTotalHits() - Method in class org.elasticsearch.test.TestSearchContext
- getTotalHits(SearchRequestBuilder) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- getTotalHitsValue(SearchRequestBuilder) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- getTotalSpace() - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase.TestFileStore
- getToXContentParams() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Params that have to be provided when calling calling
ToXContent.toXContent(XContentBuilder, ToXContent.Params)
- getToXContentParams() - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Params that have to be provided when calling
ToXContent.toXContent(XContentBuilder, ToXContent.Params)
- getTranslog(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Exposes a translog associated with the given engine for testing purpose.
- getTranslog(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- getTransportInterceptor(DiscoveryNode, ThreadPool) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- getTransportInterceptors(NamedWriteableRegistry, ThreadContext) - Method in class org.elasticsearch.test.ESIntegTestCase.AssertActionNamePlugin
- getTransportResponseHandler(long) - Method in class org.elasticsearch.test.transport.MockTransport
- getTransportVersion() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- getTransportVersionWithFallback(String, Object, Supplier<TransportVersion>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- getTrustStorePath() - Method in class org.elasticsearch.test.TestTrustStore
- getType() - Method in class org.elasticsearch.index.mapper.TestScriptEngine
- getType() - Method in class org.elasticsearch.ingest.TestProcessor
- getType() - Method in class org.elasticsearch.script.MockScriptEngine
- getUnallocatedSpace() - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase.TestFileStore
- getUsableSpace() - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase.TestFileStore
- getUsed() - Method in class org.elasticsearch.common.util.MockBigArrays.LimitedBreaker
- getValue(Object) - Method in interface org.elasticsearch.cluster.coordination.LinearizabilityChecker.KeyedSpec
-
extracts the key-less value from the given keyed invocation input value
- getValue(String) - Method in class org.elasticsearch.test.rest.Stash
-
Retrieves a value from the current stash.
- getVersion() - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- getWorkerBasePort() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns the start of the port range for this JVM according to its Gradle worker ID.
- getWriteableName() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- getWriteableName() - Method in class org.elasticsearch.search.DummyQueryBuilder
- getWriteableName() - Method in class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
- getWriteableName() - Method in class org.elasticsearch.search.rank.TestRankBuilder
- getWriteableName() - Method in class org.elasticsearch.search.rank.TestRankShardResult
- GLOBAL_METADATA - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- GraalVMThreadsFilter - Class in org.elasticsearch.test
-
The GraalVM spawns extra threads, which causes our thread leak detection to fail.
- GraalVMThreadsFilter() - Constructor for class org.elasticsearch.test.GraalVMThreadsFilter
- GradleMessageBuilder(StringBuilder) - Constructor for class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
- groupStats() - Method in class org.elasticsearch.test.TestSearchContext
H
- HALF_FLOAT - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- HalfFloatFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- HalfFloatFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.HalfFloatFieldDataGenerator
- HalfFloatGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.HalfFloatGenerator
-
Creates an instance of a
HalfFloatGenerator
record class. - HalfFloatGenerator(Supplier<Float>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.HalfFloatGenerator
-
Creates an instance of a
HalfFloatGenerator
record class. - handle(HttpExchange) - Method in class org.elasticsearch.http.ResponseInjectingHttpHandler
- handle(HttpExchange) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler
- handle(HttpExchange) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.HttpStatsCollectorHandler
- handle(DataSourceRequest.ArrayWrapper) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.ArrayWrapper) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultWrappersHandler
- handle(DataSourceRequest.ByteGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.ByteGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.ChildFieldGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.ChildFieldGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultObjectGenerationHandler
- handle(DataSourceRequest.DoubleGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.DoubleGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.DynamicMappingGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.DynamicMappingGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultObjectGenerationHandler
- handle(DataSourceRequest.FieldTypeGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.FieldTypeGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultObjectGenerationHandler
- handle(DataSourceRequest.FloatGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.FloatGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.HalfFloatGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.HalfFloatGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.IntegerGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.IntegerGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.LeafMappingParametersGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.LeafMappingParametersGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultMappingParametersHandler
- handle(DataSourceRequest.LongGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.LongGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.NullWrapper) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.NullWrapper) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultWrappersHandler
- handle(DataSourceRequest.ObjectArrayGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.ObjectArrayGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultObjectGenerationHandler
- handle(DataSourceRequest.ObjectMappingParametersGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.ObjectMappingParametersGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultMappingParametersHandler
- handle(DataSourceRequest.ShortGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.ShortGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.StringGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.StringGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(DataSourceRequest.UnsignedLongGenerator) - Method in interface org.elasticsearch.logsdb.datageneration.datasource.DataSourceHandler
- handle(DataSourceRequest.UnsignedLongGenerator) - Method in class org.elasticsearch.logsdb.datageneration.datasource.DefaultPrimitiveTypesHandler
- handle(AbstractHttpFixture.Request) - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture
- handle(AbstractHttpFixture.Request) - Method in interface org.elasticsearch.test.fixture.AbstractHttpFixture.RequestHandler
- handleAsError(HttpExchange) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler
- handleError(long, TransportException) - Method in class org.elasticsearch.test.transport.MockTransport
-
simulate an error for the given requestId, unlike
MockTransport.handleLocalError(long, Throwable)
andMockTransport.handleRemoteError(long, Throwable)
, the provided exception will not be wrapped but will be delivered to the transport layer as is - handleLocalError(long, Throwable) - Method in class org.elasticsearch.test.transport.MockTransport
-
simulate a local error for the given requestId, will be wrapped by a
SendRequestTransportException
- handleRemoteError(long, Throwable) - Method in class org.elasticsearch.test.transport.MockTransport
-
simulate a remote error for the given requestId, will be wrapped by a
RemoteTransportException
- handleResponse(long, Response) - Method in class org.elasticsearch.test.transport.MockTransport
-
simulate a response for the given requestId
- handlers - Variable in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- handoffPrimaryContext(ReplicationTracker.PrimaryContext, ActionListener<Void>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- has(ESRestTestCase.ProductFeature) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- hasAcquiredIndexCommitsForTesting(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- hasAnyTasks() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- hasDeferredTasks() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- hashAsString(double, double, int) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
-
Convert geo point into a hash string (bucket string ID)
- hashCode() - Method in record class org.elasticsearch.cluster.coordination.LinearizabilityChecker.Event
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceInvalidExample
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ArrayWrapper
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ByteGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ChildFieldGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DoubleGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DynamicMappingGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FieldTypeGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FloatGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.HalfFloatGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.IntegerGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LongGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.NullWrapper
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectArrayGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ShortGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.StringGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.UnsignedLongGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ArrayWrapper
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ByteGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DoubleGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DynamicMappingGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator.FieldTypeInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FloatGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.HalfFloatGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.IntegerGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LeafMappingParametersGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LongGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.NullWrapper
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectArrayGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectMappingParametersGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ShortGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.StringGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.UnsignedLongGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.Mapping
-
Returns a hash code value for this object.
- hashCode() - Method in class org.elasticsearch.logsdb.datageneration.matchers.MatchResult
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.Template
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Leaf
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Object
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns a hash code value for this object.
- hashCode() - Method in class org.elasticsearch.search.DummyQueryParserPlugin.DummyQuery
- hashCode() - Method in record class org.elasticsearch.telemetry.Measurement
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.test.CloseableTestClusterWrapper
-
Returns a hash code value for this object.
- hashCode() - Method in class org.elasticsearch.test.ESTestCase.DeprecationWarning
- hashCode() - Method in record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.Range
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.test.InternalAggregationTestCase.BuilderAndToReduce
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.elasticsearch.test.PrivilegedOperations.ClosableURLClassLoader
-
Returns a hash code value for this object.
- hashCode() - Method in class org.elasticsearch.test.TestCustomMetadata
- hashCode() - Method in record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Returns a hash code value for this object.
- hasId(String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- hasIndex(String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- hasRange() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
- hasRank(int) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- hasReferences() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- hasRunnableTasks() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- hasScore(float) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
- hasScriptFields() - Method in class org.elasticsearch.test.TestSearchContext
- hasSize() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
- hasStoredFields() - Method in class org.elasticsearch.test.TestSearchContext
- hasXPack() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Does any node in the cluster being tested have x-pack installed?
- headers() - Method in record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
-
Returns the value of the
headers
record component. - headerString() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
- headerString() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.Range
- HIGH_CARD_IDX_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- highlight() - Method in class org.elasticsearch.test.TestSearchContext
- highlight(MapperService, ParsedDocument, SearchSourceBuilder) - Method in class org.elasticsearch.search.fetch.HighlighterTestCase
-
Runs the highlight phase for a search over a specific document
- highlight(SearchHighlightContext) - Method in class org.elasticsearch.test.TestSearchContext
- HighlighterTestCase - Class in org.elasticsearch.search.fetch
- HighlighterTestCase() - Constructor for class org.elasticsearch.search.fetch.HighlighterTestCase
- History() - Constructor for class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
- History(Collection<LinearizabilityChecker.Event>) - Constructor for class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
- httpAddresses() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- httpAddresses() - Method in class org.elasticsearch.test.InternalTestCluster
- httpAddresses() - Method in class org.elasticsearch.test.TestCluster
-
Returns the http addresses of the nodes within the cluster.
- HttpHeaderParser - Enum Class in org.elasticsearch.test.fixture
- HttpHeaderParser.ContentRange - Record Class in org.elasticsearch.test.fixture
-
A HTTP "Content Range"
- HttpHeaderParser.Range - Record Class in org.elasticsearch.test.fixture
- httpServer - Variable in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- httpServerUrl() - Static method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- HttpStatsCollectorHandler(HttpHandler) - Constructor for class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.HttpStatsCollectorHandler
I
- id() - Method in record class org.elasticsearch.cluster.coordination.LinearizabilityChecker.Event
-
Returns the value of the
id
record component. - id() - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Returns the value of the
id
record component. - id() - Method in class org.elasticsearch.test.TestSearchContext
- idFieldDataEnabled(BooleanSupplier) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase.TestMapperServiceBuilder
- IDX_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- IDX_ZERO_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- ifRebooted() - Method in interface org.elasticsearch.transport.DisruptableMockTransport.RebootSensitiveRunnable
-
Cleanup action to run if the destination node reboots.
- IGNORE_DESERIALIZATION_ERRORS_SETTING - Static variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- ignoreAbove() - Method in class org.elasticsearch.index.mapper.KeywordFieldSyntheticSourceSupport
- ignoreAbove() - Method in interface org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceSupport
- ignoreLons(double[]) - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
-
Only LegacyGeoShape has limited support, so other tests will ignore nothing
- ignoreSystemIndexAccessWarnings(List<String>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- ignoringSort - Variable in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- ignoringSort(boolean) - Method in interface org.elasticsearch.logsdb.datageneration.matchers.Matcher.CompareStep
- ILM - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- in() - Method in class org.elasticsearch.test.client.RandomizingClient
- INCLUDE_DEFAULTS - Static variable in class org.elasticsearch.index.mapper.MapperServiceTestCase
- incRef() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- increment() - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleCounter
- increment() - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongCounter
- incrementalReduce() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
incrementalReduce
record component. - incrementBy(double) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleCounter
- incrementBy(double, Map<String, Object>) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleCounter
- incrementBy(long) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongCounter
- incrementBy(long, Map<String, Object>) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongCounter
- incrementVersion(ClusterState) - Method in class org.elasticsearch.cluster.service.FakeThreadPoolMasterService
- index - Variable in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- index(String, String, String) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for:
- index(String, String, Map<String, Object>) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for:
- index(String, String, XContentBuilder) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for:
- index(String, XContentBuilder) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for:
- index(IndexRequest) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- INDEX_CHECK_INDEX_ON_CLOSE_SETTING - Static variable in class org.elasticsearch.test.store.MockFSIndexStore
- INDEX_CREATION_DATE_SETTING - Static variable in class org.elasticsearch.test.InternalSettingsPlugin
- INDEX_FAIL - Static variable in class org.elasticsearch.test.MockIndexEventListener.TestPlugin
-
For tests to pass in to fail on listener invocation
- INDEX_METADATA - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- INDEX_SETTINGS - Static variable in class org.elasticsearch.index.engine.EngineTestCase
- INDEX_TEST_SEED_SETTING - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Key used to retrieve the index random seed from the index settings on a running node.
- indexAllShardsToAnEqualOrGreaterMinimumSize(String, long) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Runs random indexing until each shard in the given index is at least minBytesPerShard in size.
- indexAnalyzers - Variable in class org.elasticsearch.test.ESTestCase.TestAnalysis
- indexDoc(String, String, Object...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for:
- indexDoc(IndexShard, String, long, String, XContentType, String) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- indexDoc(IndexShard, String, String) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- indexDoc(IndexShard, String, String, String) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- indexDoc(IndexShard, String, String, XContentType, String) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- indexDocs(int) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- indexedShapeId - Static variable in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- indexedShapeIndex - Static variable in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- indexedShapePath - Static variable in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- indexedShapeRouting - Static variable in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- indexedShapeToReturn - Static variable in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- indexExists(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns
true
iff the given index exists otherwisefalse
- indexExists(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- indexExists(String, Client) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns
true
iff the given index exists otherwisefalse
- indexExists(RestClient, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- indexForDoc(ParsedDocument) - Method in class org.elasticsearch.index.engine.EngineTestCase
- indexMapping - Variable in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
- indexOf(byte, int) - Method in class org.elasticsearch.common.bytes.ZeroBytesReference
- indexOnPrimary(IndexRequest, IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
-
indexes the given requests on the supplied primary, modifying it for replicas
- indexOnReplica(BulkShardRequest, ESIndexLevelReplicationTestCase.ReplicationGroup, IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase
-
indexes the given requests on the supplied replica shard
- indexOp(String, long, long) - Static method in class org.elasticsearch.index.translog.TranslogOperationsUtils
- indexOp(String, long, long, String) - Static method in class org.elasticsearch.index.translog.TranslogOperationsUtils
- indexRandom(boolean, boolean, boolean, List<IndexRequestBuilder>) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Indexes the given
IndexRequestBuilder
instances randomly. - indexRandom(boolean, boolean, List<IndexRequestBuilder>) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Indexes the given
IndexRequestBuilder
instances randomly. - indexRandom(boolean, boolean, IndexRequestBuilder...) - Method in class org.elasticsearch.test.ESIntegTestCase
- indexRandom(boolean, String, int) - Method in class org.elasticsearch.test.ESIntegTestCase
- indexRandom(boolean, List<IndexRequestBuilder>) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Indexes the given
IndexRequestBuilder
instances randomly. - indexRandom(boolean, IndexRequestBuilder...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Convenience method that forwards to
ESIntegTestCase.indexRandom(boolean, List)
. - indexRandomDocs(String, int) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- indexService(Index) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- indexSettings() - Method in class org.elasticsearch.index.engine.EngineTestCase
- indexSettings() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- indexSettings() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a settings object used in
ESIntegTestCase.createIndex(String...)
andESIntegTestCase.prepareCreate(String)
and friends. - indexSettings(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
Return consistent index settings for the provided shard- and replica-count.
- indexSettings(IndexVersion, int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
Return consistent index settings for the provided index version, shard- and replica-count.
- IndexSettingsModule - Class in org.elasticsearch.test
- IndexSettingsModule(Index, Settings) - Constructor for class org.elasticsearch.test.IndexSettingsModule
- indexSettingsNoReplicas(int) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- indexShard() - Method in class org.elasticsearch.test.TestSearchContext
- indexShardStateChanged(IndexShard, IndexShardState, IndexShardState, String) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- IndexShardTestCase - Class in org.elasticsearch.index.shard
-
A base class for unit tests that need to create and shutdown
IndexShard
instances easily, containing utilities for shard creation and recoveries. - IndexShardTestCase() - Constructor for class org.elasticsearch.index.shard.IndexShardTestCase
- indexTestData() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- indexTranslogOperations(List<Translog.Operation>, int, long, long, RetentionLeases, long, ActionListener<Long>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- indexVersion(IndexVersion) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase.TestMapperServiceBuilder
- IndexVersionUtils - Class in org.elasticsearch.test.index
- IndexVersionUtils() - Constructor for class org.elasticsearch.test.index.IndexVersionUtils
- indexWriterForSyntheticSource(Directory) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- indicesAdmin() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a random indices admin client.
- indicesAdmin() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Returns an indices admin client.
- indicesCreated(ClusterChangedEvent) - Static method in class org.elasticsearch.cluster.metadata.ClusterChangedEventUtils
- IndicesRequestCacheUtils - Class in org.elasticsearch.indices
- inFipsJvm() - Static method in class org.elasticsearch.test.ESIntegTestCase
- inFipsJvm() - Static method in class org.elasticsearch.test.ESTestCase
- info() - Method in class org.elasticsearch.plugins.MockPluginsService
- info() - Method in class org.elasticsearch.test.MockHttpTransport
- IngestDocumentMatcher - Class in org.elasticsearch.ingest
- ingestNode() - Static method in class org.elasticsearch.test.NodeRoles
- ingestNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- ingestOnlyNode() - Static method in class org.elasticsearch.test.NodeRoles
- ingestOnlyNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- IngestPipelineTestUtils - Class in org.elasticsearch.ingest
-
Utils for creating/retrieving/deleting ingest pipelines in a test cluster.
- ingestScriptSupport() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- ingestScriptSupport() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- IngestScriptSupport() - Constructor for class org.elasticsearch.index.mapper.MapperTestCase.IngestScriptSupport
- IngestTestPlugin - Class in org.elasticsearch.ingest
-
Adds an ingest processor to be used in tests.
- IngestTestPlugin() - Constructor for class org.elasticsearch.ingest.IngestTestPlugin
- init() - Static method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- init() - Static method in class org.elasticsearch.test.mockito.SecureMockMaker
- init() - Static method in class org.elasticsearch.test.MockLog
-
Initialize the mock log appender with the log4j system.
- INIT_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- initAnalysisRegistry() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- initBlockFactory() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- initClient() - Method in class org.elasticsearch.test.rest.ESRestTestCase
- initialize(Map<ActionType<? extends ActionResponse>, TransportAction<? extends ActionRequest, ? extends ActionResponse>>, TaskManager, Supplier<String>, Transport.Connection, RemoteClusterService) - Method in class org.elasticsearch.test.client.NoOpNodeClient
- initialize(ShardRouting, String) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- initialize(ShardRouting, String, long) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- initializeAdditionalMappings(MapperService) - Method in class org.elasticsearch.test.AbstractBuilderTestCase
- initialState() - Method in interface org.elasticsearch.cluster.coordination.LinearizabilityChecker.SequentialSpec
-
Returns the initial state of the datatype
- initPlugins() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- initSearchShardBlockingPlugin() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- initTestSeed() - Static method in class org.elasticsearch.test.ESTestCase
- initWithSameId(ShardRouting, RecoverySource) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- initWithSnapshotVersion(String, Path, IndexVersion) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
-
Workaround to simulate BwC situation: taking a snapshot without indices here so that we don't create any new version shard generations (the existence of which would short-circuit checks for the repo containing old version snapshots)
- injectRandomFailures() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase
- InMemoryJavaCompiler - Class in org.elasticsearch.test.compiler
-
An in-memory java source code compiler.
- InMemoryJavaCompiler() - Constructor for class org.elasticsearch.test.compiler.InMemoryJavaCompiler
- innerMatch(LogEvent) - Method in class org.elasticsearch.test.MockLog.AbstractEventExpectation
- innerMatch(LogEvent) - Method in class org.elasticsearch.test.MockLog.ExceptionSeenEventExpectation
- inputValue() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Returns the value of the
inputValue
record component. - insertIntoXContent(XContent, BytesReference, List<String>, Supplier<String>, Supplier<Object>) - Static method in class org.elasticsearch.test.XContentTestUtils
-
Inserts key/value pairs into xContent passed in as
BytesReference
and returns a newXContentBuilder
The paths argument uses dot separated fieldnames and numbers for array indices, similar to what we do inObjectPath
. - insertRandomFields(XContentType, BytesReference, Predicate<String>, Random) - Static method in class org.elasticsearch.test.XContentTestUtils
-
This method takes the input xContent data and adds a random field value, inner object or array into each json object.
- installFilesystemProvider() - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase
- installMock(FileSystem) - Static method in class org.elasticsearch.core.PathUtilsForTesting
-
Installs a mock filesystem for testing
- instance() - Static method in class org.elasticsearch.ingest.TestTemplateService
- instance(boolean) - Static method in class org.elasticsearch.ingest.TestTemplateService
- INSTANCE - Static variable in class org.elasticsearch.indices.EmptySystemIndices
- instanceReader() - Method in class org.elasticsearch.test.AbstractWireSerializingTestCase
-
Returns a
Writeable.Reader
that can be used to de-serialize the instance - instanceWriter() - Method in class org.elasticsearch.test.AbstractWireSerializingTestCase
-
Returns a
Writeable.Writer
that will be used to serialize the instance - InstrumentType - Enum Class in org.elasticsearch.telemetry
-
Enum with the different types for use as keys.
- INT_ALIAS_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- INT_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- INT_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- INT_RANGE_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- INTEGER - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- IntegerFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- IntegerFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.IntegerFieldDataGenerator
- IntegerGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.IntegerGenerator
-
Creates an instance of a
IntegerGenerator
record class. - IntegerGenerator(Supplier<Integer>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.IntegerGenerator
-
Creates an instance of a
IntegerGenerator
record class. - interceptAndRewrite(QueryRewriteContext, QueryBuilder) - Method in class org.elasticsearch.plugins.internal.rewriter.MockQueryRewriteInterceptor
- InternalAggCardinalityUpperBound(String, CardinalityUpperBound, Map<String, Object>) - Constructor for class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- InternalAggCardinalityUpperBound(StreamInput) - Constructor for class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- InternalAggregationTestCase<T> - Class in org.elasticsearch.test
-
Implementors of this test case should be aware that the aggregation under test needs to be registered in the test's namedWriteableRegistry.
- InternalAggregationTestCase() - Constructor for class org.elasticsearch.test.InternalAggregationTestCase
- InternalAggregationTestCase.BuilderAndToReduce<T> - Record Class in org.elasticsearch.test
- internalCluster() - Static method in class org.elasticsearch.test.ESIntegTestCase
- InternalMultiBucketAggregationTestCase<T> - Class in org.elasticsearch.test
- InternalMultiBucketAggregationTestCase() - Constructor for class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- InternalSettingsPlugin - Class in org.elasticsearch.test
- InternalSettingsPlugin() - Constructor for class org.elasticsearch.test.InternalSettingsPlugin
- InternalSingleBucketAggregationTestCase<T> - Class in org.elasticsearch.search.aggregations
- InternalSingleBucketAggregationTestCase() - Constructor for class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- InternalTestCluster - Class in org.elasticsearch.test
-
InternalTestCluster manages a set of JVM private nodes and allows convenient access to them.
- InternalTestCluster(long, Path, boolean, boolean, int, int, String, NodeConfigurationSource, int, String, Collection<Class<? extends Plugin>>, Function<Client, Client>) - Constructor for class org.elasticsearch.test.InternalTestCluster
- InternalTestCluster(long, Path, boolean, boolean, int, int, String, NodeConfigurationSource, int, String, Collection<Class<? extends Plugin>>, Function<Client, Client>, boolean, boolean, boolean) - Constructor for class org.elasticsearch.test.InternalTestCluster
- InternalTestCluster.RestartCallback - Class in org.elasticsearch.test
-
An abstract class that is called during
InternalTestCluster.rollingRestart(InternalTestCluster.RestartCallback)
and / orInternalTestCluster.fullRestart(InternalTestCluster.RestartCallback)
to execute actions at certain stages of the restart. - intersect(CompiledAutomaton, BytesRef) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingTerms
- Intersect - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- intersectionQuery(String, String) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
- intersectionQuery(String, String) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- intersectionQuery(String, Geometry) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
-
A filter to filter indexed shapes intersecting with shapes
- intersectionQuery(String, Geometry) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- intValue() - Method in class org.elasticsearch.script.ScoreAccessor
- invalidateCoordinate(GeoBoundingBoxQueryBuilder, boolean) - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.PointTester
- invalidCoordinate - Variable in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.PointTester
- invalidExample() - Method in class org.elasticsearch.index.mapper.KeywordFieldSyntheticSourceSupport
- invalidExample() - Method in interface org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceSupport
-
Examples of mappings that should be rejected when source is configured to be loaded from doc values.
- invalidExample() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests.NumberSyntheticSourceSupport
- INVOCATION - Enum constant in enum class org.elasticsearch.cluster.coordination.LinearizabilityChecker.EventType
- invoke(Object) - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
-
Appends a new invocation event to the history
- invokeAll(Collection<? extends Callable<T>>) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- invokeAny(Collection<? extends Callable<T>>) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- IP_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- isCancelled() - Method in class org.elasticsearch.test.TestSearchContext
- isClosed() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- isCompoundBuilder() - Method in class org.elasticsearch.search.rank.TestRankBuilder
- isConfigurable() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- isDouble - Variable in enum class org.elasticsearch.telemetry.InstrumentType
- isDouble() - Method in record class org.elasticsearch.telemetry.Measurement
-
Returns the value of the
isDouble
record component. - isEmpty() - Static method in class org.elasticsearch.test.hamcrest.OptionalMatchers
- isEqualTo(T) - Method in interface org.elasticsearch.logsdb.datageneration.matchers.Matcher.CompareStep
- isFlushOnCloseDisabled() - Method in class org.elasticsearch.test.engine.MockEngineSupport
- isInternalCluster() - Static method in class org.elasticsearch.test.ESIntegTestCase
- isLinearizable(LinearizabilityChecker.SequentialSpec, LinearizabilityChecker.History) - Static method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker
-
Convenience method for
LinearizabilityChecker.isLinearizable(SequentialSpec, History, Function)
that requires the history to be complete - isLinearizable(LinearizabilityChecker.SequentialSpec, LinearizabilityChecker.History, Function<Object, Object>) - Static method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker
-
Checks whether the provided history is linearizable with respect to the given sequential specification
- isLoaded() - Method in class org.elasticsearch.common.settings.MockSecureSettings
- isLong - Variable in enum class org.elasticsearch.telemetry.InstrumentType
- isLong() - Method in record class org.elasticsearch.telemetry.Measurement
- isMatch() - Method in class org.elasticsearch.logsdb.datageneration.matchers.MatchResult
- isNested() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
-
Returns the value of the
isNested
record component. - isNotFoundResponseException(IOException) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- IsolateAllNodes(Set<String>) - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption.IsolateAllNodes
- isolateMasterDisruption(NetworkDisruption.NetworkLinkDisruptionType) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Creates a disruption that isolates the current master node from all other nodes in the cluster.
- isOpen() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpChannel
- isOpen() - Method in class org.elasticsearch.transport.FakeTcpChannel
- isPresent() - Static method in class org.elasticsearch.test.hamcrest.OptionalMatchers
- isPresentWith(Matcher<? super T>) - Static method in class org.elasticsearch.test.hamcrest.OptionalMatchers
- isPresentWith(T) - Static method in class org.elasticsearch.test.hamcrest.OptionalMatchers
- isRawIndexingData() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase.StringMessageRequest
- isReadOnly() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- isRegisterBlackholed() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- isRegisterDisconnected() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- isResultDeterministic() - Method in class org.elasticsearch.script.MockDeterministicScript
- isResultDeterministic() - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggCombineScriptFactory
- isResultDeterministic() - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggInitScriptFactory
- isResultDeterministic() - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggMapScriptFactory
- isResultDeterministic() - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggReduceScriptFactory
- isResultDeterministic() - Method in class org.elasticsearch.script.MockScriptEngine.MockScoreScript
- isRoot() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
-
Returns the value of the
isRoot
record component. - isServerChannel() - Method in class org.elasticsearch.transport.FakeTcpChannel
- isShutdown() - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- issueUrl() - Element in annotation interface org.elasticsearch.test.junit.annotations.TestIssueLogging
-
This property is used to link to the open test issue under investigation.
- isSupportedOn(IndexVersion) - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- isTerminated() - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- isTextField(String) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- isTuple(Matcher<? super V1>, Matcher<? super V2>) - Static method in class org.elasticsearch.test.hamcrest.TupleMatchers
-
Creates a matcher that matches iff: 1.
- isTurkishLocale() - Static method in class org.elasticsearch.test.ESTestCase
- isTypeMockable(Class<?>) - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- isXPackTemplate(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Is this template one that is automatically created by xpack?
- item(Object) - Method in class org.elasticsearch.test.ListMatcher
-
Expect a value.
- item(Matcher<?>) - Method in class org.elasticsearch.test.ListMatcher
-
Expect a
Matcher
. - iterations(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a "scaled" number of iterations for loops which can have a variable iteration count.
- iterator() - Method in class org.elasticsearch.common.bytes.ZeroBytesReference
- iterator() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- iterator() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- iterator() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- iterator() - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingTerms
J
- JarUtils - Class in org.elasticsearch.test.jar
- JAVA_TIMEZONE_IDS - Static variable in class org.elasticsearch.test.ESTestCase
- JAVA_ZONE_IDS - Static variable in class org.elasticsearch.test.ESTestCase
- JSON_CONTENT_TYPE - Static variable in class org.elasticsearch.test.fixture.AbstractHttpFixture
- JsonLogLine - Class in org.elasticsearch.common.logging
-
Represents a single log line in a json format.
- JsonLogLine() - Constructor for class org.elasticsearch.common.logging.JsonLogLine
- JsonLogsIntegTestCase - Class in org.elasticsearch.common.logging
-
Tests that extend this class verify that all json layout fields appear in the first few log lines after startup Fields available upon process startup:
type
,timestamp
,level
,component
,message
,node.name
,cluster.name
. - JsonLogsIntegTestCase() - Constructor for class org.elasticsearch.common.logging.JsonLogsIntegTestCase
- JsonLogsStream - Class in org.elasticsearch.common.logging
-
Returns a stream of json log lines.
- JsonMapView(Map<String, Object>) - Constructor for class org.elasticsearch.test.XContentTestUtils.JsonMapView
- jsonSimulatePipelineRequest(String) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
-
Construct a new
SimulatePipelineRequest
whose content is the given JSON document, represented as aString
. - jsonSimulatePipelineRequest(BytesReference) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
-
Construct a new
SimulatePipelineRequest
whose content is the given JSON document, represented as aBytesReference
.
K
- keySet(ClusterState) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- KEYWORD - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- KEYWORD_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- keywordField(String) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Make a DateFieldMapper.DateFieldType for a
date
. - KeywordFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- KeywordFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.KeywordFieldDataGenerator
- KeywordFieldSyntheticSourceSupport - Class in org.elasticsearch.index.mapper
- KnownIndexVersions - Class in org.elasticsearch.index
-
Provides access to all known index versions
- KnownIndexVersions() - Constructor for class org.elasticsearch.index.KnownIndexVersions
L
- LambdaMatchers - Class in org.elasticsearch.test
- LambdaMatchers() - Constructor for class org.elasticsearch.test.LambdaMatchers
- LARGE_POOL_SIZE - Static variable in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- LARGE_SNAPSHOT_POOL_SETTINGS - Static variable in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- Leaf(String, FieldType) - Constructor for record class org.elasticsearch.logsdb.datageneration.Template.Leaf
-
Creates an instance of a
Leaf
record class. - LeafMappingParametersGenerator(String, FieldType, Set<String>, DynamicMapping) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Creates an instance of a
LeafMappingParametersGenerator
record class. - LeafMappingParametersGenerator(Supplier<Map<String, Object>>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LeafMappingParametersGenerator
-
Creates an instance of a
LeafMappingParametersGenerator
record class. - LeftTester() - Constructor for class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.LeftTester
- LEGACY_TEMPLATES - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- lengthGenerator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectArrayGenerator
-
Returns the value of the
lengthGenerator
record component. - level - Variable in class org.elasticsearch.test.MockLog.AbstractEventExpectation
- lifecycleState() - Method in class org.elasticsearch.test.transport.StubbableTransport
- LIGHT_PROFILE - Static variable in class org.elasticsearch.transport.TestProfiles
-
A pre-built light connection profile that shares a single connection across all types.
- LimitedBreaker(String, ByteSizeValue) - Constructor for class org.elasticsearch.common.util.MockBigArrays.LimitedBreaker
- LinearizabilityCheckAborted() - Constructor for exception class org.elasticsearch.cluster.coordination.LinearizabilityChecker.LinearizabilityCheckAborted
- LinearizabilityChecker - Class in org.elasticsearch.cluster.coordination
-
Basic implementation of the Wing and Gong Graph Search Algorithm, following the descriptions in Gavin Lowe: Testing for linearizability Concurrency and Computation: Practice and Experience 29, 4 (2017).
- LinearizabilityChecker() - Constructor for class org.elasticsearch.cluster.coordination.LinearizabilityChecker
- LinearizabilityChecker.Event - Record Class in org.elasticsearch.cluster.coordination
- LinearizabilityChecker.EventType - Enum Class in org.elasticsearch.cluster.coordination
- LinearizabilityChecker.History - Class in org.elasticsearch.cluster.coordination
-
Sequence of invocations and responses, recording the run of a concurrent system.
- LinearizabilityChecker.KeyedSpec - Interface in org.elasticsearch.cluster.coordination
-
Sequential specification of a datatype that allows for keyed access, providing compositional checking (see
LinearizabilityChecker.SequentialSpec.partition(List)
). - LinearizabilityChecker.LinearizabilityCheckAborted - Exception Class in org.elasticsearch.cluster.coordination
-
This exception is thrown if the check could not be completed due to timeout or OOM (that could be caused by long event history)
- LinearizabilityChecker.SequentialSpec - Interface in org.elasticsearch.cluster.coordination
-
Sequential specification of a datatype.
- linearRing(double[], double[], boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- listen() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture
-
Opens a
HttpServer
and start listening on a provided or random port. - listen(InetAddress, boolean) - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture
-
Opens a
HttpServer
and start listening on a provided or random port. - listen(InetSocketAddress, boolean) - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture
- listenAndWait(InetSocketAddress, boolean) - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture
- listener() - Method in class org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase
- ListEqualMatcher - Class in org.elasticsearch.logsdb.datageneration.matchers
- ListEqualMatcher(XContentBuilder, Settings.Builder, XContentBuilder, Settings.Builder, List<?>, List<?>, boolean) - Constructor for class org.elasticsearch.logsdb.datageneration.matchers.ListEqualMatcher
- ListMatcher - Class in org.elasticsearch.test
-
Matcher for
Lists
that reports all errors at once. - loadBlockExpected() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
How
MappedFieldType.blockLoader(org.elasticsearch.index.mapper.MappedFieldType.BlockLoaderContext)
should load values ornull
if that method isn't supported by field being tested. - loadBlockExpected() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- loadBlockExpected(MapperTestCase.BlockReaderSupport, boolean) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
How
MappedFieldType.blockLoader(org.elasticsearch.index.mapper.MappedFieldType.BlockLoaderContext)
should load values ornull
if that method isn't supported by field being tested. - loadBlockExpected(MapperTestCase.BlockReaderSupport, boolean) - Static method in class org.elasticsearch.index.mapper.TextFieldFamilySyntheticSourceTestSetup
- loaderFieldName() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Returns the value of the
loaderFieldName
record component. - loadJar(Path) - Static method in class org.elasticsearch.test.jar.JarUtils
-
Creates a class loader for the given jar file.
- loadModule(Path, ClassLoader, String) - Static method in class org.elasticsearch.test.jar.JarUtils
- loadServiceProviders(Class<T>) - Method in class org.elasticsearch.plugins.MockPluginsService
- LOCAL_CLUSTER - Static variable in class org.elasticsearch.test.AbstractMultiClustersTestCase
- logClusterState() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Prints the current cluster state as debug logging.
- logger - Variable in class org.elasticsearch.index.store.EsBaseDirectoryTestCase
- logger - Variable in class org.elasticsearch.test.disruption.SingleNodeDisruption
- logger - Variable in class org.elasticsearch.test.ESTestCase
- logger - Variable in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
- logger - Variable in class org.elasticsearch.test.MockLog.AbstractEventExpectation
- logger - Variable in class org.elasticsearch.test.TestCluster
- LoggingListener - Class in org.elasticsearch.test.junit.listeners
-
A
RunListener
that allows changing the log level for a specific test method. - LoggingListener() - Constructor for class org.elasticsearch.test.junit.listeners.LoggingListener
- logIfBlocked(String) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- LONG - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- LONG_ASYNC_COUNTER - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- LONG_COUNTER - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- LONG_GAUGE - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- LONG_HISTOGRAM - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- LONG_UP_DOWN_COUNTER - Enum constant in enum class org.elasticsearch.telemetry.InstrumentType
- longEncode(double, double, int) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
-
Encode longitude and latitude with a given precision as a long hash.
- longField(String) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Make a NumberFieldMapper.NumberFieldType for a
long
. - LongFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- LongFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.LongFieldDataGenerator
- LongGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LongGenerator
-
Creates an instance of a
LongGenerator
record class. - LongGenerator(Supplier<Long>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LongGenerator
-
Creates an instance of a
LongGenerator
record class. - longValue() - Method in class org.elasticsearch.script.ScoreAccessor
- lookup() - Method in record class org.elasticsearch.logsdb.datageneration.Mapping
-
Returns the value of the
lookup
record component. - loopFieldType() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- lowLevelCancellation - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- lowLevelCancellation() - Method in class org.elasticsearch.test.TestSearchContext
M
- makePoint(double, double) - Method in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- makeRandomGeometryCollection() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- makeRandomGeometryCollection() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- makeRandomGeometryCollectionWithoutCircle(Geometry...) - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- makeRandomGeometryCollectionWithoutCircle(Geometry...) - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- makeRandomLine() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- makeRandomLine() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- makeRandomPolygon() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- makeRandomPolygon() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- makeTestChanges(T) - Method in class org.elasticsearch.test.ChunkedToXContentDiffableSerializationTestCase
-
Introduces random changes into the test object
- makeTestChanges(T) - Method in class org.elasticsearch.test.SimpleDiffableSerializationTestCase
-
Introduces random changes into the test object
- makeTestChanges(T) - Method in class org.elasticsearch.test.SimpleDiffableWireSerializationTestCase
-
Introduces random changes into the test object
- MAP_BLOCK_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- MAP_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- MapMatcher - Class in org.elasticsearch.test
-
Matcher for
Maps
that reports all errors at once. - MAPPED_FIELD_NAMES - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- MAPPED_LEAF_FIELD_NAMES - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- mapper() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Returns the value of the
mapper
record component. - mapperMetrics(MapperMetrics) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase.TestMapperServiceBuilder
- MapperScriptTestCase<FactoryType> - Class in org.elasticsearch.index.mapper
- MapperScriptTestCase() - Constructor for class org.elasticsearch.index.mapper.MapperScriptTestCase
- mapperService - Variable in class org.elasticsearch.index.engine.EngineTestCase
- mapperService() - Static method in class org.elasticsearch.test.AbstractBuilderTestCase
- MapperServiceTestCase - Class in org.elasticsearch.index.mapper
-
Test case that lets you easilly build
MapperService
based on some mapping. - MapperServiceTestCase() - Constructor for class org.elasticsearch.index.mapper.MapperServiceTestCase
- MapperServiceTestCase.TestMapperServiceBuilder - Class in org.elasticsearch.index.mapper
- MapperTestCase - Class in org.elasticsearch.index.mapper
-
Base class for testing
Mapper
s. - MapperTestCase() - Constructor for class org.elasticsearch.index.mapper.MapperTestCase
- MapperTestCase.BlockReaderSupport - Record Class in org.elasticsearch.index.mapper
-
This record encapsulates the test configuration for testing block loaders (used in ES|QL).
- MapperTestCase.ExampleMalformedValue - Class in org.elasticsearch.index.mapper
-
An example of a malformed value.
- MapperTestCase.IngestScriptSupport - Class in org.elasticsearch.index.mapper
- MapperTestCase.ParameterChecker - Class in org.elasticsearch.index.mapper
- MapperTestCase.SyntheticSourceExample - Record Class in org.elasticsearch.index.mapper
- MapperTestCase.SyntheticSourceInvalidExample - Record Class in org.elasticsearch.index.mapper
- MapperTestCase.SyntheticSourceSupport - Interface in org.elasticsearch.index.mapper
- MapperTestUtils - Class in org.elasticsearch.index
- MapperTestUtils() - Constructor for class org.elasticsearch.index.MapperTestUtils
- mapping() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Returns the value of the
mapping
record component. - mapping() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceInvalidExample
-
Returns the value of the
mapping
record component. - mapping() - Method in interface org.elasticsearch.logsdb.datageneration.fields.PredefinedField
- mapping() - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Returns the value of the
mapping
record component. - mapping(CheckedConsumer<XContentBuilder, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- mapping(CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.index.mapper.MapperTestCase.ExampleMalformedValue
-
Set the mapping used for this value.
- Mapping - Record Class in org.elasticsearch.logsdb.datageneration
-
Contains generated mapping and supporting data.
- Mapping(Map<String, Object>, Map<String, Map<String, Object>>) - Constructor for record class org.elasticsearch.logsdb.datageneration.Mapping
-
Creates an instance of a
Mapping
record class. - mappingGenerator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LeafMappingParametersGenerator
-
Returns the value of the
mappingGenerator
record component. - mappingGenerator() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectMappingParametersGenerator
-
Returns the value of the
mappingGenerator
record component. - MappingGenerator - Class in org.elasticsearch.logsdb.datageneration
-
Generator that generates a valid random mapping that follows the structure of provided
Template
. - MappingGenerator(DataGeneratorSpecification) - Constructor for class org.elasticsearch.logsdb.datageneration.MappingGenerator
- mappingLookup() - Static method in class org.elasticsearch.index.engine.EngineTestCase
- mappingNoSubobjects(CheckedConsumer<XContentBuilder, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- mappings(XContentBuilder, XContentBuilder) - Static method in class org.elasticsearch.logsdb.datageneration.matchers.Matcher
- mappings(XContentBuilder, XContentBuilder) - Method in interface org.elasticsearch.logsdb.datageneration.matchers.Matcher.MappingsStep
- mappingWithSubobjects(CheckedConsumer<XContentBuilder, IOException>, String) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- mapStreamFrom(Path) - Static method in class org.elasticsearch.common.logging.JsonLogsStream
- mark(int) - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
- markSupported() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
- MASTER_DATA_ROLES - Static variable in class org.elasticsearch.cluster.ESAllocationTestCase
- masterClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a node client to the current master node.
- masterNode() - Static method in class org.elasticsearch.test.NodeRoles
- masterNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- MasterNodeRequestHelper - Class in org.elasticsearch.action.support.master
- MasterNodeRequestHelper() - Constructor for class org.elasticsearch.action.support.master.MasterNodeRequestHelper
- masterOnlyNode() - Static method in class org.elasticsearch.test.NodeRoles
- masterOnlyNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- match() - Method in class org.elasticsearch.logsdb.datageneration.matchers.GenericEqualsMatcher
- match() - Method in class org.elasticsearch.logsdb.datageneration.matchers.ListEqualMatcher
- match() - Static method in class org.elasticsearch.logsdb.datageneration.matchers.MatchResult
- match() - Method in class org.elasticsearch.logsdb.datageneration.matchers.ObjectMatcher
- match() - Method in class org.elasticsearch.logsdb.datageneration.matchers.source.SourceMatcher
- match(LogEvent) - Method in class org.elasticsearch.test.MockLog.AbstractEventExpectation
- match(LogEvent) - Method in interface org.elasticsearch.test.MockLog.LoggingExpectation
-
Called on every
LogEvent
received by the captured appenders. - match(LogEvent) - Method in class org.elasticsearch.test.MockLog.PatternSeenEventExpectation
- matchAllPattern() - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- Matcher - Class in org.elasticsearch.logsdb.datageneration.matchers
-
A base class to be used for the matching logic when comparing query results.
- Matcher() - Constructor for class org.elasticsearch.logsdb.datageneration.matchers.Matcher
- Matcher.CompareStep<T> - Interface in org.elasticsearch.logsdb.datageneration.matchers
- Matcher.ExpectedStep<T> - Interface in org.elasticsearch.logsdb.datageneration.matchers
- Matcher.MappingsStep<T> - Interface in org.elasticsearch.logsdb.datageneration.matchers
- Matcher.SettingsStep<T> - Interface in org.elasticsearch.logsdb.datageneration.matchers
- matches(Object) - Method in class org.elasticsearch.test.NeverMatcher
- matchesList() - Static method in class org.elasticsearch.test.ListMatcher
-
Create a ListMatcher that matches empty lists.
- matchesList(List<?>) - Static method in class org.elasticsearch.test.ListMatcher
-
Create a ListMatcher that matches a list.
- matchesMap() - Static method in class org.elasticsearch.test.MapMatcher
-
Create a MapMatcher that matches empty
Map
s. - matchesMap(Map<?, ?>) - Static method in class org.elasticsearch.test.MapMatcher
-
Create a MapMatcher that matches a
Map
. - matchesRequest(HttpExchange) - Method in class org.elasticsearch.http.ResponseInjectingHttpHandler.FixedRequestHandler
- matchesRequest(HttpExchange) - Method in interface org.elasticsearch.http.ResponseInjectingHttpHandler.RequestHandler
- matchesSafely(List<?>) - Method in class org.elasticsearch.test.ListMatcher
- matchesSafely(Map<?, ?>) - Method in class org.elasticsearch.test.MapMatcher
- matchesSafely(BytesRef) - Method in class org.elasticsearch.test.hamcrest.WellKnownBinaryBytesRefMatcher
- matchesSafely(ByteSizeValue) - Method in class org.elasticsearch.test.ByteSizeEqualsMatcher
- matchesSafely(Rectangle) - Method in class org.elasticsearch.test.hamcrest.RectangleMatcher
- MatchingDirectoryReader(DirectoryReader, Query) - Constructor for class org.elasticsearch.index.engine.EngineTestCase.MatchingDirectoryReader
- MatchResult - Class in org.elasticsearch.logsdb.datageneration.matchers
- matchSource() - Static method in class org.elasticsearch.logsdb.datageneration.matchers.Matcher
- maxBuckets() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
maxBuckets
record component. - maxCompatibleVersion(Version) - Static method in class org.elasticsearch.test.VersionUtils
-
Returns the maximum
Version
that is compatible with the given version. - maxFieldCountPerLevel() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns the value of the
maxFieldCountPerLevel
record component. - maximumNumberOfReplicas() - Method in class org.elasticsearch.test.ESIntegTestCase
- maximumNumberOfShards() - Method in class org.elasticsearch.test.ESIntegTestCase
- maxNumberOfBuckets() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- maxNumberOfBuckets() - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- maxNumDataNodes() - Element in annotation interface org.elasticsearch.test.ESIntegTestCase.ClusterScope
-
Returns the maximum number of data nodes in the cluster.
- maxObjectDepth() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns the value of the
maxObjectDepth
record component. - maxValue - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- maxValues - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- maybeInitWithOldSnapshotVersion(String, Path) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
-
Randomly write an empty snapshot of an older version to an empty repository to simulate an older repository metadata format.
- maybeRestoreClassSecurityManager() - Static method in class org.elasticsearch.test.ESTestCase
- maybeSet(Consumer<T>, T) - Static method in class org.elasticsearch.test.ESTestCase
-
helper to randomly perform on
consumer
withvalue
- maybeStashClassSecurityManager() - Static method in class org.elasticsearch.test.ESTestCase
- maybeThrow(ThrowingLeafReaderWrapper.Flags) - Method in interface org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Thrower
-
Maybe throws an exception ;)
- maybeTrack(String, Headers) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.HttpStatsCollectorHandler
-
Tracks the given request if it matches the criteria.
- maybeWrapReaderEs(DirectoryReader) - Static method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Added to randomly run with more assertions on the index reader level, like
LuceneTestCase.wrapReader(IndexReader)
, which can't be used because it also wraps in the IndexReader with other implementations that we can't handle. - Measurement - Record Class in org.elasticsearch.telemetry
-
A single measurement from an
Instrument
. - Measurement(Number, Map<String, Object>, boolean) - Constructor for record class org.elasticsearch.telemetry.Measurement
-
Creates an instance of a
Measurement
record class. - merge(MockSecureSettings) - Method in class org.elasticsearch.common.settings.MockSecureSettings
-
Merge the given secure settings into this one.
- merge(MapperService, String) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Merge a new mapping into the one in the provided
MapperService
. - merge(MapperService, MapperService.MergeReason, String) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- merge(MapperService, MapperService.MergeReason, XContentBuilder) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Merge a new mapping into the one in the provided
MapperService
with a specificMergeReason
- merge(MapperService, XContentBuilder) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Merge a new mapping into the one in the provided
MapperService
. - MERGE_ENABLED - Static variable in class org.elasticsearch.test.InternalSettingsPlugin
- message - Variable in class org.elasticsearch.test.MockLog.AbstractEventExpectation
- message - Variable in class org.elasticsearch.transport.TestOutboundRequestMessage
- messageReceived(TransportRequestHandler<Request>, Request, TransportChannel, Task) - Method in interface org.elasticsearch.test.transport.StubbableTransport.RequestHandlingBehavior
- Messages - Class in org.elasticsearch.logsdb.datageneration.matchers
- Messages() - Constructor for class org.elasticsearch.logsdb.datageneration.matchers.Messages
- MetadataMapperTestCase - Class in org.elasticsearch.index.mapper
- MetadataMapperTestCase() - Constructor for class org.elasticsearch.index.mapper.MetadataMapperTestCase
- MetadataMapperTestCase.ParameterChecker - Class in org.elasticsearch.index.mapper
- metaMapping(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- MetaStateWriterUtils - Class in org.elasticsearch.gateway
-
Maintains the method of writing cluster states to disk for versions prior to
Version.V_7_6_0
, preserved to test the classes that read this state during an upgrade from these older versions. - meter - Variable in class org.elasticsearch.telemetry.TestTelemetryPlugin
- method() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- MetricRecorder<I> - Class in org.elasticsearch.telemetry
-
Container for registered Instruments (either
Instrument
or Otel's versions). - MetricRecorder() - Constructor for class org.elasticsearch.telemetry.MetricRecorder
- MIN_PRIVATE_PORT - Static variable in class org.elasticsearch.test.ESTestCase
-
Defines the minimum port that test workers should use.
- MIN_VALID_AREA - Static variable in class org.elasticsearch.geo.ShapeTestUtils
- minimalIsInvalidRoutingPathErrorMessage(Mapper) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- minimalMapping(XContentBuilder) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- minimalMapping(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- minimalMapping(XContentBuilder, IndexVersion) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Provides a way for subclasses to define minimal mappings for previous index versions
- minimalStoreMapping(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- minimumIndexVersion() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns the minimum index version among all nodes of the cluster
- minimumNumberOfReplicas() - Method in class org.elasticsearch.test.ESIntegTestCase
- minimumNumberOfShards() - Method in class org.elasticsearch.test.ESIntegTestCase
- minimumScore() - Method in class org.elasticsearch.test.TestSearchContext
- minimumScore(float) - Method in class org.elasticsearch.test.TestSearchContext
- minimumTransportVersion() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns the minimum transport version among all nodes of the cluster
- minNumberOfBuckets() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- minNumberOfBuckets() - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- minNumDataNodes() - Element in annotation interface org.elasticsearch.test.ESIntegTestCase.ClusterScope
-
Returns the minimum number of data nodes in the cluster.
- minValue - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- minValues - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- missingValue() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- MOCK_CONTEXT - Static variable in class org.elasticsearch.index.mapper.FieldTypeTestCase
- MOCK_CONTEXT_DISALLOW_EXPENSIVE - Static variable in class org.elasticsearch.index.mapper.FieldTypeTestCase
- MockAllocationService(AllocationDeciders, GatewayAllocator, ShardsAllocator, ClusterInfoService, SnapshotsInfoService) - Constructor for class org.elasticsearch.cluster.ESAllocationTestCase.MockAllocationService
- MockBigArrays - Class in org.elasticsearch.common.util
- MockBigArrays(PageCacheRecycler, ByteSizeValue) - Constructor for class org.elasticsearch.common.util.MockBigArrays
-
Create BigArrays with a configured limit.
- MockBigArrays(PageCacheRecycler, CircuitBreakerService) - Constructor for class org.elasticsearch.common.util.MockBigArrays
-
Create BigArrays with a provided breaker service.
- MockBigArrays(PageCacheRecycler, CircuitBreakerService, boolean) - Constructor for class org.elasticsearch.common.util.MockBigArrays
-
Create BigArrays with a provided breaker service.
- MockBigArrays.LimitedBreaker - Class in org.elasticsearch.common.util
- MockBlobStore(BlobStore) - Constructor for class org.elasticsearch.snapshots.mockstore.MockRepository.MockBlobStore
- mockBuilder(List<? extends InternalAggregation>) - Method in class org.elasticsearch.test.InternalAggregationTestCase
- mockClusterService() - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
-
Creates a mocked
ClusterService
for use inBlobStoreRepository
related tests that mocks out all the necessary functionality to makeBlobStoreRepository
work. - mockClusterService(RepositoryMetadata) - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
-
Creates a mocked
ClusterService
for use inBlobStoreRepository
related tests that mocks out all the necessary functionality to makeBlobStoreRepository
work. - MockCompiledScript(String, Map<String, String>, String, Function<Map<String, Object>, Object>) - Constructor for class org.elasticsearch.script.MockScriptEngine.MockCompiledScript
- mockContext() - Static method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- mockContext(boolean) - Static method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- mockContext(boolean, MappedFieldType) - Static method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- mockContext(boolean, MappedFieldType, SourceProvider) - Static method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- MockContext(Random, boolean, Class<? extends FilterDirectoryReader>, Settings) - Constructor for class org.elasticsearch.test.engine.MockEngineSupport.MockContext
- MockDeterministicScript - Class in org.elasticsearch.script
-
A mocked script used for testing purposes.
- MockDeterministicScript() - Constructor for class org.elasticsearch.script.MockDeterministicScript
- MockEngineFactory - Class in org.elasticsearch.test.engine
- MockEngineFactory(Class<? extends FilterDirectoryReader>) - Constructor for class org.elasticsearch.test.engine.MockEngineFactory
- MockEngineFactoryPlugin - Class in org.elasticsearch.index
-
A plugin to use
MockEngineFactory
. - MockEngineFactoryPlugin() - Constructor for class org.elasticsearch.index.MockEngineFactoryPlugin
- MockEngineSupport - Class in org.elasticsearch.test.engine
-
Support class to build MockEngines like
MockInternalEngine
since they need to subclass the actual engine - MockEngineSupport(EngineConfig, Class<? extends FilterDirectoryReader>) - Constructor for class org.elasticsearch.test.engine.MockEngineSupport
- MockEngineSupport.DirectoryReaderWrapper - Class in org.elasticsearch.test.engine
- MockEngineSupport.MockContext - Class in org.elasticsearch.test.engine
- mockFielddataContext() - Static method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- MockFieldFilterPlugin - Class in org.elasticsearch.index.mapper
- MockFieldFilterPlugin() - Constructor for class org.elasticsearch.index.mapper.MockFieldFilterPlugin
- MockFieldMapper - Class in org.elasticsearch.index.mapper
- MockFieldMapper(String) - Constructor for class org.elasticsearch.index.mapper.MockFieldMapper
- MockFieldMapper(String, MappedFieldType, FieldMapper.BuilderParams) - Constructor for class org.elasticsearch.index.mapper.MockFieldMapper
- MockFieldMapper(MappedFieldType) - Constructor for class org.elasticsearch.index.mapper.MockFieldMapper
- MockFieldMapper(MappedFieldType, String) - Constructor for class org.elasticsearch.index.mapper.MockFieldMapper
- MockFieldMapper.Builder - Class in org.elasticsearch.index.mapper
- MockFieldMapper.FakeFieldType - Class in org.elasticsearch.index.mapper
- MockFilterScript(SearchLookup, Map<String, Object>, Function<Map<String, Object>, Object>) - Constructor for class org.elasticsearch.script.MockScriptEngine.MockFilterScript
- MockFSDirectoryFactory - Class in org.elasticsearch.test.store
- MockFSDirectoryFactory() - Constructor for class org.elasticsearch.test.store.MockFSDirectoryFactory
- MockFSDirectoryFactory.ElasticsearchMockDirectoryWrapper - Class in org.elasticsearch.test.store
- MockFSIndexStore - Class in org.elasticsearch.test.store
- MockFSIndexStore() - Constructor for class org.elasticsearch.test.store.MockFSIndexStore
- MockFSIndexStore.TestPlugin - Class in org.elasticsearch.test.store
- MockGatewayMetaState - Class in org.elasticsearch.gateway
-
GatewayMetaState
constructor accepts a lot of arguments. - MockGatewayMetaState(DiscoveryNode) - Constructor for class org.elasticsearch.gateway.MockGatewayMetaState
- MockHttpTransport - Class in org.elasticsearch.test
-
A dummy http transport used by tests when not wanting to actually bind to a real address.
- MockHttpTransport() - Constructor for class org.elasticsearch.test.MockHttpTransport
- MockHttpTransport.TestPlugin - Class in org.elasticsearch.test
-
Marker plugin used by
MockNode
to enableMockHttpTransport
. - MockIndexEventListener - Class in org.elasticsearch.test
-
This is a testing plugin that registers a generic
MockIndexEventListener.TestEventListener
as a node level service as well as a listener on every index. - MockIndexEventListener() - Constructor for class org.elasticsearch.test.MockIndexEventListener
- MockIndexEventListener.TestEventListener - Class in org.elasticsearch.test
- MockIndexEventListener.TestPlugin - Class in org.elasticsearch.test
- MockIndexService(IndexSettings) - Constructor for class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- MockIndexShard(ShardRouting, long) - Constructor for class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- MockIndicesService() - Constructor for class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- mockIndicesServices(MappingLookup) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- mockInlineScript(String) - Static method in class org.elasticsearch.script.MockScriptEngine
- MockInternalClusterInfoService - Class in org.elasticsearch.cluster
- MockInternalClusterInfoService(Settings, ClusterService, ThreadPool, NodeClient) - Constructor for class org.elasticsearch.cluster.MockInternalClusterInfoService
- MockInternalClusterInfoService.TestPlugin - Class in org.elasticsearch.cluster
-
This is a marker plugin used to trigger MockNode to use this mock info service.
- MockKeywordPlugin - Class in org.elasticsearch.test
-
Some tests rely on the keyword tokenizer, but this tokenizer isn't part of lucene-core and therefor not available in some modules.
- MockKeywordPlugin() - Constructor for class org.elasticsearch.test.MockKeywordPlugin
- MockLog - Class in org.elasticsearch.test
-
Test appender that can be used to verify that certain events were logged correctly
- MockLog.AbstractEventExpectation - Class in org.elasticsearch.test
- MockLog.EventuallySeenEventExpectation - Class in org.elasticsearch.test
- MockLog.ExceptionSeenEventExpectation - Class in org.elasticsearch.test
- MockLog.LoggingExpectation - Interface in org.elasticsearch.test
-
Keeps track of whether the
LogEvent
instances it receives match the expected content. - MockLog.PatternSeenEventExpectation - Class in org.elasticsearch.test
- MockLog.SeenEventExpectation - Class in org.elasticsearch.test
- MockLog.UnseenEventExpectation - Class in org.elasticsearch.test
- MockNode - Class in org.elasticsearch.node
-
A node for testing which allows: Overriding Version.CURRENT Adding test plugins that exist on the classpath Swapping in various mock services
- MockNode(Settings, Collection<Class<? extends Plugin>>) - Constructor for class org.elasticsearch.node.MockNode
- MockNode(Settings, Collection<Class<? extends Plugin>>, boolean) - Constructor for class org.elasticsearch.node.MockNode
- MockNode(Settings, Collection<Class<? extends Plugin>>, Path, boolean) - Constructor for class org.elasticsearch.node.MockNode
- MockPageCacheRecycler - Class in org.elasticsearch.common.util
- MockPageCacheRecycler(Settings) - Constructor for class org.elasticsearch.common.util.MockPageCacheRecycler
- MockPluginsService - Class in org.elasticsearch.plugins
- MockPluginsService(Settings, Environment, Collection<Class<? extends Plugin>>) - Constructor for class org.elasticsearch.plugins.MockPluginsService
-
Constructs a new PluginService
- MockQueryRewriteInterceptor - Class in org.elasticsearch.plugins.internal.rewriter
- MockQueryRewriteInterceptor() - Constructor for class org.elasticsearch.plugins.internal.rewriter.MockQueryRewriteInterceptor
- MockReadinessService - Class in org.elasticsearch.readiness
- MockReadinessService(ClusterService, Environment) - Constructor for class org.elasticsearch.readiness.MockReadinessService
- MockReadinessService.TestPlugin - Class in org.elasticsearch.readiness
-
Marker plugin used by
MockNode
to enableMockReadinessService
. - mockReduceContext(AggregationBuilder) - Static method in class org.elasticsearch.test.InternalAggregationTestCase
-
Builds an
AggregationReduceContext
to reduce the provided aggregation. - MockRepository - Class in org.elasticsearch.snapshots.mockstore
- MockRepository(RepositoryMetadata, Environment, NamedXContentRegistry, ClusterService, BigArrays, RecoverySettings) - Constructor for class org.elasticsearch.snapshots.mockstore.MockRepository
- MockRepository.MockBlobStore - Class in org.elasticsearch.snapshots.mockstore
- MockRepository.Plugin - Class in org.elasticsearch.snapshots.mockstore
- MockResolvedIndices - Class in org.elasticsearch.action
- MockResolvedIndices(Map<String, OriginalIndices>, OriginalIndices, Map<Index, IndexMetadata>) - Constructor for class org.elasticsearch.action.MockResolvedIndices
- MockResolvedIndices(Map<String, OriginalIndices>, OriginalIndices, Map<Index, IndexMetadata>, SearchContextId) - Constructor for class org.elasticsearch.action.MockResolvedIndices
- MockScoreScript(MockDeterministicScript) - Constructor for class org.elasticsearch.script.MockScriptEngine.MockScoreScript
- mockScript(String) - Static method in class org.elasticsearch.test.ESTestCase
-
Create a "mock" script for use either with
MockScriptEngine
or anywhere where you need a script but don't really care about its contents. - MockScriptEngine - Class in org.elasticsearch.script
-
A mocked script engine that can be used for testing purpose.
- MockScriptEngine() - Constructor for class org.elasticsearch.script.MockScriptEngine
- MockScriptEngine(String, Map<String, Function<Map<String, Object>, Object>>, Map<String, Function<Map<String, Object>, Object>>, Map<ScriptContext<?>, MockScriptEngine.ContextCompiler>) - Constructor for class org.elasticsearch.script.MockScriptEngine
- MockScriptEngine(String, Map<String, Function<Map<String, Object>, Object>>, Map<ScriptContext<?>, MockScriptEngine.ContextCompiler>) - Constructor for class org.elasticsearch.script.MockScriptEngine
- MockScriptEngine.ContextCompiler - Interface in org.elasticsearch.script
-
A non-typed compiler for a single custom context
- MockScriptEngine.MockCompiledScript - Class in org.elasticsearch.script
- MockScriptEngine.MockFilterScript - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggCombineScript - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggCombineScriptFactory - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggInitScript - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggInitScriptFactory - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggMapScript - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggMapScriptFactory - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggReduceScript - Class in org.elasticsearch.script
- MockScriptEngine.MockMetricAggReduceScriptFactory - Class in org.elasticsearch.script
- MockScriptEngine.MockScoreScript - Class in org.elasticsearch.script
- MockScriptEngine.MockSimilarityScript - Class in org.elasticsearch.script
- MockScriptEngine.MockSimilarityWeightScript - Class in org.elasticsearch.script
- MockScriptPlugin - Class in org.elasticsearch.script
-
A script plugin that uses
MockScriptEngine
as the script engine for tests. - MockScriptPlugin() - Constructor for class org.elasticsearch.script.MockScriptPlugin
- mockScriptService() - Method in class org.elasticsearch.test.InternalAggregationTestCase
-
overwrite in tests that need it
- MockScriptService - Class in org.elasticsearch.script
- MockScriptService(Settings, Map<String, ScriptEngine>, Map<String, ScriptContext<?>>) - Constructor for class org.elasticsearch.script.MockScriptService
- MockScriptService.TestPlugin - Class in org.elasticsearch.script
-
Marker plugin used by
MockNode
to enableMockScriptService
. - MockSearchService - Class in org.elasticsearch.search
- MockSearchService(ClusterService, IndicesService, ThreadPool, ScriptService, BigArrays, FetchPhase, CircuitBreakerService, ExecutorSelector, Tracer) - Constructor for class org.elasticsearch.search.MockSearchService
- MockSearchService.TestPlugin - Class in org.elasticsearch.search
-
Marker plugin used by
MockNode
to enableMockSearchService
. - MockSecureSettings - Class in org.elasticsearch.common.settings
-
A mock implementation of secure settings for tests to use.
- MockSecureSettings() - Constructor for class org.elasticsearch.common.settings.MockSecureSettings
- MockTaskManager - Class in org.elasticsearch.test.tasks
-
A mock task manager that allows adding listeners for events
- MockTaskManager(Settings, ThreadPool, Set<String>) - Constructor for class org.elasticsearch.test.tasks.MockTaskManager
- MockTaskManagerListener - Interface in org.elasticsearch.test.tasks
-
Listener for task registration/unregistration
- MockTerminal - Class in org.elasticsearch.cli
-
A terminal for tests which captures all output, and can be plugged with fake input.
- MockTransport - Class in org.elasticsearch.test.transport
-
A basic transport implementation that allows to intercept requests that have been sent
- MockTransport() - Constructor for class org.elasticsearch.test.transport.MockTransport
- MockTransportService - Class in org.elasticsearch.test.transport
-
A mock delegate service that allows to simulate different network topology failures.
- MockTransportService(Settings, Transport, ThreadPool, TransportInterceptor, Function<BoundTransportAddress, DiscoveryNode>, ClusterSettings) - Constructor for class org.elasticsearch.test.transport.MockTransportService
- MockTransportService(Settings, Transport, ThreadPool, TransportInterceptor, Function<BoundTransportAddress, DiscoveryNode>, ClusterSettings, Set<String>) - Constructor for class org.elasticsearch.test.transport.MockTransportService
-
Build the service.
- MockTransportService(Settings, Transport, ThreadPool, TransportInterceptor, ClusterSettings) - Constructor for class org.elasticsearch.test.transport.MockTransportService
-
Build the service.
- MockTransportService.TestPlugin - Class in org.elasticsearch.test.transport
- MockUtils - Class in org.elasticsearch.test
-
Utilities for setting up Mockito mocks.
- MockUtils() - Constructor for class org.elasticsearch.test.MockUtils
- ModuleDescriptorMatchers - Class in org.elasticsearch.test.hamcrest
- ModuleTestCase - Class in org.elasticsearch.injection.guice
-
Base testcase for testing
Module
implementations. - ModuleTestCase() - Constructor for class org.elasticsearch.injection.guice.ModuleTestCase
- moveToStarted(ShardRouting) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- moveToStarted(ShardRouting, long) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- moveToUnassigned(ShardRouting, UnassignedInfo) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- MULTI_VALUED_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- multiBottomRight - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- multiCentroid - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- multipleValuesScript() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- multiTopLeft - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- multiValues - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- mustReduceOnSingleInternalAgg() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase.InternalAggCardinalityUpperBound
- mutate(T) - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- mutate(T) - Method in interface org.elasticsearch.test.EqualsHashCodeTestUtils.MutateFunction
- mutateBuild(Build) - Static method in class org.elasticsearch.test.BuildUtils
-
Creates a random mutation of the given Build instance.
- mutateInstance(QB) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- mutateInstance(T) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- mutateInstance(T) - Method in class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- mutateInstance(T) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Returns an instance which is mutated slightly so it should not be equal to the given instance.
- mutateInstanceForVersion(T, TransportVersion) - Method in class org.elasticsearch.test.AbstractBWCSerializationTestCase
-
Returns the expected instance if serialized from the given version.
- MyFilterTokenFilterFactory - Class in org.elasticsearch.index.analysis
- MyFilterTokenFilterFactory(IndexSettings, Environment, String, Settings) - Constructor for class org.elasticsearch.index.analysis.MyFilterTokenFilterFactory
N
- name - Variable in class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
- name - Variable in class org.elasticsearch.test.MockLog.AbstractEventExpectation
- name() - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase.TestFileStore
- name() - Method in interface org.elasticsearch.logsdb.datageneration.fields.PredefinedField
- name() - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Returns the value of the
name
record component. - name() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Leaf
-
Returns the value of the
name
record component. - name() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Object
-
Returns the value of the
name
record component. - name(String) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- NAME - Static variable in class org.elasticsearch.script.MockScriptEngine
- NAME - Static variable in class org.elasticsearch.script.MockScriptPlugin
- NAME - Static variable in class org.elasticsearch.search.DummyQueryBuilder
- NAME - Static variable in class org.elasticsearch.search.FailBeforeCurrentVersionQueryBuilder
- NAME - Static variable in class org.elasticsearch.search.rank.TestRankBuilder
- NAME - Static variable in class org.elasticsearch.search.retriever.TestCompoundRetrieverBuilder
- NAME - Static variable in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- NamedFormatter - Class in org.elasticsearch.common.util
-
A formatter that allows named placeholders e.g.
- namedWriteableRegistry() - Method in class org.elasticsearch.test.AbstractBuilderTestCase
- nested() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Object
-
Returns the value of the
nested
record component. - nestedFieldsLimit() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns the value of the
nestedFieldsLimit
record component. - NettyGlobalThreadsFilter - Class in org.elasticsearch.test
-
Excludes threads started by
GlobalEventExecutor
which are static per-JVM and reused across test suits. - NettyGlobalThreadsFilter() - Constructor for class org.elasticsearch.test.NettyGlobalThreadsFilter
- Network - Annotation Interface in org.elasticsearch.test.junit.annotations
-
Annotation used to set if internet network connectivity is required to run the test.
- NetworkDelay(TimeValue) - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
-
Delays requests by a fixed time value.
- NetworkDisruption - Class in org.elasticsearch.test.disruption
-
Network disruptions are modeled using two components: 1) the
NetworkDisruption.DisruptedLinks
represents the links in the network that are to be disrupted 2) theNetworkDisruption.NetworkLinkDisruptionType
represents the failure mode that is to be applied to the links - NetworkDisruption(NetworkDisruption.DisruptedLinks, NetworkDisruption.NetworkLinkDisruptionType) - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption
- NetworkDisruption.Bridge - Class in org.elasticsearch.test.disruption
-
Creates two partitions with symmetric failures and a bridge node that can connect to both of the partitions
- NetworkDisruption.DisruptedLinks - Class in org.elasticsearch.test.disruption
-
Represents a set of nodes with connections between nodes that are to be disrupted
- NetworkDisruption.IsolateAllNodes - Class in org.elasticsearch.test.disruption
- NetworkDisruption.NetworkDelay - Class in org.elasticsearch.test.disruption
-
Simulates slow or congested network.
- NetworkDisruption.NetworkLinkDisruptionType - Class in org.elasticsearch.test.disruption
-
Abstract class representing various types of network disruptions.
- NetworkDisruption.TwoPartitions - Class in org.elasticsearch.test.disruption
-
Creates two partitions with symmetric failures
- NetworkLinkDisruptionType() - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption.NetworkLinkDisruptionType
- networkService - Static variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- never() - Static method in class org.elasticsearch.test.NeverMatcher
- NeverMatcher<T> - Class in org.elasticsearch.test
- newAnalysisSettingsBuilder() - Method in class org.elasticsearch.test.ESTokenStreamTestCase
- newBlobStore() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- newBlobStore(String) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- newBuild(Build, Map<String, Object>) - Static method in class org.elasticsearch.test.BuildUtils
-
Creates a new Build instance, using and existing build instance as a template.
- newByteArray(long, boolean) - Method in class org.elasticsearch.common.util.MockBigArrays
- newBytesReference(byte[]) - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- newBytesReference(byte[]) - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- newBytesReference(int) - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- newBytesReference(int) - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- newBytesReferenceWithOffsetOfZero(int) - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- newBytesReferenceWithOffsetOfZero(int) - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- newCodecService() - Static method in class org.elasticsearch.index.engine.EngineTestCase
- newCommand() - Method in class org.elasticsearch.cli.CommandTestCase
-
Creates a Command to test execution.
- newDirectory(IndexSettings, ShardPath) - Method in class org.elasticsearch.test.store.MockFSDirectoryFactory
- newDoubleArray(long, boolean) - Method in class org.elasticsearch.common.util.MockBigArrays
- newEnvironment() - Method in class org.elasticsearch.test.ESTestCase
- newEnvironment(Settings) - Static method in class org.elasticsearch.env.TestEnvironment
- newEnvironment(Settings) - Method in class org.elasticsearch.test.ESTestCase
- newFactory(Map<String, Object>, Map<String, Object>, SearchLookup) - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggMapScriptFactory
- newFactory(Map<String, Object>, SearchLookup) - Method in class org.elasticsearch.script.MockScriptEngine.MockScoreScript
- newFakeTcpTransportChannel(String, TcpChannel, ThreadPool, String, long, TransportVersion) - Static method in class org.elasticsearch.transport.TestTransportChannels
- newFloatArray(long, boolean) - Method in class org.elasticsearch.common.util.MockBigArrays
- newGet(boolean, ParsedDocument) - Method in class org.elasticsearch.index.engine.EngineTestCase
- newIdLoader() - Method in class org.elasticsearch.test.TestSearchContext
- newIndexSettings(String, Settings, Setting<?>...) - Static method in class org.elasticsearch.test.IndexSettingsModule
- newIndexSettings(IndexMetadata, Setting<?>...) - Static method in class org.elasticsearch.test.IndexSettingsModule
- newIndexSettings(Index, Settings, IndexScopedSettings) - Static method in class org.elasticsearch.test.IndexSettingsModule
- newIndexSettings(Index, Settings, Setting<?>...) - Static method in class org.elasticsearch.test.IndexSettingsModule
- newIndexSettings(Index, Settings, Settings, Setting<?>...) - Static method in class org.elasticsearch.test.IndexSettingsModule
- newInstance() - Static method in class org.elasticsearch.indices.TestIndexNameExpressionResolver
- newInstance(String[]) - Static method in class org.elasticsearch.common.logging.TestThreadInfoPatternConverter
-
Called by log4j2 to initialize this converter.
- newInstance(String, List<Index>) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(String, List<Index>, long, Map<String, Object>) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(String, List<Index>, long, Map<String, Object>, boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(String, List<Index>, long, Map<String, Object>, boolean, DataStreamLifecycle) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(String, List<Index>, long, Map<String, Object>, boolean, DataStreamLifecycle, List<Index>) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(String, List<Index>, long, Map<String, Object>, boolean, DataStreamLifecycle, List<Index>, DataStreamOptions) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(String, List<Index>, long, Map<String, Object>, boolean, DataStreamLifecycle, DataStreamAutoShardingEvent) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(String, List<Index>, List<Index>) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- newInstance(Map<String, Object>) - Method in class org.elasticsearch.ingest.TestTemplateService.MockTemplateScript.Factory
- newInstance(Map<String, Object>, List<Object>) - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggReduceScriptFactory
- newInstance(Map<String, Object>, Map<String, Object>) - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggCombineScriptFactory
- newInstance(Map<String, Object>, Map<String, Object>) - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggInitScriptFactory
- newInstance(LeafReaderContext) - Method in class org.elasticsearch.script.MockScriptEngine.MockMetricAggMapScript
- newInstance(ThreadContext) - Static method in class org.elasticsearch.indices.TestIndexNameExpressionResolver
- newInstance(SystemIndices) - Static method in class org.elasticsearch.indices.TestIndexNameExpressionResolver
- newInstance(DocReader) - Method in class org.elasticsearch.script.MockScriptEngine.MockFilterScript
- newIntArray(long, boolean) - Method in class org.elasticsearch.common.util.MockBigArrays
- newLimitedBreaker(ByteSizeValue) - Static method in class org.elasticsearch.test.ESTestCase
- newLongArray(long, boolean) - Method in class org.elasticsearch.common.util.MockBigArrays
- newMapperService(List<MapperPlugin>, NamedXContentRegistry, Path, Settings, String) - Static method in class org.elasticsearch.index.MapperTestUtils
- newMapperService(NamedXContentRegistry, Path, Settings, String) - Static method in class org.elasticsearch.index.MapperTestUtils
- newMapperService(NamedXContentRegistry, Path, Settings, IndicesModule, String) - Static method in class org.elasticsearch.index.MapperTestUtils
- newMockTransport(Settings, TransportVersion, ThreadPool) - Static method in class org.elasticsearch.test.transport.MockTransportService
- newMockTransport(Settings, TransportVersion, ThreadPool, NamedWriteableRegistry) - Static method in class org.elasticsearch.test.transport.MockTransportService
- newNetworkBytesStream() - Method in class org.elasticsearch.test.transport.StubbableTransport
- newNode(String) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- newNode(String, String, Map<String, String>) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- newNode(String, String, Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- newNode(String, Map<String, String>) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- newNode(String, Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- newNode(String, Version) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- newNode(String, Version, IndexVersion) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- newNodeEnvironment() - Method in class org.elasticsearch.test.ESTestCase
- newNodeEnvironment(Settings) - Method in class org.elasticsearch.test.ESTestCase
- newObjectArray(long) - Method in class org.elasticsearch.common.util.MockBigArrays
- newPutStoredScriptTestRequest(String, String) - Static method in class org.elasticsearch.action.admin.cluster.storedscripts.StoredScriptIntegTestUtils
- newPutStoredScriptTestRequest(String, BytesReference) - Static method in class org.elasticsearch.action.admin.cluster.storedscripts.StoredScriptIntegTestUtils
- newRandomIndexWriterWithLogDocMergePolicy(Directory) - Static method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Create a RandomIndexWriter that uses the LogDocMergePolicy.
- newReader(IndexReader) - Method in class org.elasticsearch.test.engine.MockEngineSupport
- newReadWriteEngine(EngineConfig) - Method in class org.elasticsearch.test.engine.MockEngineFactory
- newSearcher(IndexReader) - Static method in class org.elasticsearch.test.ESTestCase
-
Create a new searcher over the reader.
- newSearcher(IndexReader, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
Create a new searcher over the reader.
- newSearcher(IndexReader, boolean, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
Create a new searcher over the reader.
- newSearcher(IndexReader, boolean, boolean, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
Create a new searcher over the reader.
- newShard(boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new initializing shard.
- newShard(boolean, Settings) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new initializing shard.
- newShard(boolean, Settings, EngineFactory, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new initializing shard.
- newShard(boolean, ShardId, Settings, EngineFactory, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new initializing shard.
- newShard(ShardRouting, IndexMetadata, CheckedFunction<DirectoryReader, DirectoryReader, IOException>, EngineFactory, GlobalCheckpointSyncer, RetentionLeaseSyncer, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new initializing shard.
- newShard(ShardRouting, IndexMetadata, CheckedFunction<DirectoryReader, DirectoryReader, IOException>, EngineFactory, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new initializing shard.
- newShard(ShardRouting, Settings, EngineFactory, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new initializing shard.
- newShard(ShardRouting, Settings, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- newShard(ShardRouting, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- newShard(ShardRouting, ShardPath, IndexMetadata, CheckedFunction<IndexSettings, Store, IOException>, CheckedFunction<DirectoryReader, DirectoryReader, IOException>, EngineFactory, GlobalCheckpointSyncer, RetentionLeaseSyncer, IndexEventListener, LongSupplier, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new initializing shard.
- newShard(ShardRouting, ShardPath, IndexMetadata, CheckedFunction<IndexSettings, Store, IOException>, CheckedFunction<DirectoryReader, DirectoryReader, IOException>, EngineFactory, GlobalCheckpointSyncer, RetentionLeaseSyncer, IndexEventListener, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new initializing shard.
- newShard(ShardId, boolean, String, IndexMetadata, CheckedFunction<DirectoryReader, DirectoryReader, IOException>) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new initializing shard.
- newShard(ShardId, boolean, String, IndexMetadata, CheckedFunction<DirectoryReader, DirectoryReader, IOException>, GlobalCheckpointSyncer) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new initializing shard.
- newShard(ShardId, boolean, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new initializing shard.
- newShardRouting(String, int, String, boolean, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- newShardRouting(String, int, String, String, boolean, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- newShardRouting(ShardId, String, boolean, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- newShardRouting(ShardId, String, boolean, ShardRoutingState, ShardRouting.Role) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- newShardRouting(ShardId, String, String, boolean, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- newSourceLoader() - Method in class org.elasticsearch.test.TestSearchContext
- newStartedShard() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new empty shard and starts it.
- newStartedShard(boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new empty shard and starts it.
- newStartedShard(boolean, Settings, EngineFactory, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new empty shard with the specified settings and engine factory and starts it.
- newStartedShard(boolean, Settings, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new empty shard and starts it.
- newStartedShard(Settings) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Creates a new empty shard and starts it
- newStartedShard(CheckedFunction<Boolean, IndexShard, IOException>, boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
creates a new empty shard and starts it.
- newUid(ParsedDocument) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- newWithRestoreSource(ShardRouting, RecoverySource.SnapshotRecoverySource) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- newXContentRequest(HttpMethod, String, ToXContent) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- nextBox() - Static method in class org.elasticsearch.geo.XShapeTestUtil
- nextCircle() - Static method in class org.elasticsearch.geo.XShapeTestUtil
- nextDouble() - Static method in class org.elasticsearch.geo.XShapeTestUtil
- nextFloat() - Static method in class org.elasticsearch.geo.XShapeTestUtil
- nextNodeIndex - Variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- nextPoint() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- nextPoint() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- nextPolygon() - Static method in class org.elasticsearch.geo.XShapeTestUtil
-
returns next pseudorandom polygon
- nextPolygon() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- nextPolygon() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- nextPolygon2() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- nextPolygon2() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- nextState(Object, Object, Object) - Method in interface org.elasticsearch.cluster.coordination.LinearizabilityChecker.SequentialSpec
-
Next-state function, checking whether transitioning the datatype in the given state under the provided input and output is valid.
- noAllocationDeciders() - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- node() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Return a reference to the singleton node.
- node() - Method in record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Returns the value of the
node
record component. - NODE_ID_LOG_CONTEXT_KEY - Static variable in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- nodeA - Variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- nodeB - Variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- nodeConfigPath(int) - Method in class org.elasticsearch.test.ESIntegTestCase
- nodeConfigPath(int) - Method in class org.elasticsearch.test.NodeConfigurationSource
- NodeConfigurationSource - Class in org.elasticsearch.test
- NodeConfigurationSource() - Constructor for class org.elasticsearch.test.NodeConfigurationSource
- nodeConnected(DiscoveryNode) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- nodeEnvironments - Variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- NodeMocksPlugin - Class in org.elasticsearch.node
- NodeMocksPlugin() - Constructor for class org.elasticsearch.node.NodeMocksPlugin
- nodeNameMatcher() - Method in class org.elasticsearch.common.logging.JsonLogsIntegTestCase
-
The node name to expect in the log file.
- nodePlugins() - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase
- nodePlugins() - Method in class org.elasticsearch.indices.recovery.AbstractIndexRecoveryIntegTestCase
- nodePlugins() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- nodePlugins() - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- nodePlugins() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- nodePlugins() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a collection of plugins that should be loaded on each node.
- nodePlugins() - Method in class org.elasticsearch.test.NodeConfigurationSource
-
Returns plugins that should be loaded on the node
- nodePlugins(String) - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- NodeRoles - Class in org.elasticsearch.test
-
Utility methods for creating
Settings
instances defining a set ofDiscoveryNodeRole
. - NodeRoles() - Constructor for class org.elasticsearch.test.NodeRoles
- nodes() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.DisruptedLinks
-
Set of all nodes that can participate in disruptions
- nodeSettings() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- nodeSettings() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- nodeSettings() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Additional settings to add when creating the node.
- nodeSettings(int, Settings) - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase
- nodeSettings(int, Settings) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- nodeSettings(int, Settings) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase
- nodeSettings(int, Settings) - Method in class org.elasticsearch.test.ESIntegTestCase
-
This method is used to obtain settings for the
N
th node in the cluster. - nodeSettings(int, Settings) - Method in class org.elasticsearch.test.NodeConfigurationSource
-
The settings for the node represented by the given ordinal, or null if there are no settings defined.
- nodesInclude(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a set of nodes that have at least one shard of the given index.
- nodesSideOne - Variable in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- nodesSideTwo - Variable in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- noMatch(String) - Static method in class org.elasticsearch.logsdb.datageneration.matchers.MatchResult
- nonDataNode() - Static method in class org.elasticsearch.test.NodeRoles
- nonDataNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- nonDeterministicPluginScripts() - Method in class org.elasticsearch.script.MockScriptPlugin
- nonIngestNode() - Static method in class org.elasticsearch.test.NodeRoles
- nonIngestNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- nonMasterClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a node client to random node but not the master.
- nonMasterNode() - Static method in class org.elasticsearch.test.NodeRoles
- nonMasterNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- nonRemoteClusterClientNode() - Static method in class org.elasticsearch.test.NodeRoles
- nonRemoteClusterClientNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- nonRootDocuments() - Method in class org.elasticsearch.index.mapper.TestDocumentParserContext
- NOOP_GCP_SYNCER - Static variable in class org.elasticsearch.index.shard.IndexShardTestCase
- NoOpClient - Class in org.elasticsearch.test.client
-
Client that always responds with
null
to every request. - NoOpClient(ThreadPool) - Constructor for class org.elasticsearch.test.client.NoOpClient
- noOpConfig(IndexSettings, Store, Path) - Method in class org.elasticsearch.index.engine.EngineTestCase
- noOpConfig(IndexSettings, Store, Path, LongSupplier) - Method in class org.elasticsearch.index.engine.EngineTestCase
- NoOpNodeClient - Class in org.elasticsearch.test.client
-
Client that always response with
null
to every request. - NoOpNodeClient(ThreadPool) - Constructor for class org.elasticsearch.test.client.NoOpNodeClient
- noReductionCancellation() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- normalize(double) - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
-
Override this if the spatial data needs custom normalization (eg.
- Norms - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- noRoles() - Static method in class org.elasticsearch.test.NodeRoles
- noRoles(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- NotEqualMessageBuilder - Class in org.elasticsearch.test
-
Builds a message describing how two sets of values are unequal.
- NotEqualMessageBuilder() - Constructor for class org.elasticsearch.test.NotEqualMessageBuilder
-
The name of the field being compared.
- NullDispatcher - Class in org.elasticsearch.http
- NullDispatcher() - Constructor for class org.elasticsearch.http.NullDispatcher
- NullWrapper() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.NullWrapper
-
Creates an instance of a
NullWrapper
record class. - NullWrapper(Function<Supplier<Object>, Supplier<Object>>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.NullWrapper
-
Creates an instance of a
NullWrapper
record class. - NUMBER_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- NUMBER_OF_DIFF_TEST_RUNS - Static variable in class org.elasticsearch.test.DiffableTestUtils
- NUMBER_OF_TEST_RUNS - Static variable in class org.elasticsearch.test.AbstractWireTestCase
- NUMBER_OF_TEST_RUNS - Static variable in class org.elasticsearch.test.AbstractXContentTestCase
- NumberFieldMapperTests - Class in org.elasticsearch.index.mapper
- NumberFieldMapperTests() - Constructor for class org.elasticsearch.index.mapper.NumberFieldMapperTests
- NumberFieldMapperTests.NumberSyntheticSourceSupport - Class in org.elasticsearch.index.mapper
- numberOfReplicas() - Method in class org.elasticsearch.test.ESIntegTestCase
- numberOfShards() - Method in class org.elasticsearch.test.ESIntegTestCase
- numberOfShards() - Method in class org.elasticsearch.test.TestSearchContext
- numberOfShardsWithState(RoutingNodes, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.RoutingNodesHelper
- numberOfTestRuns(int) - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- NumberSyntheticSourceSupport(Function<Number, Number>, boolean) - Constructor for class org.elasticsearch.index.mapper.NumberFieldMapperTests.NumberSyntheticSourceSupport
- NumberTypeOutOfRangeSpec - Class in org.elasticsearch.index.mapper
- numClientNodes() - Element in annotation interface org.elasticsearch.test.ESIntegTestCase.ClusterScope
-
Returns the number of client nodes in the cluster.
- numDataAndMasterNodes() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- numDataAndMasterNodes() - Method in class org.elasticsearch.test.InternalTestCluster
- numDataAndMasterNodes() - Method in class org.elasticsearch.test.TestCluster
-
Returns the number of data and master eligible nodes in the cluster.
- numDataNodes() - Element in annotation interface org.elasticsearch.test.ESIntegTestCase.ClusterScope
-
Returns the number of nodes in the cluster.
- numDataNodes() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- numDataNodes() - Method in class org.elasticsearch.test.InternalTestCluster
- numDataNodes() - Method in class org.elasticsearch.test.TestCluster
-
Returns the number of data nodes in the cluster.
- numDocs - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- NumericDocValues - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- numMasterNodes() - Method in class org.elasticsearch.test.InternalTestCluster
- numPrimaries - Variable in class org.elasticsearch.test.ESIntegTestCase.NumShards
- numReplicas - Variable in class org.elasticsearch.test.ESIntegTestCase.NumShards
- numUniqueGeoPoints - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
O
- Object(String, boolean, Map<String, Template.Entry>) - Constructor for record class org.elasticsearch.logsdb.datageneration.Template.Object
-
Creates an instance of a
Object
record class. - OBJECT_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- ObjectArrayGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectArrayGenerator
-
Creates an instance of a
ObjectArrayGenerator
record class. - ObjectArrayGenerator(Supplier<Optional<Integer>>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectArrayGenerator
-
Creates an instance of a
ObjectArrayGenerator
record class. - objectMappers() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
ObjectMapper
s to add to the lookup. - ObjectMappingParametersGenerator(boolean, boolean, ObjectMapper.Subobjects) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
-
Creates an instance of a
ObjectMappingParametersGenerator
record class. - ObjectMappingParametersGenerator(Supplier<Map<String, Object>>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectMappingParametersGenerator
-
Creates an instance of a
ObjectMappingParametersGenerator
record class. - ObjectMatcher - Class in org.elasticsearch.logsdb.datageneration.matchers
- objectPage() - Method in class org.elasticsearch.cluster.coordination.CountingPageCacheRecycler
- objectPage() - Method in class org.elasticsearch.common.util.MockPageCacheRecycler
- ObjectPath - Class in org.elasticsearch.test.rest
-
Holds an object and allows extraction of specific values from it, given their path
- ObjectPath(Object) - Constructor for class org.elasticsearch.test.rest.ObjectPath
- of(NumberFieldMapper.NumberType, Object, String) - Static method in class org.elasticsearch.index.mapper.NumberTypeOutOfRangeSpec
- of(T) - Static method in class org.elasticsearch.core.ReleasableRef
- OLD_VERSION_SNAPSHOT_PREFIX - Static variable in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- onAllNodesStopped() - Method in class org.elasticsearch.test.InternalTestCluster.RestartCallback
- onConnectionClosed(Transport.Connection) - Method in class org.elasticsearch.test.transport.MockTransportService
- onIndexModule(IndexModule) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.SearchShardBlockingPlugin
- onIndexModule(IndexModule) - Method in class org.elasticsearch.test.MockIndexEventListener.TestPlugin
- onIndexModule(IndexModule) - Method in class org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
- onlyRole(DiscoveryNodeRole) - Static method in class org.elasticsearch.test.NodeRoles
- onlyRole(Settings, DiscoveryNodeRole) - Static method in class org.elasticsearch.test.NodeRoles
- onlyRoles(Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.test.NodeRoles
- onlyRoles(Settings, Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.test.NodeRoles
- onNodeLog(DiscoveryNode, Runnable) - Static method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- onNodeStopped(String) - Method in class org.elasticsearch.test.InternalTestCluster.RestartCallback
-
Executed once the give node name has been stopped.
- onRemoved() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- onRemovedTaskListenerRegistered(RemovedTaskListener) - Method in interface org.elasticsearch.test.tasks.MockTaskManagerListener
- onSendRequest(long, String, TransportRequest, DiscoveryNode) - Method in class org.elasticsearch.test.transport.CapturingTransport
- onSendRequest(long, String, TransportRequest, DiscoveryNode) - Method in class org.elasticsearch.test.transport.MockTransport
- onSendRequest(long, String, TransportRequest, TransportRequestOptions, DisruptableMockTransport) - Method in class org.elasticsearch.transport.DisruptableMockTransport
- onStartRecovery() - Method in class org.elasticsearch.indices.recovery.RecoveryClusterStateDelayListeners
- onTaskRegistered(Task) - Method in interface org.elasticsearch.test.tasks.MockTaskManagerListener
- onTaskUnregistered(Task) - Method in interface org.elasticsearch.test.tasks.MockTaskManagerListener
- openConnection(DiscoveryNode, ConnectionProfile, ActionListener<Transport.Connection>) - Method in class org.elasticsearch.test.transport.FakeTransport
- openConnection(DiscoveryNode, ConnectionProfile, ActionListener<Transport.Connection>) - Method in class org.elasticsearch.test.transport.MockTransportService
- openConnection(DiscoveryNode, ConnectionProfile, ActionListener<Transport.Connection>) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- openConnection(DiscoveryNode, ConnectionProfile, ActionListener<Transport.Connection>) - Method in class org.elasticsearch.test.transport.StubbableTransport
- openConnection(DiscoveryNode, ConnectionProfile, ActionListener<Transport.Connection>) - Method in class org.elasticsearch.transport.DisruptableMockTransport
- openConnection(Transport, DiscoveryNode, ConnectionProfile, ActionListener<Transport.Connection>) - Method in interface org.elasticsearch.test.transport.StubbableTransport.OpenConnectionBehavior
- openConnection(TransportService, DiscoveryNode, ConnectionProfile) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
-
Establishes and returns a new connection to the given node from the given
TransportService
. - openConnectionExpectFailure(TransportService, DiscoveryNode, ConnectionProfile) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
-
Attempt to connect to the specified node, but assert that this fails and return the resulting exception.
- openIndex(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- openLogsStream() - Method in class org.elasticsearch.common.logging.JsonLogsIntegTestCase
-
Reads the logs.
- openPersistedStates - Variable in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- opensOf(String) - Static method in class org.elasticsearch.test.hamcrest.ModuleDescriptorMatchers
- opensOf(String, Set<String>) - Static method in class org.elasticsearch.test.hamcrest.ModuleDescriptorMatchers
- OptionalMatchers - Class in org.elasticsearch.test.hamcrest
- OptionalMatchers() - Constructor for class org.elasticsearch.test.hamcrest.OptionalMatchers
- org.elasticsearch.action - package org.elasticsearch.action
- org.elasticsearch.action.admin.cluster.allocation - package org.elasticsearch.action.admin.cluster.allocation
- org.elasticsearch.action.admin.cluster.reroute - package org.elasticsearch.action.admin.cluster.reroute
- org.elasticsearch.action.admin.cluster.storedscripts - package org.elasticsearch.action.admin.cluster.storedscripts
- org.elasticsearch.action.fieldcaps - package org.elasticsearch.action.fieldcaps
- org.elasticsearch.action.support - package org.elasticsearch.action.support
- org.elasticsearch.action.support.master - package org.elasticsearch.action.support.master
- org.elasticsearch.action.support.replication - package org.elasticsearch.action.support.replication
- org.elasticsearch.bootstrap - package org.elasticsearch.bootstrap
- org.elasticsearch.cli - package org.elasticsearch.cli
- org.elasticsearch.client - package org.elasticsearch.client
- org.elasticsearch.client.internal - package org.elasticsearch.client.internal
- org.elasticsearch.cluster - package org.elasticsearch.cluster
- org.elasticsearch.cluster.coordination - package org.elasticsearch.cluster.coordination
- org.elasticsearch.cluster.coordination.stateless - package org.elasticsearch.cluster.coordination.stateless
- org.elasticsearch.cluster.metadata - package org.elasticsearch.cluster.metadata
- org.elasticsearch.cluster.node - package org.elasticsearch.cluster.node
- org.elasticsearch.cluster.routing - package org.elasticsearch.cluster.routing
- org.elasticsearch.cluster.service - package org.elasticsearch.cluster.service
- org.elasticsearch.cluster.version - package org.elasticsearch.cluster.version
- org.elasticsearch.common.breaker - package org.elasticsearch.common.breaker
- org.elasticsearch.common.bytes - package org.elasticsearch.common.bytes
- org.elasticsearch.common.logging - package org.elasticsearch.common.logging
- org.elasticsearch.common.lucene.store - package org.elasticsearch.common.lucene.store
- org.elasticsearch.common.network - package org.elasticsearch.common.network
- org.elasticsearch.common.settings - package org.elasticsearch.common.settings
- org.elasticsearch.common.util - package org.elasticsearch.common.util
- org.elasticsearch.common.util.concurrent - package org.elasticsearch.common.util.concurrent
- org.elasticsearch.common.xcontent.support - package org.elasticsearch.common.xcontent.support
- org.elasticsearch.core - package org.elasticsearch.core
- org.elasticsearch.env - package org.elasticsearch.env
- org.elasticsearch.gateway - package org.elasticsearch.gateway
- org.elasticsearch.geo - package org.elasticsearch.geo
- org.elasticsearch.http - package org.elasticsearch.http
- org.elasticsearch.index - package org.elasticsearch.index
- org.elasticsearch.index.alias - package org.elasticsearch.index.alias
- org.elasticsearch.index.analysis - package org.elasticsearch.index.analysis
- org.elasticsearch.index.engine - package org.elasticsearch.index.engine
- org.elasticsearch.index.mapper - package org.elasticsearch.index.mapper
- org.elasticsearch.index.query - package org.elasticsearch.index.query
- org.elasticsearch.index.reindex - package org.elasticsearch.index.reindex
- org.elasticsearch.index.replication - package org.elasticsearch.index.replication
- org.elasticsearch.index.seqno - package org.elasticsearch.index.seqno
- org.elasticsearch.index.shard - package org.elasticsearch.index.shard
- org.elasticsearch.index.snapshots.blobstore - package org.elasticsearch.index.snapshots.blobstore
- org.elasticsearch.index.store - package org.elasticsearch.index.store
- org.elasticsearch.index.translog - package org.elasticsearch.index.translog
- org.elasticsearch.indices - package org.elasticsearch.indices
- org.elasticsearch.indices.analysis - package org.elasticsearch.indices.analysis
- org.elasticsearch.indices.cluster - package org.elasticsearch.indices.cluster
- org.elasticsearch.indices.recovery - package org.elasticsearch.indices.recovery
- org.elasticsearch.ingest - package org.elasticsearch.ingest
- org.elasticsearch.injection.guice - package org.elasticsearch.injection.guice
- org.elasticsearch.logsdb.datageneration - package org.elasticsearch.logsdb.datageneration
- org.elasticsearch.logsdb.datageneration.datasource - package org.elasticsearch.logsdb.datageneration.datasource
- org.elasticsearch.logsdb.datageneration.fields - package org.elasticsearch.logsdb.datageneration.fields
- org.elasticsearch.logsdb.datageneration.fields.leaf - package org.elasticsearch.logsdb.datageneration.fields.leaf
- org.elasticsearch.logsdb.datageneration.matchers - package org.elasticsearch.logsdb.datageneration.matchers
- org.elasticsearch.logsdb.datageneration.matchers.source - package org.elasticsearch.logsdb.datageneration.matchers.source
- org.elasticsearch.node - package org.elasticsearch.node
- org.elasticsearch.plugins - package org.elasticsearch.plugins
- org.elasticsearch.plugins.internal.rewriter - package org.elasticsearch.plugins.internal.rewriter
- org.elasticsearch.readiness - package org.elasticsearch.readiness
- org.elasticsearch.repositories - package org.elasticsearch.repositories
- org.elasticsearch.repositories.azure - package org.elasticsearch.repositories.azure
- org.elasticsearch.repositories.blobstore - package org.elasticsearch.repositories.blobstore
- org.elasticsearch.rest - package org.elasticsearch.rest
- org.elasticsearch.script - package org.elasticsearch.script
- org.elasticsearch.search - package org.elasticsearch.search
- org.elasticsearch.search.aggregations - package org.elasticsearch.search.aggregations
- org.elasticsearch.search.aggregations.bucket - package org.elasticsearch.search.aggregations.bucket
- org.elasticsearch.search.aggregations.bucket.geogrid - package org.elasticsearch.search.aggregations.bucket.geogrid
- org.elasticsearch.search.aggregations.metrics - package org.elasticsearch.search.aggregations.metrics
- org.elasticsearch.search.fetch - package org.elasticsearch.search.fetch
- org.elasticsearch.search.geo - package org.elasticsearch.search.geo
- org.elasticsearch.search.rank - package org.elasticsearch.search.rank
- org.elasticsearch.search.rank.rerank - package org.elasticsearch.search.rank.rerank
- org.elasticsearch.search.retriever - package org.elasticsearch.search.retriever
- org.elasticsearch.search.runtime - package org.elasticsearch.search.runtime
- org.elasticsearch.snapshots - package org.elasticsearch.snapshots
- org.elasticsearch.snapshots.mockstore - package org.elasticsearch.snapshots.mockstore
- org.elasticsearch.tasks - package org.elasticsearch.tasks
- org.elasticsearch.telemetry - package org.elasticsearch.telemetry
- org.elasticsearch.test - package org.elasticsearch.test
- org.elasticsearch.test.client - package org.elasticsearch.test.client
- org.elasticsearch.test.compiler - package org.elasticsearch.test.compiler
- org.elasticsearch.test.disruption - package org.elasticsearch.test.disruption
- org.elasticsearch.test.engine - package org.elasticsearch.test.engine
- org.elasticsearch.test.fixture - package org.elasticsearch.test.fixture
- org.elasticsearch.test.gateway - package org.elasticsearch.test.gateway
- org.elasticsearch.test.geo - package org.elasticsearch.test.geo
- org.elasticsearch.test.hamcrest - package org.elasticsearch.test.hamcrest
- org.elasticsearch.test.index - package org.elasticsearch.test.index
- org.elasticsearch.test.jar - package org.elasticsearch.test.jar
- org.elasticsearch.test.junit - package org.elasticsearch.test.junit
- org.elasticsearch.test.junit.annotations - package org.elasticsearch.test.junit.annotations
- org.elasticsearch.test.junit.listeners - package org.elasticsearch.test.junit.listeners
- org.elasticsearch.test.mockito - package org.elasticsearch.test.mockito
- org.elasticsearch.test.readiness - package org.elasticsearch.test.readiness
- org.elasticsearch.test.rest - package org.elasticsearch.test.rest
-
Infrastructure for testing REST.
- org.elasticsearch.test.store - package org.elasticsearch.test.store
- org.elasticsearch.test.tasks - package org.elasticsearch.test.tasks
- org.elasticsearch.test.transport - package org.elasticsearch.test.transport
- org.elasticsearch.threadpool - package org.elasticsearch.threadpool
- org.elasticsearch.transport - package org.elasticsearch.transport
- outOfRangeSpecs() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
P
- PAGE_SIZE - Static variable in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- ParameterChecker() - Constructor for class org.elasticsearch.index.mapper.MapperTestCase.ParameterChecker
- ParameterChecker() - Constructor for class org.elasticsearch.index.mapper.MetadataMapperTestCase.ParameterChecker
- parentSubobjects() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
-
Returns the value of the
parentSubobjects
record component. - parse(XContentParser) - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- parse(XContentParser) - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- parseAcknowledgedResponse(XContentParser) - Static method in enum class org.elasticsearch.test.rest.TestResponseParsers
- parseClusterHosts(String) - Method in class org.elasticsearch.test.rest.ESRestTestCase
- parseClusterSettingsResponse(XContentParser) - Static method in enum class org.elasticsearch.test.rest.TestResponseParsers
- parseCollectorResult(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseContentRangeHeader(String) - Static method in enum class org.elasticsearch.test.fixture.HttpHeaderParser
-
Parse a "Content-Range" header
- parseCreateField(DocumentParserContext) - Method in class org.elasticsearch.index.mapper.MockFieldMapper
- parseCreateIndexResponse(XContentParser) - Static method in enum class org.elasticsearch.test.rest.TestResponseParsers
- parseDocument(MapperService, String, String) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- parsedPostFilter() - Method in class org.elasticsearch.test.TestSearchContext
- parsedPostFilter(ParsedQuery) - Method in class org.elasticsearch.test.TestSearchContext
- parsedQuery() - Method in class org.elasticsearch.test.TestSearchContext
- parsedQuery(ParsedQuery) - Method in class org.elasticsearch.test.TestSearchContext
- parseFailure(XContentParser) - Static method in enum class org.elasticsearch.action.fieldcaps.FieldCapsUtils
- parseFieldCaps(String, XContentParser) - Static method in enum class org.elasticsearch.action.fieldcaps.FieldCapsUtils
- parseFieldCapsResponse(XContentParser) - Static method in enum class org.elasticsearch.action.fieldcaps.FieldCapsUtils
- parseFromSource() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- parseHighlightField(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseInnerSearchResponse(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseKnnSearchBuilder(XContentParser) - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- parseLegacyVersion(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- parseMultiSearchResponse(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseNestedIdentity(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseProfileDfsPhaseResult(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseProfileResult(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseQuery(String) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- parseQuery(AbstractQueryBuilder<?>) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- parseQuery(XContentParser) - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- parseQuery(XContentParser) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- parseQueryProfileShardResult(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parser() - Method in class org.elasticsearch.index.mapper.TestDocumentParserContext
- PARSER - Static variable in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- parseRangeHeader(String) - Static method in enum class org.elasticsearch.test.fixture.HttpHeaderParser
-
Parse a "Range" header Note: only a single bounded range is supported (e.g.
- parserConfig() - Method in class org.elasticsearch.test.ESTestCase
- parseSearchHit(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseSearchHits(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseSearchProfileResults(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseSearchResponse(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseSearchSortValues(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseShardSearchFailure(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- parseSuggest(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
-
this parsing method assumes that the leading "suggest" field name has already been parsed by the caller
- parseSuggestion(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- partition(List<LinearizabilityChecker.Event>) - Method in interface org.elasticsearch.cluster.coordination.LinearizabilityChecker.KeyedSpec
- partition(List<LinearizabilityChecker.Event>) - Method in interface org.elasticsearch.cluster.coordination.LinearizabilityChecker.SequentialSpec
-
For compositional checking, the history can be partitioned into sub-histories
- PASSWORD_SETTING - Static variable in class org.elasticsearch.snapshots.mockstore.MockRepository.Plugin
- path() - Method in class org.elasticsearch.index.mapper.TestDocumentParserContext
- PathUtilsForTesting - Class in org.elasticsearch.core
-
Exposes some package private stuff in PathUtils for framework purposes only!
- PathUtilsForTesting() - Constructor for class org.elasticsearch.core.PathUtilsForTesting
- PatternSeenEventExpectation(String, String, Level, String) - Constructor for class org.elasticsearch.test.MockLog.PatternSeenEventExpectation
- pauseIndexing() - Method in class org.elasticsearch.test.BackgroundIndexer
-
Pausing indexing by setting current document limit to 0
- PemHttpsConfigurator - Class in org.elasticsearch.http
- PemHttpsConfigurator(Path, Path, char[]) - Constructor for class org.elasticsearch.http.PemHttpsConfigurator
- performOnPrimary(IndexShard, Request, ActionListener<ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction
- performOnReplica(ReplicaRequest, IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction
- performPostWriteActions(IndexShard, ReplicatedWriteRequest<?>, Translog.Location, Logger) - Static method in class org.elasticsearch.action.support.replication.TransportWriteActionTestHelper
- Plugin() - Constructor for class org.elasticsearch.snapshots.mockstore.MockRepository.Plugin
- pluginContextCompilers() - Method in class org.elasticsearch.script.MockScriptPlugin
- pluginList(Class<? extends Plugin>...) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Helper method to create list of plugins without specifying generic types.
- plugins() - Method in class org.elasticsearch.plugins.MockPluginsService
- plugins() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Plugins to add to the test.
- pluginScriptLang() - Method in class org.elasticsearch.script.MockScriptPlugin
- pluginScripts() - Method in class org.elasticsearch.script.MockScriptPlugin
- pluginScripts() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- pluginsNeeded() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- PluginTestUtil - Class in org.elasticsearch.plugins
-
Utility methods for testing plugins
- PluginTestUtil() - Constructor for class org.elasticsearch.plugins.PluginTestUtil
- PointTester(double) - Constructor for class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.PointTester
- polygonQuery(String, List<GeoPoint>) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
-
Deprecated.
- PosixPermissionsResetter - Class in org.elasticsearch.test
-
Stores the posix attributes for a path and resets them on close.
- PosixPermissionsResetter(Path) - Constructor for class org.elasticsearch.test.PosixPermissionsResetter
- PredefinedField - Interface in org.elasticsearch.logsdb.datageneration.fields
- PredefinedField.WithGenerator - Record Class in org.elasticsearch.logsdb.datageneration.fields
- predefinedFields() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns the value of the
predefinedFields
record component. - prepareCreate(String) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Creates a new
CreateIndexRequestBuilder
with the settings obtained fromESIntegTestCase.indexSettings()
. - prepareCreate(String, int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Creates a new
CreateIndexRequestBuilder
with the settings obtained fromESIntegTestCase.indexSettings()
. - prepareCreate(String, int, Settings.Builder) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Creates a new
CreateIndexRequestBuilder
with the settings obtained fromESIntegTestCase.indexSettings()
. - prepareCreate(String, Settings.Builder) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Creates a new
CreateIndexRequestBuilder
with the settings obtained fromESIntegTestCase.indexSettings()
, augmented by the given builder - prepareForTranslogOperations(int, ActionListener<Void>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- prepareIndex(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- prepareIndex(String) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- prepareSearch(String...) - Method in class org.elasticsearch.test.client.RandomizingClient
- prepareSearch(String...) - Static method in class org.elasticsearch.test.ESIntegTestCase
- preProcess() - Method in class org.elasticsearch.test.TestSearchContext
- preserveAutoFollowPatternsUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve auto-follow patterns.
- preserveClusterSettings() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Controls whether or not to preserve cluster settings upon completion of the test.
- preserveClusterUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve the state of the cluster upon completion of this test.
- preserveDataStreamsUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Determines if data streams are preserved upon completion of this test.
- preserveILMPoliciesUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve ILM Policies of this test.
- preserveILMPolicyIds() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
A set of ILM policies that should be preserved between runs.
- preserveIndicesUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve the indices created during this test on completion of this test.
- preserveReposUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve the repositories on completion of this test.
- preserveRollupJobsUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve the rollup jobs of this test.
- preserveSearchableSnapshotsIndicesUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve searchable snapshots indices.
- preserveSecurityIndicesUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve the security indices created during this test on completion of this test.
- preservesExactSource() - Method in class org.elasticsearch.index.mapper.KeywordFieldSyntheticSourceSupport
- preservesExactSource() - Method in interface org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceSupport
- preservesExactSource() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests.NumberSyntheticSourceSupport
- preserveSLMPoliciesUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve SLM Policies of this test.
- preserveSnapshotsUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns whether to preserve the snapshots in repositories on completion of this test.
- preserveTemplatesUponCompletion() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Controls whether or not to preserve templates upon completion of this test.
- prettyPrintArrays(Object[], Object[]) - Static method in class org.elasticsearch.logsdb.datageneration.matchers.Messages
- prettyPrintCollections(Collection<T>, Collection<T>) - Static method in class org.elasticsearch.logsdb.datageneration.matchers.Messages
- PrimaryResult(ReplicaRequest, Response) - Constructor for class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
- primaryTerm - Variable in class org.elasticsearch.index.engine.EngineTestCase
- primaryTerm - Variable in class org.elasticsearch.index.shard.IndexShardTestCase
- primaryTerm() - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Returns the value of the
primaryTerm
record component. - primaryTranslogDir - Variable in class org.elasticsearch.index.engine.EngineTestCase
- PrivilegedOperations - Class in org.elasticsearch.test
-
A small set of privileged operations that can be executed by unprivileged test code.
- PrivilegedOperations.ClosableURLClassLoader - Record Class in org.elasticsearch.test
- probeLogger - Static variable in interface org.elasticsearch.test.readiness.ReadinessClientProbe
- process(Class<?>, Object) - Method in class org.elasticsearch.test.mockito.SecureAnnotationEngine
- processPendingDeletes(Index, IndexSettings, TimeValue) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- profileBoundAddresses() - Method in class org.elasticsearch.test.transport.FakeTransport
- profileBoundAddresses() - Method in class org.elasticsearch.test.transport.StubbableTransport
- promoteReplica(IndexShard, Set<String>, IndexShardRoutingTable) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
promotes a replica to primary, incrementing it's term and starting it if needed
- promoteReplicaToPrimary(IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
-
promotes the specific replica as the new primary
- promoteReplicaToPrimary(IndexShard, BiConsumer<IndexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask>>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- protocolVersion() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- PROVIDED_NAME_SETTING - Static variable in class org.elasticsearch.test.InternalSettingsPlugin
- providesOf(String, List<String>) - Static method in class org.elasticsearch.test.hamcrest.ModuleDescriptorMatchers
- publish(ClusterStatePublicationEvent, ClusterStatePublisher.AckListener, ActionListener<Void>) - Method in class org.elasticsearch.cluster.service.FakeThreadPoolMasterService
- putJsonPipeline(String, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Create an ingest pipeline with the given ID and body, using the default
ESIntegTestCase.client()
. - putJsonPipeline(String, String) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create an ingest pipeline with the given ID and body, using the default
ESSingleNodeTestCase.client()
. - putJsonPipeline(String, BytesReference) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Create an ingest pipeline with the given ID and body, using the default
ESIntegTestCase.client()
. - putJsonPipeline(String, ToXContentFragment) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Create an ingest pipeline with the given ID and body, using the default
ESIntegTestCase.client()
. - putJsonPipeline(String, ToXContentFragment) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create an ingest pipeline with the given ID and body, using the default
ESSingleNodeTestCase.client()
. - putJsonPipeline(ElasticsearchClient, String, String) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
-
Create an ingest pipeline with the given ID and body, using the given
ElasticsearchClient
. - putJsonPipeline(ElasticsearchClient, String, BytesReference) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
-
Create an ingest pipeline with the given ID and body, using the given
ElasticsearchClient
. - putJsonPipeline(ElasticsearchClient, String, ToXContentFragment) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
-
Create an ingest pipeline with the given ID and body, using the given
ElasticsearchClient
. - putJsonPipelineRequest(String, String) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
- putJsonPipelineRequest(String, BytesReference) - Static method in class org.elasticsearch.ingest.IngestPipelineTestUtils
- putJsonStoredScript(String, String) - Static method in class org.elasticsearch.action.admin.cluster.storedscripts.StoredScriptIntegTestUtils
- putJsonStoredScript(String, BytesReference) - Static method in class org.elasticsearch.action.admin.cluster.storedscripts.StoredScriptIntegTestUtils
- putReaderContext(ReaderContext) - Method in class org.elasticsearch.search.MockSearchService
Q
- query() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
query
record component. - query() - Method in class org.elasticsearch.test.TestSearchContext
- queryBuilder() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- queryBuilder() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- queryBuilder() - Method in class org.elasticsearch.search.geo.GeoShapeIntegTestCase
- queryBuilder() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- queryPhaseRankShardContext() - Method in class org.elasticsearch.test.TestSearchContext
- queryPhaseRankShardContext(QueryPhaseRankShardContext) - Method in class org.elasticsearch.test.TestSearchContext
- queryResult() - Method in class org.elasticsearch.test.TestSearchContext
R
- ramBytesUsed() - Method in class org.elasticsearch.common.bytes.ZeroBytesReference
- random - Variable in class org.elasticsearch.test.disruption.SingleNodeDisruption
- random - Variable in class org.elasticsearch.test.TestCluster
- random(Random) - Static method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
-
Delays requests by a random but fixed time value between
NetworkDisruption.NetworkDelay.DEFAULT_DELAY_MIN
andNetworkDisruption.NetworkDelay.DEFAULT_DELAY_MAX
. - random(Random, String...) - Static method in class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- random(Random, String...) - Static method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- random(Random, Set<String>) - Static method in class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- random(Random, Set<String>) - Static method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- random(Random, TimeValue, TimeValue) - Static method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
-
Delays requests by a random but fixed time value between delayMin and delayMax.
- RANDOM_IO_EXCEPTION_RATE_ON_OPEN_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryFactory
- RANDOM_IO_EXCEPTION_RATE_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryFactory
- RANDOM_SNAPSHOT_NAME_PREFIX - Static variable in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- randomAlias() - Static method in class org.elasticsearch.index.RandomCreateIndexGenerator
- randomAliasAction() - Static method in class org.elasticsearch.index.alias.RandomAliasActionsGenerator
- randomAliasAction(boolean) - Static method in class org.elasticsearch.index.alias.RandomAliasActionsGenerator
- RandomAliasActionsGenerator - Class in org.elasticsearch.index.alias
- randomAliases(CreateIndexRequest) - Static method in class org.elasticsearch.index.RandomCreateIndexGenerator
-
Sets random aliases to the provided
CreateIndexRequest
- randomAliasInstance() - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomAllocationDeciders(Settings, ClusterSettings) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- randomAlphanumericOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
-
Generate a random string containing only alphanumeric characters.
- randomAlphaOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomAlphaOfLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
- randomAlphaOfLengthOrNull(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomAlt() - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomAlt() - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomAnalyzer() - Static method in class org.elasticsearch.test.AbstractQueryTestCase
- randomArray(int, int, IntFunction<T[]>, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
- randomArray(int, IntFunction<T[]>, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
- randomBBox(int) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
-
Return a random
GeoBoundingBox
within the bounds of the tile grid. - randomBigInteger() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a random BigInteger uniformly distributed over the range 0 to (2^64 - 1) inclusive Currently BigIntegers are only used for unsigned_long field type, where the max value is 2^64 - 1.
- randomBlobContent() - Static method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- randomBlobContent(int) - Static method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- randomBoolean() - Static method in class org.elasticsearch.test.ESTestCase
- randomByte() - Static method in class org.elasticsearch.test.ESTestCase
- randomByteArrayOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
-
Helper method to create a byte array of a given length populated with random byte values
- randomByteBetween(byte, byte) - Static method in class org.elasticsearch.test.ESTestCase
- randomBytes(int) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- randomBytesBetween(byte[], byte, byte) - Static method in class org.elasticsearch.test.ESTestCase
- randomByteSizeValue() - Static method in class org.elasticsearch.test.ESTestCase
-
A random byte size value.
- randomBytesReference(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomCircle(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomCircle(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomClusterSettings() - Static method in class org.elasticsearch.http.AbstractHttpServerTransportTestCase
- randomCompatibleMediaType(RestApiVersion) - Method in class org.elasticsearch.test.ESTestCase
- randomCompatibleVersion(Random) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns a random
IndexVersion
that is compatible withIndexVersion.current()
- randomCompatibleVersion(Random) - Static method in class org.elasticsearch.test.TransportVersionUtils
-
Returns a random
TransportVersion
that is compatible withTransportVersion.current()
- randomCompatibleVersion(Random, Version) - Static method in class org.elasticsearch.test.VersionUtils
-
Returns a random
Version
from all available versions, that is compatible with the given version. - randomCompatibleWriteVersion(Random) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns a random
IndexVersion
that is compatible withIndexVersion.current()
and can be written to - RandomCreateIndexGenerator - Class in org.elasticsearch.index
- randomCreateIndexRequest() - Static method in class org.elasticsearch.index.RandomCreateIndexGenerator
-
Returns a random
CreateIndexRequest
. - randomDate() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
- randomDateDocValueFormat() - Static method in class org.elasticsearch.test.InternalAggregationTestCase
-
A random
DocValueFormat
that can be used in aggregations which compute dates. - randomDateFormatterPattern() - Static method in class org.elasticsearch.test.ESTestCase
-
Generate a random valid date formatter pattern.
- RandomDocumentPicks - Class in org.elasticsearch.ingest
- randomDouble() - Static method in class org.elasticsearch.test.ESTestCase
- randomDoubleBetween(double, double, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a double value in the interval [start, end) if lowerInclusive is set to true, (start, end) otherwise.
- randomDoubles() - Static method in class org.elasticsearch.test.ESTestCase
- randomDoubles(long) - Static method in class org.elasticsearch.test.ESTestCase
- randomExecutionHint() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractTermsTestCase
- randomExecutor(ThreadPool, String...) - Static method in class org.elasticsearch.test.ESTestCase
-
Randomly choose between
EsExecutors.DIRECT_EXECUTOR_SERVICE
(which does not fork),ThreadPool.generic()
, and one of the other named threadpool executors. - randomExistingFieldName(Random, IngestDocument) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Returns a randomly selected existing field name out of the fields that are contained in the document provided as an argument.
- randomFetchTestFieldConfig(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Field configuration for
MapperTestCase.testFetch()
andMapperTestCase.testFetchMany()
. - randomFetchTestFormat() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
A random format to use when tripping in
MapperTestCase.testFetch()
andMapperTestCase.testFetchMany()
. - randomFetchTestMapper() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- randomFieldName(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Returns a random field name.
- randomFieldOrScript(ValuesSourceAggregationBuilder<?>, String) - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- randomFieldsExcludeFilter(Predicate<String>) - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- randomFieldValue(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Generates a random field value, can be a string, a number, a list of an object itself.
- randomFileExtension() - Static method in class org.elasticsearch.common.lucene.store.ESIndexInputTestCase
- randomFiniteRetryingPurpose() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- randomFloat() - Static method in class org.elasticsearch.test.ESTestCase
- randomFloatBetween(float, float, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a float value in the interval [start, end) if lowerInclusive is set to true, (start, end) otherwise.
- randomFloatOrNull() - Static method in class org.elasticsearch.test.ESTestCase
- randomFrom(Collection<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given collection.
- randomFrom(List<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given list.
- randomFrom(Random, Collection<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given collection.
- randomFrom(Random, Supplier<T>...) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given array of suppliers.
- randomFrom(Random, NavigableSet<T>, IntFunction<T>) - Static method in class org.elasticsearch.test.VersionUtils
- randomFrom(Random, T...) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given array.
- randomFrom(T...) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given array.
- randomFuzziness(String) - Static method in class org.elasticsearch.test.AbstractQueryTestCase
- RandomGeoGenerator - Class in org.elasticsearch.test.geo
-
Random geo generation utilities for randomized
geo_point
type testing does not depend on jts or spatial4j. - RandomGeoGenerator() - Constructor for class org.elasticsearch.test.geo.RandomGeoGenerator
- randomGeohash(int, int) - Static method in class org.elasticsearch.test.ESTestCase
- randomGeometry(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomGeometry(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGeometry(boolean, int) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomGeometry(boolean, int) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGeometry(int, boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomGeometry(int, boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGeometry(ShapeType, boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomGeometryCollection(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomGeometryCollection(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGeometryCollectionWithoutCircle(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomGeometryCollectionWithoutCircle(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGeometryCollectionWithoutCircle(int, boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGeometryWithoutCircle(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGeometryWithoutCircle(int, boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomGeometryWithoutCircle(int, boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomGlobalRetention() - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomIdentifier() - Static method in class org.elasticsearch.test.ESTestCase
-
Creates a valid random identifier such as node id or index name
- randomIndexInstances() - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomIndexInstances(int, int) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomIndexOptions() - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- randomIndexSettings() - Static method in class org.elasticsearch.index.RandomCreateIndexGenerator
-
Returns a
Settings
instance which include random values forIndexMetadata.SETTING_NUMBER_OF_SHARDS
andIndexMetadata.SETTING_NUMBER_OF_REPLICAS
- randomIngestDocument(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Generates a random document and random metadata
- randomIngestDocument(Random, Map<String, Object>) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Generates a document that holds random metadata and the document provided as a map argument
- randomInstance() - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomInstance(boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomInstance(String) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomInstance(String, LongSupplier, boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomInstance(LongSupplier) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomInstance(LongSupplier, boolean) - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomInstant() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
- randomInstantBetween(Instant, Instant) - Static method in class org.elasticsearch.test.ESTestCase
- randomInt() - Static method in class org.elasticsearch.test.ESTestCase
- randomInt(int) - Static method in class org.elasticsearch.test.ESTestCase
-
A random integer from 0..max (inclusive).
- randomIntBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
A random integer from
min
tomax
(inclusive). - randomIntOrNull() - Static method in class org.elasticsearch.test.ESTestCase
- randomInts() - Static method in class org.elasticsearch.test.ESTestCase
- randomInts(long) - Static method in class org.elasticsearch.test.ESTestCase
- randomIp(boolean) - Static method in class org.elasticsearch.test.ESTestCase
- RandomizingClient - Class in org.elasticsearch.test.client
-
A
Client
that randomizes request parameters. - RandomizingClient(Client, Random) - Constructor for class org.elasticsearch.test.client.RandomizingClient
- randomLat() - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomLeafFieldName(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Returns a random leaf field name.
- randomLine(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomLine(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomList(int, int, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
- randomList(int, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
- randomLon() - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomLong() - Static method in class org.elasticsearch.test.ESTestCase
- randomLongBetween(long, long) - Static method in class org.elasticsearch.test.ESTestCase
-
A random long number between min (inclusive) and max (inclusive).
- randomLongOrNull() - Static method in class org.elasticsearch.test.ESTestCase
- randomLongs() - Static method in class org.elasticsearch.test.ESTestCase
- randomLongs(long) - Static method in class org.elasticsearch.test.ESTestCase
- randomMap(int) - Static method in class org.elasticsearch.index.alias.RandomAliasActionsGenerator
- randomMap(int, int, Supplier<Tuple<K, V>>) - Static method in class org.elasticsearch.test.ESTestCase
- randomMapping(String) - Static method in class org.elasticsearch.index.RandomCreateIndexGenerator
-
Creates a random mapping, with the mapping definition nested under the given type name.
- randomMappingFields(XContentBuilder, boolean) - Static method in class org.elasticsearch.index.RandomCreateIndexGenerator
-
Adds random mapping fields to the provided
XContentBuilder
- randomMetadata() - Static method in class org.elasticsearch.ingest.TestIngestDocument
- randomMillisUpToYear9999() - Static method in class org.elasticsearch.test.ESTestCase
-
generate a random epoch millis in a range 1 to 9999-12-31T23:59:59.999
- randomMinimumShouldMatch() - Static method in class org.elasticsearch.test.AbstractQueryTestCase
- randomMockContext() - Method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- randomMultiLine(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomMultiLine(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomMultiPoint(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomMultiPoint(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomMultiPolygon(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomMultiPolygon(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomName() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- randomNegativeInt() - Static method in class org.elasticsearch.test.ESTestCase
- randomNegativeLong() - Static method in class org.elasticsearch.test.ESTestCase
- randomNonDataPurpose() - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
- randomNonEmptyIndexInstances() - Static method in class org.elasticsearch.cluster.metadata.DataStreamTestHelper
- randomNonEmptySubsetOf(Collection<T>) - Static method in class org.elasticsearch.test.ESTestCase
- randomNonNegativeByte() - Static method in class org.elasticsearch.test.ESTestCase
- randomNonNegativeInt() - Static method in class org.elasticsearch.test.ESTestCase
- randomNonNegativeIntOrNull() - Static method in class org.elasticsearch.test.ESTestCase
- randomNonNegativeLong() - Static method in class org.elasticsearch.test.ESTestCase
- randomNonNegativeLongOrNull() - Static method in class org.elasticsearch.test.ESTestCase
- randomNumber() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- randomNumberOfBuckets() - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- randomNumericDocValueFormat() - Static method in class org.elasticsearch.test.InternalAggregationTestCase
-
A random
DocValueFormat
that can be used in aggregations which compute numbers. - randomNumericField() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- randomNumericField() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- RandomObjects - Class in org.elasticsearch.test
- randomOptionalBoolean() - Static method in class org.elasticsearch.test.ESTestCase
- randomPoint() - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomPoint() - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomPoint() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
-
Return a point within the bounds of the tile grid
- randomPoint() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- randomPoint(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomPoint(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomPoint(Random) - Static method in class org.elasticsearch.test.geo.RandomGeoGenerator
- randomPoint(Random, double[]) - Static method in class org.elasticsearch.test.geo.RandomGeoGenerator
- randomPointIn(Random, double, double, double, double) - Static method in class org.elasticsearch.test.geo.RandomGeoGenerator
- randomPointIn(Random, double, double, double, double, double[]) - Static method in class org.elasticsearch.test.geo.RandomGeoGenerator
- randomPointNotExtreme() - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomPointNotExtreme(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomPolygon(boolean) - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomPolygon(boolean) - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomPositiveTimeValue() - Static method in class org.elasticsearch.test.ESTestCase
- randomPrecision() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
-
Generate a random precision according to the rules of the given aggregation.
- randomPrecision() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
-
Generate a random precision according to the rules of the given aggregation.
- randomPreviousCompatibleVersion(Random, IndexVersion) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns a random
IndexVersion
that is compatible with the previous version toversion
- randomPreviousCompatibleWriteVersion(Random, IndexVersion) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns a random
IndexVersion
that is compatible with the previous version toversion
and can be written to - randomPurpose() - Static method in class org.elasticsearch.repositories.blobstore.BlobStoreTestUtil
- randomRangeQuery(MappedFieldType, SearchExecutionContext) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- randomRankBuilder() - Static method in class org.elasticsearch.search.rank.TestRankBuilder
- randomReadAndSlice(IndexInput, int) - Method in class org.elasticsearch.common.lucene.store.ESIndexInputTestCase
-
Reads the contents of an
IndexInput
fromindexInput.getFilePointer()
tolength
using a wide variety of different access methods. - randomReaderWrapper() - Static method in class org.elasticsearch.index.engine.EngineTestCase
- randomRealisticUnicodeOfCodepointLength(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomRealisticUnicodeOfCodepointLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
- randomRealisticUnicodeOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomRealisticUnicodeOfLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
- randomRectangle() - Static method in class org.elasticsearch.geo.GeometryTestUtils
- randomRectangle() - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomRepoPath() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns path to a random directory that can be used to create a temporary file system repo
- randomRepoPath(Settings) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns path to a random directory that can be used to create a temporary file system repo
- randomRepositoryName() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- randomRepositorySettings() - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- randomResultsToReduce(String, int) - Method in class org.elasticsearch.test.InternalAggregationTestCase
-
Generate a list of inputs to reduce.
- randomRetryingPurpose() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- randomRouting() - Static method in class org.elasticsearch.index.alias.RandomAliasActionsGenerator
- randomScript() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- randomSearcherWrapper() - Static method in class org.elasticsearch.index.engine.EngineTestCase
- randomSearchRequest(Supplier<SearchSourceBuilder>) - Static method in class org.elasticsearch.search.RandomSearchRequestGenerator
-
Build a random search request.
- RandomSearchRequestGenerator - Class in org.elasticsearch.search
-
Builds random search requests.
- randomSearchSourceBuilder(Supplier<HighlightBuilder>, Supplier<SuggestBuilder>, Supplier<RescorerBuilder<?>>, Supplier<List<SearchExtBuilder>>, Supplier<CollapseBuilder>, Supplier<Map<String, Object>>) - Static method in class org.elasticsearch.search.RandomSearchRequestGenerator
- randomSecretKey() - Static method in class org.elasticsearch.test.ESTestCase
-
Generate a random string of at least 112 bits to satisfy minimum entropy requirement when running in FIPS mode.
- randomSecureStringOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomSet(int, int, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
- randomShardInfo(Random) - Static method in class org.elasticsearch.test.RandomObjects
-
Returns a tuple that contains a randomized
ReplicationResponse.ShardInfo
value (left side) and its corresponding value (right side) after it has been printed out as aToXContent
and parsed back using a parsing method likeReplicationResponse.ShardInfo.fromXContent(XContentParser)
. - randomShardInfo(Random, boolean) - Static method in class org.elasticsearch.test.RandomObjects
-
Returns a tuple that contains a randomized
ReplicationResponse.ShardInfo
value (left side) and its corresponding value (right side) after it has been printed out as aToXContent
and parsed back using a parsing method likeReplicationResponse.ShardInfo.fromXContent(XContentParser)
. - randomShort() - Static method in class org.elasticsearch.test.ESTestCase
- randomSource(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
- randomSource(Random) - Static method in class org.elasticsearch.test.RandomObjects
-
Returns a random source containing a random number of fields, objects and array, with maximum depth 5.
- randomSource(Random, XContentType) - Static method in class org.elasticsearch.test.RandomObjects
-
Returns a random source in a given XContentType containing a random number of fields, objects and array, with maximum depth 5.
- randomSource(Random, XContentType, int) - Static method in class org.elasticsearch.test.RandomObjects
-
Returns a random source in a given XContentType containing a random number of fields, objects and array, with maximum depth 5.
- randomStoredFieldValues(Random, XContentType) - Static method in class org.elasticsearch.test.RandomObjects
-
Returns a tuple containing random stored field values and their corresponding expected values once printed out via
ToXContent.toXContent(XContentBuilder, ToXContent.Params)
and parsed back viaXContentParser.objectText()
. - randomString(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
- randomSubsetOf(int, Collection<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns size random values
- randomSubsetOf(int, T...) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns size random values
- randomSubsetOf(Collection<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a random subset of values (including a potential empty list, or the full original list)
- randomSupportedVersion() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
-
Provides a supported version when the mapping was created.
- randomSupportedVersion() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase
-
Provides a supported version when the mapping was created.
- randomTermQuery(MappedFieldType, SearchExecutionContext) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- randomTermsQuery(MappedFieldType, SearchExecutionContext) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- randomTimeValue() - Static method in class org.elasticsearch.test.ESTestCase
- randomTimeValue(int, int) - Static method in class org.elasticsearch.test.ESTestCase
- randomTimeValue(int, int, TimeUnit...) - Static method in class org.elasticsearch.test.ESTestCase
- randomTimeZone() - Static method in class org.elasticsearch.test.ESTestCase
-
generate a random TimeZone from the ones available in java.util
- randomToken(Random) - Static method in class org.elasticsearch.test.RandomObjects
- randomUnicodeOfCodepointLength(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomUnicodeOfCodepointLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
- randomUnicodeOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
- randomUnicodeOfLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
- randomUnique(Supplier<T>, int) - Static method in class org.elasticsearch.test.ESTestCase
-
Builds a set of unique items.
- randomUnsignedLongBetween(BigInteger, BigInteger) - Static method in class org.elasticsearch.test.ESTestCase
-
A unsigned long in a
BigInteger
between min (inclusive) and max (inclusive). - randomUserMetadata() - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
-
Randomly either generates some random snapshot user metadata or returns
null
. - randomUUID() - Static method in class org.elasticsearch.test.ESTestCase
- randomValue() - Static method in class org.elasticsearch.geo.ShapeTestUtils
- randomValueOtherThan(T, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
helper to get a random value in a certain range that's different from the input
- randomValueOtherThanMany(Predicate<T>, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
helper to get a random value in a certain range that's different from the input
- randomVector(int) - Static method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- randomVendorType() - Method in class org.elasticsearch.test.ESTestCase
- randomVersion() - Static method in class org.elasticsearch.ingest.TestIngestDocument
- randomVersion() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- randomVersion() - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns a random
IndexVersion
from all available versions. - randomVersion() - Static method in class org.elasticsearch.test.TransportVersionUtils
-
Returns a random
TransportVersion
from all available versions. - randomVersion(Random) - Static method in class org.elasticsearch.test.TransportVersionUtils
-
Returns a random
TransportVersion
from all available versions. - randomVersion(Random) - Static method in class org.elasticsearch.test.VersionUtils
-
Returns a random
Version
from all available versions. - randomVersion(Set<IndexVersion>) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns a random
IndexVersion
from all available versions without the ignore set - randomVersion(Set<TransportVersion>) - Static method in class org.elasticsearch.test.TransportVersionUtils
-
Returns a random
TransportVersion
from all available versions without the ignore set - randomVersionBetween(Random, IndexVersion, IndexVersion) - Static method in class org.elasticsearch.test.index.IndexVersionUtils
- randomVersionBetween(Random, TransportVersion, TransportVersion) - Static method in class org.elasticsearch.test.TransportVersionUtils
- randomVersionBetween(Random, Version, Version) - Static method in class org.elasticsearch.test.VersionUtils
- randomWriteVersion() - Static method in class org.elasticsearch.test.index.IndexVersionUtils
-
Returns a random
IndexVersion
from all versions that can be written to. - randomZone() - Static method in class org.elasticsearch.test.ESTestCase
-
generate a random TimeZone from the ones available in java.time
- Range(long, long) - Constructor for record class org.elasticsearch.test.fixture.HttpHeaderParser.Range
-
Creates an instance of a
Range
record class. - rangeField(String, RangeType) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Make a NumberFieldMapper.NumberFieldType for a
range
. - rankFeatureResult() - Method in class org.elasticsearch.test.TestSearchContext
- raw() - Method in record class org.elasticsearch.logsdb.datageneration.Mapping
-
Returns the value of the
raw
record component. - ReachabilityChecker - Class in org.elasticsearch.test
-
Utility class for checking that objects become unreachable when expected.
- ReachabilityChecker() - Constructor for class org.elasticsearch.test.ReachabilityChecker
- read() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
- read(byte[], int, int) - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
- readAggregationProfileShardResult(XContentParser) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- readAllOperationsInLucene(Engine) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Reads all engine operations that have been processed by the engine from Lucene index.
- readBlob(BlobStoreRepository, String, long, long) - Static method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- readBlobFully(BlobContainer, String, int) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- readDiffFrom(String, StreamInput) - Static method in class org.elasticsearch.test.TestCustomMetadata
- readerContext() - Method in class org.elasticsearch.test.TestSearchContext
- readFrom(Function<String, T>, StreamInput) - Static method in class org.elasticsearch.test.TestCustomMetadata
- ReadinessClientProbe - Interface in org.elasticsearch.test.readiness
-
Helper test interface that provides basic socket connect functionality to the readiness service for testing purposes
- readLatestHeartbeat(ActionListener<Heartbeat>) - Method in class org.elasticsearch.cluster.coordination.stateless.DisruptibleHeartbeatStore
- readSource(IndexReader, int) - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- readTimeoutExceptionMatcher() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- readVersionsFromNodesInfo(RestClient) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- reason() - Element in annotation interface org.elasticsearch.test.junit.annotations.TestLogging
-
The reason this annotation is used to control logger behavior during a test.
- receiveFileInfo(List<String>, List<Long>, List<String>, List<Long>, int, ActionListener<Void>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- record(double) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleHistogram
- record(double, Map<String, Object>) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleHistogram
- record(long) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongHistogram
- record(long, Map<String, Object>) - Method in class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongHistogram
- recorder - Variable in class org.elasticsearch.telemetry.RecordingMeterRegistry
- RecordingAsyncDoubleCounter(String, Supplier<Collection<DoubleWithAttributes>>, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingAsyncDoubleCounter
- RecordingAsyncLongCounter(String, Supplier<Collection<LongWithAttributes>>, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingAsyncLongCounter
- RecordingDoubleCounter(String, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleCounter
- RecordingDoubleGauge(String, Supplier<Collection<DoubleWithAttributes>>, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleGauge
- RecordingDoubleHistogram(String, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleHistogram
- RecordingDoubleUpDownCounter(String, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingDoubleUpDownCounter
- RecordingInstrument(String, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
- RecordingInstruments - Class in org.elasticsearch.telemetry
-
Recording versions of Elasticsearch
Instrument
s. - RecordingInstruments() - Constructor for class org.elasticsearch.telemetry.RecordingInstruments
- RecordingInstruments.CallbackRecordingInstrument - Class in org.elasticsearch.telemetry
- RecordingInstruments.NumberWithAttributesObserver - Interface in org.elasticsearch.telemetry
- RecordingInstruments.RecordingAsyncDoubleCounter - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingAsyncLongCounter - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingDoubleCounter - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingDoubleGauge - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingDoubleHistogram - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingDoubleUpDownCounter - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingInstrument - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingLongCounter - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingLongGauge - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingLongHistogram - Class in org.elasticsearch.telemetry
- RecordingInstruments.RecordingLongUpDownCounter - Class in org.elasticsearch.telemetry
- RecordingLongCounter(String, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongCounter
- RecordingLongGauge(String, Supplier<Collection<LongWithAttributes>>, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongGauge
- RecordingLongHistogram(String, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongHistogram
- RecordingLongUpDownCounter(String, MetricRecorder<Instrument>) - Constructor for class org.elasticsearch.telemetry.RecordingInstruments.RecordingLongUpDownCounter
- RecordingMeterRegistry - Class in org.elasticsearch.telemetry
-
A
MeterRegistry
that records all instrument invocations. - RecordingMeterRegistry() - Constructor for class org.elasticsearch.telemetry.RecordingMeterRegistry
- recoverFromStore(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- recoverFromTranslog(Engine, Engine.TranslogRecoveryRunner, long) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Call
Engine.recoverFromTranslog(org.elasticsearch.index.engine.Engine.TranslogRecoveryRunner, long)
and block until it succeeds. - recoverLocallyUpToGlobalCheckpoint(IndexShard) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- recoverPrimary(IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- recoverReplica(IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- recoverReplica(IndexShard, BiFunction<IndexShard, DiscoveryNode, RecoveryTarget>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- recoverReplica(IndexShard, BiFunction<IndexShard, DiscoveryNode, RecoveryTarget>, boolean) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- recoverReplica(IndexShard, IndexShard, boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
recovers a replica from the given primary
- recoverReplica(IndexShard, IndexShard, BiFunction<IndexShard, DiscoveryNode, RecoveryTarget>, boolean, boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
recovers a replica from the given primary
- recoverShardFromSnapshot(IndexShard, Snapshot, Repository) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Recover a shard from a snapshot using a given repository
- recoverShardFromStore(IndexShard) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- recoverUnstartedReplica(IndexShard, IndexShard, BiFunction<IndexShard, DiscoveryNode, RecoveryTarget>, boolean, Set<String>, IndexShardRoutingTable) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Recovers a replica from the give primary, allow the user to supply a custom recovery target.
- RecoveryClusterStateDelayListeners - Class in org.elasticsearch.indices.recovery
-
Allows one node in an integ test to delay the application of cluster states on another node until a recovery starts, without unduly delaying other cluster states.
- RecoveryClusterStateDelayListeners(long) - Constructor for class org.elasticsearch.indices.recovery.RecoveryClusterStateDelayListeners
- recoveryEmptyReplica(IndexShard, boolean) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- recoveryListener - Static variable in class org.elasticsearch.index.shard.IndexShardTestCase
- recoveryState() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- RectangleMatcher - Class in org.elasticsearch.test.hamcrest
-
Example usage:
assertThat(actualRectangle, RectangleMatcher.closeTo(expectedRectangle, 0.0001, PointType.CARTESIAN));
, or it can be used as a parameter toWellKnownBinaryBytesRefMatcher
. - RedirectToLocalClusterRemoteClusterClient - Class in org.elasticsearch.client.internal
-
A fake
RemoteClusterClient
which just runs actions on the local cluster, like aNodeClient
, for use in tests. - RedirectToLocalClusterRemoteClusterClient(ElasticsearchClient) - Constructor for class org.elasticsearch.client.internal.RedirectToLocalClusterRemoteClusterClient
- reduce(List<InternalAggregation>, AggregationReduceContext) - Static method in class org.elasticsearch.test.InternalAggregationTestCase
- REDUCE_BLOCK_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- REDUCE_FAIL_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- refresh(String) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- refresh(String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- refresh(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for relocations and refreshes all indices in the cluster.
- refresh(RestClient, String) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- refresh(InternalClusterInfoService) - Static method in class org.elasticsearch.cluster.ClusterInfoServiceUtils
- refreshAllIndices() - Method in class org.elasticsearch.test.rest.ESRestTestCase
- refreshClusterInfo() - Static method in class org.elasticsearch.test.ESIntegTestCase
- register(I, InstrumentType, String, String, String) - Method in class org.elasticsearch.telemetry.MetricRecorder
-
Register an instrument.
- register(String, String, TaskAwareRequest) - Method in class org.elasticsearch.test.tasks.MockTaskManager
- register(T) - Method in class org.elasticsearch.test.ReachabilityChecker
-
Register the given target object for reachability checks.
- registerConflictCheck(String, CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.index.mapper.MapperTestCase.ParameterChecker
-
Register a check that a parameter update will cause a conflict, using the minimal mapping as a base
- registerConflictCheck(String, CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase.ParameterChecker
-
Register a check that a parameter update will cause a conflict, using the minimal mapping as a base
- registerConflictCheck(String, XContentBuilder, XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperTestCase.ParameterChecker
-
Register a check that a parameter update will cause a conflict
- registerConflictCheck(String, XContentBuilder, XContentBuilder, Consumer<DocumentMapper>) - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase.ParameterChecker
-
Register a check that a parameter update will cause a conflict
- registerDimensionChecks(MapperTestCase.ParameterChecker) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Test that dimension parameter is not updateable
- registerDoubleAsyncCounter(String, String, String, Supplier<DoubleWithAttributes>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerDoubleCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerDoubleGauge(String, String, String, Supplier<DoubleWithAttributes>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerDoubleHistogram(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerDoublesAsyncCounter(String, String, String, Supplier<Collection<DoubleWithAttributes>>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerDoublesGauge(String, String, String, Supplier<Collection<DoubleWithAttributes>>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerDoubleUpDownCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerLongAsyncCounter(String, String, String, Supplier<LongWithAttributes>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerLongCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerLongGauge(String, String, String, Supplier<LongWithAttributes>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerLongHistogram(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerLongsAsyncCounter(String, String, String, Supplier<Collection<LongWithAttributes>>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerLongsGauge(String, String, String, Supplier<Collection<LongWithAttributes>>) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerLongUpDownCounter(String, String, String) - Method in class org.elasticsearch.telemetry.RecordingMeterRegistry
- registerNamedXContents() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- registerParameters(MapperTestCase.ParameterChecker) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- registerParameters(MapperTestCase.ParameterChecker) - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- registerParameters(MapperTestCase.ParameterChecker) - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- registerParameters(MetadataMapperTestCase.ParameterChecker) - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- registerPlugin() - Method in class org.elasticsearch.test.InternalAggregationTestCase
-
If a test needs to register additional aggregation specs for namedWriteable, etc, this method can be overridden by the implementor.
- registerRemovedTaskListener(RemovedTaskListener) - Method in class org.elasticsearch.test.tasks.MockTaskManager
- registerRepository(String, String, boolean, Settings) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- registerRepository(RestClient, String, String, boolean, Settings) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- registerUpdateCheck(CheckedConsumer<XContentBuilder, IOException>, Consumer<FieldMapper>) - Method in class org.elasticsearch.index.mapper.MapperTestCase.ParameterChecker
-
Register a check that a parameter can be updated, using the minimal mapping as a base
- registerUpdateCheck(CheckedConsumer<XContentBuilder, IOException>, CheckedConsumer<XContentBuilder, IOException>, Consumer<FieldMapper>) - Method in class org.elasticsearch.index.mapper.MapperTestCase.ParameterChecker
-
Register a check that a parameter can be updated
- registerUpdateCheck(XContentBuilder, XContentBuilder, Consumer<DocumentMapper>) - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase.ParameterChecker
- reinitPrimaryShard() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- reinitShard(IndexShard, ShardRouting, IndexMetadata, EngineFactory, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Takes an existing shard, closes it and starts a new initialing shard at the same location
- reinitShard(IndexShard, ShardRouting, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Takes an existing shard, closes it and starts a new initialing shard at the same location
- reinitShard(IndexShard, IndexingOperationListener...) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Takes an existing shard, closes it and starts a new initialing shard at the same location
- reject(Thread) - Method in class org.elasticsearch.test.GraalVMThreadsFilter
- reject(Thread) - Method in class org.elasticsearch.test.NettyGlobalThreadsFilter
- reject(Thread) - Method in class org.elasticsearch.test.TestClustersThreadFilter
- relativeTimeInNanos() - Method in class org.elasticsearch.index.engine.EngineTestCase
-
Supplier of relative timestamps for the engine.
- ReleasableRef<T> - Class in org.elasticsearch.core
-
Adapter to use a
RefCounted
in a try-with-resources block. - release() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- relocate(ShardRouting, String) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- relocate(ShardRouting, String, long) - Static method in class org.elasticsearch.cluster.routing.ShardRoutingHelper
- remoteClusterAlias() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- remoteClusterClientNode() - Static method in class org.elasticsearch.test.NodeRoles
- remoteClusterClientNode(Settings) - Static method in class org.elasticsearch.test.NodeRoles
- remove(int) - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
-
Removes the events with the corresponding id from the history
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.BlockMasterServiceOnMaster
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.BusyMasterServiceDisruption
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- removeAndEnsureHealthy(InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- removeDisruption(MockTransportService, MockTransportService) - Method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkLinkDisruptionType
-
Removes network disruption that was added by
NetworkDisruption.NetworkLinkDisruptionType.applyDisruption(org.elasticsearch.test.transport.MockTransportService, org.elasticsearch.test.transport.MockTransportService)
. - removeFilesystemProvider() - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase
- removeFromCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- removeFromCluster(InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- removeFromCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
- removeFromNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- removeFromNode(String, InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- removeFromNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
- removeHeader(String) - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- removeHeaderWarningAppender() - Method in class org.elasticsearch.test.ESTestCase
- removeIndex(Index, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason, String, Executor, ActionListener<Void>) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- removeListener(MockTaskManagerListener) - Method in class org.elasticsearch.test.tasks.MockTaskManager
- removeListener(TransportConnectionListener) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- removeReaderContext(long) - Method in class org.elasticsearch.search.MockSearchService
- removeRemoteCluster(String) - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- removeReplica(IndexShard) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- removeRetentionLease(String, ActionListener<ReplicationResponse>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- removeRoles(Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.test.NodeRoles
- removeRoles(Settings, Set<DiscoveryNodeRole>) - Static method in class org.elasticsearch.test.NodeRoles
- removesEmptyArrays() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- removeShard(int, String, Executor, ActionListener<Void>) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- renewRetentionLease(String, long, String) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- replaceStashedValues(Map<String, Object>) - Method in class org.elasticsearch.test.rest.Stash
-
Goes recursively against each map entry and replaces any string value starting with "$" with its corresponding value retrieved from the stash
- replicaDeleteForDoc(String, long, long, long) - Method in class org.elasticsearch.index.engine.EngineTestCase
- replicaEngine - Variable in class org.elasticsearch.index.engine.EngineTestCase
- replicaIndexForDoc(ParsedDocument, long, long, boolean) - Method in class org.elasticsearch.index.engine.EngineTestCase
- replicaRequest() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
- ReplicationAction(Request, ActionListener<Response>, ESIndexLevelReplicationTestCase.ReplicationGroup, String) - Constructor for class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction
- ReplicationGroup(IndexMetadata) - Constructor for class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- replicaTranslogDir - Variable in class org.elasticsearch.index.engine.EngineTestCase
- RepositoryFileType - Enum Class in org.elasticsearch.repositories.blobstore
-
The types of blobs in a
BlobStoreRepository
. - repositorySettings(String) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- repositoryType() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- repositoryType() - Method in class org.elasticsearch.repositories.blobstore.ESFsBasedRepositoryIntegTestCase
- ReproduceInfoPrinter - Class in org.elasticsearch.test.junit.listeners
-
A
RunListener
that emits a command you can use to re-run a failing test with the failing random seed toSystem.err
. - ReproduceInfoPrinter() - Constructor for class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
- ReproduceInfoPrinter.GradleMessageBuilder - Class in org.elasticsearch.test.junit.listeners
- request() - Method in class org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase
- request() - Method in class org.elasticsearch.test.TestSearchContext
- request() - Method in record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Returns the value of the
request
record component. - Request(long, String, URI, Map<String, String>, byte[]) - Constructor for class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- requestId() - Method in record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Returns the value of the
requestId
record component. - requestToString(RestRequest) - Static method in class org.elasticsearch.test.rest.FakeRestRequest
- requestUniqueId(HttpExchange) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.ErroneousHttpHandler
- requiresOf(String) - Static method in class org.elasticsearch.test.hamcrest.ModuleDescriptorMatchers
- reroute(ElasticsearchClient, AllocationCommand...) - Static method in class org.elasticsearch.action.admin.cluster.reroute.ClusterRerouteUtils
-
Execute
TransportClusterRerouteAction
with the given (optional) sequence ofAllocationCommand
instances. - reroute(AllocationService, ClusterState) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- rerouteRetryFailed(ElasticsearchClient) - Static method in class org.elasticsearch.action.admin.cluster.reroute.ClusterRerouteUtils
-
Execute
TransportClusterRerouteAction
to reset the allocation failure counter. - rescore() - Method in class org.elasticsearch.test.TestSearchContext
- reset() - Method in class org.elasticsearch.cli.MockTerminal
-
Wipes the input and output.
- reset() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
- reset() - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- reset() - Method in class org.elasticsearch.test.rest.RestActionTestCase.VerifyingClient
-
Clears any previously set verifier functions set by
RestActionTestCase.VerifyingClient.setExecuteVerifier(java.util.function.BiFunction<org.elasticsearch.action.ActionType<R>, org.elasticsearch.action.ActionRequest, R>)
and/orRestActionTestCase.VerifyingClient.setExecuteLocallyVerifier(java.util.function.BiFunction<org.elasticsearch.action.ActionType<?>, org.elasticsearch.action.ActionRequest, org.elasticsearch.action.ActionResponse>)
. - reset(SpatialPoint, double, double) - Method in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- resetCalls() - Method in class org.elasticsearch.telemetry.MetricRecorder
- resetCheckIndexStatus() - Method in class org.elasticsearch.test.ESTestCase
- resetFeatureStates() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Determines whether the system feature reset API should be invoked between tests.
- resetMeter() - Method in class org.elasticsearch.telemetry.TestTelemetryPlugin
- resetMock(Object, MockHandler, MockCreationSettings) - Method in class org.elasticsearch.test.mockito.SecureMockMaker
- resetNodeAfterTest() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
This method returns
true
if the node that is used in the background should be reset after each test. - resetNodeIndexBeforeEachTest() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- resetPortCounter() - Static method in class org.elasticsearch.test.ESTestCase
- resetPortCounterBeforeEachTest() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- resetTerminal() - Method in class org.elasticsearch.cli.CommandTestCase
- resetX(SpatialPoint, double) - Method in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- resetY(SpatialPoint, double) - Method in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- resize(ByteArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
- resize(DoubleArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
- resize(FloatArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
- resize(IntArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
- resize(LongArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
- resize(ObjectArray<T>, long) - Method in class org.elasticsearch.common.util.MockBigArrays
- resolveCustomDataPath(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- resolveIndex(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- resolveIndex(String) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- respond(int, Object) - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
-
Appends a new response event to the history
- Response(int, Map<String, String>, byte[]) - Constructor for record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
-
Creates an instance of a
Response
record class. - RESPONSE - Enum constant in enum class org.elasticsearch.cluster.coordination.LinearizabilityChecker.EventType
- responseAsBytes(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- responseAsMap(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- responseAsOrderedMap(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- responseAsParser(Response) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- responseAsSearchResponse(Response) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- ResponseInjectingHttpHandler - Class in org.elasticsearch.http
- ResponseInjectingHttpHandler(Queue<ResponseInjectingHttpHandler.RequestHandler>, HttpHandler) - Constructor for class org.elasticsearch.http.ResponseInjectingHttpHandler
- ResponseInjectingHttpHandler.FixedRequestHandler - Class in org.elasticsearch.http
- ResponseInjectingHttpHandler.RequestHandler - Interface in org.elasticsearch.http
- responses() - Method in class org.elasticsearch.test.rest.FakeRestChannel
- RestActionTestCase - Class in org.elasticsearch.test.rest
-
A common base class for Rest*ActionTests.
- RestActionTestCase() - Constructor for class org.elasticsearch.test.rest.RestActionTestCase
- RestActionTestCase.VerifyingClient - Class in org.elasticsearch.test.rest
-
A mocked
NodeClient
which can be easily reconfigured to verify arbitrary verification functions, and can be reset to allow reconfiguration partway through a test without having to construct a new object. - restAdminSettings() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns the REST client settings used for admin actions like cleaning up after the test has completed.
- RestartCallback() - Constructor for class org.elasticsearch.test.InternalTestCluster.RestartCallback
- restartNode(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a node.
- restartNode(String, InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a node and calls the callback during restart.
- restartNodesOnBrokenClusterState(ClusterState.Builder) - Method in class org.elasticsearch.test.ESIntegTestCase
- restartRandomDataNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a random data node in the cluster
- restartRandomDataNode(InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a random data node in the cluster and calls the callback during restart.
- RestClientBuilderTestCase - Class in org.elasticsearch.client
-
A test case with access to internals of a RestClient.
- RestClientBuilderTestCase() - Constructor for class org.elasticsearch.client.RestClientBuilderTestCase
- restClientSettings() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Used to obtain settings for the REST client that is used to send REST requests.
- restoreContentType() - Static method in class org.elasticsearch.test.ESTestCase
- restoreFileFromSnapshot(String, IndexId, BlobStoreIndexShardSnapshot.FileInfo, ActionListener<Void>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- restoreFileSystem() - Static method in class org.elasticsearch.test.ESTestCase
- RestoreOnlyRepository - Class in org.elasticsearch.index.shard
-
A dummy repository for testing which just needs restore overridden
- RestoreOnlyRepository(String) - Constructor for class org.elasticsearch.index.shard.RestoreOnlyRepository
- restoreSnapshot(String, String, boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- RestResponseUtils - Class in org.elasticsearch.rest
- RetentionLeaseUtils - Class in org.elasticsearch.index.seqno
- reuseClusters() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- rewrite(Query) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- rewriteAndFetch(QueryBuilder, QueryRewriteContext) - Method in class org.elasticsearch.test.AbstractQueryTestCase
- rewriteQuery(QB, QueryRewriteContext, SearchExecutionContext) - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Simulate rewriting the query builder in stages across the coordinator node and data node.
- rewriteQuery(QB, SearchExecutionContext) - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Simulate rewriting the query builder exclusively on the data node.
- RightTester() - Constructor for class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.RightTester
- roles(Set<DiscoveryNodeRole>) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- rollingRestart(InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts all nodes in a rolling restart fashion ie.
- ROLLUP_REQUESTS_OPTIONS - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- ROLLUPS - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- ROOT_INDEX_LATEST - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- ROOT_INDEX_N - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- rootDoc() - Method in class org.elasticsearch.index.mapper.TestDocumentParserContext
- routingEntry() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- routingKeyForShard(String, int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Compute a routing key that will route documents to the
shard
-th shard of the provided index. - routingNode(String, DiscoveryNode, ShardRouting...) - Static method in class org.elasticsearch.cluster.routing.RoutingNodesHelper
- RoutingNodesHelper - Class in org.elasticsearch.cluster.routing
- run() - Method in class org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
- run(Engine, Translog.Snapshot) - Method in class org.elasticsearch.index.engine.TranslogHandler
- runAllRunnableTasks() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- runAllTasks() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- runAllTasksInTimeOrder() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- runDisrupted(ActionListener<R>, Consumer<ActionListener<R>>) - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.DisruptibleRegisterConnection
-
If disconnected, fail the listener; if blackholed then retain the listener for future failure; otherwise pass the listener to the consumer.
- runDisruptedOrDrop(ActionListener<R>, Consumer<ActionListener<R>>) - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.DisruptibleRegisterConnection
-
If disconnected, fail the listener; if blackholed then do nothing; otherwise pass the listener to the consumer.
- runFor(long, String) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- runInParallel(int, IntConsumer) - Static method in class org.elasticsearch.test.ESTestCase
-
Run
numberOfTasks
parallel tasks that were created by the giventaskFactory
. - RunnableTestRuleAdapter - Class in org.elasticsearch.test.junit
-
Adapts a
CheckedRunnable
to a JUnitTestRule
. - RunnableTestRuleAdapter(CheckedRunnable<Exception>) - Constructor for class org.elasticsearch.test.junit.RunnableTestRuleAdapter
- runPostReplicationActions(ActionListener<Void>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
- runRandomly() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- runRandomly() - Method in class org.elasticsearch.cluster.coordination.CoordinationStateTestCluster
- runRandomTask() - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
-
Runs an arbitrary runnable task.
- runTasksUpToTimeInOrder(long) - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
-
Run all
runnableTasks
anddeferredTasks
that are scheduled to run before or on the giventimeInMillis
. - runtimeFieldMapping(CheckedConsumer<XContentBuilder, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- runtimeMapping(CheckedConsumer<XContentBuilder, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- runWithLoggersRestored(Runnable) - Static method in class org.elasticsearch.common.logging.TestLoggers
-
Util to run a task with the original logger context restored afterwards.
S
- SAFE_AWAIT_TIMEOUT - Static variable in class org.elasticsearch.test.ESTestCase
-
The timeout used for the various "safe" wait methods such as
ESTestCase.safeAwait(java.util.concurrent.CyclicBarrier)
andESTestCase.safeAcquire(java.util.concurrent.Semaphore)
. - safeAcquire(int, Semaphore) - Static method in class org.elasticsearch.test.ESTestCase
-
Acquire the specified number of permits from the given
Semaphore
, with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and asserting that the permits were all successfully acquired. - safeAcquire(Semaphore) - Static method in class org.elasticsearch.test.ESTestCase
-
Acquire a single permit from the given
Semaphore
, with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and asserting that the permit was successfully acquired. - safeAwait(CountDownLatch) - Static method in class org.elasticsearch.test.ESTestCase
-
Await on the given
CountDownLatch
with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and asserting that the latch is indeed completed before the timeout. - safeAwait(CountDownLatch, TimeValue) - Static method in class org.elasticsearch.test.ESTestCase
-
Await on the given
CountDownLatch
with a supplied timeout, preserving the thread's interrupt status flag and asserting that the latch is indeed completed before the timeout. - safeAwait(CyclicBarrier) - Static method in class org.elasticsearch.test.ESTestCase
-
Await on the given
CyclicBarrier
with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting all exceptions into anAssertionError
to trigger a test failure. - safeAwait(SubscribableListener<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for the successful completion of the given
SubscribableListener
, with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting all exceptions into anAssertionError
to trigger a test failure. - safeAwait(CheckedConsumer<ActionListener<T>, ?>) - Static method in class org.elasticsearch.test.ESTestCase
-
Call an async action (a
Consumer
of anActionListener
), wait for it to complete the listener, and then return the result. - safeAwaitAndUnwrapFailure(Class<ExpectedException>, Class<Response>, Consumer<ActionListener<Response>>) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for the exceptional completion of the given async action, with a timeout of
ESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting a successful completion, interrupt or timeout into anAssertionError
to trigger a test failure. - safeAwaitFailure(Class<ExpectedException>, Class<Response>, Consumer<ActionListener<Response>>) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for the exceptional completion of the given async action, with a timeout of
ESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting a successful completion, interrupt or timeout into anAssertionError
to trigger a test failure. - safeAwaitFailure(Class<T>, Consumer<ActionListener<T>>) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for the exceptional completion of the given async action, with a timeout of
ESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting a successful completion, interrupt or timeout into anAssertionError
to trigger a test failure. - safeAwaitFailure(Consumer<ActionListener<T>>) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for the exceptional completion of the given async action, with a timeout of
ESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting a successful completion, interrupt or timeout into anAssertionError
to trigger a test failure. - safeAwaitFailure(SubscribableListener<?>) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for the exceptional completion of the given
SubscribableListener
, with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting a successful completion, interrupt or timeout into anAssertionError
to trigger a test failure. - safeExecute(ActionType<T>, ActionRequest) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Execute the given
ActionRequest
using the givenActionType
and a default node client, wait for it to complete with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, and then return the result. - safeExecute(ActionType<T>, ActionRequest) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Execute the given
ActionRequest
using the givenActionType
and the default node client, wait for it to complete with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, and then return the result. - safeExecute(ElasticsearchClient, ActionType<T>, ActionRequest) - Static method in class org.elasticsearch.test.ESTestCase
-
Execute the given
ActionRequest
using the givenActionType
and the givenElasticsearchClient
, wait for it to complete with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, and then return the result. - safeGet(Future<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Wait for the successful completion of the given
Future
, with a timeout ofESTestCase.SAFE_AWAIT_TIMEOUT
, preserving the thread's interrupt status flag and converting all exceptions into anAssertionError
to trigger a test failure. - safeGet(CheckedSupplier<T, ?>) - Static method in class org.elasticsearch.test.ESTestCase
-
Call a
CheckedSupplier
, converting all exceptions into anAssertionError
. - safeSleep(long) - Static method in class org.elasticsearch.test.ESTestCase
-
Send the current thread to sleep for the given number of milliseconds, asserting that the sleep is not interrupted but preserving the thread's interrupt status flag in any case.
- safeSleep(TimeValue) - Static method in class org.elasticsearch.test.ESTestCase
-
Send the current thread to sleep for the given duration, asserting that the sleep is not interrupted but preserving the thread's interrupt status flag in any case.
- SAMPLE - Static variable in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
-
Sample test case
- samplePointDataMultiFormat(Point, Point, Point, Point) - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
-
Produce an array of objects each representing a single point in a variety of supported point formats.
- SCALED_FLOAT - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- ScaledFloatFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- ScaledFloatFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.ScaledFloatFieldDataGenerator
- scaledRandomIntBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a "scaled" random number between min and max (inclusive).
- scheduleAt(long, Runnable) - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
-
Schedule a task for future execution.
- scheduleAtAndRunUpTo(long, Runnable) - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
-
Similar to
DeterministicTaskQueue.scheduleAt(long, java.lang.Runnable)
but also advance time toexecutionTimeMillis
and run all eligible tasks. - scheduleNow(Runnable) - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
-
Schedule a task for immediate execution.
- scope() - Element in annotation interface org.elasticsearch.test.ESIntegTestCase.ClusterScope
-
Returns the scope.
- ScoreAccessor - Class in org.elasticsearch.script
-
A float encapsulation that dynamically accesses the score of a document.
- ScoreAccessor(Scorable) - Constructor for class org.elasticsearch.script.ScoreAccessor
- script(String) - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- ScriptedBlockPlugin() - Constructor for class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- scriptFields() - Method in class org.elasticsearch.test.TestSearchContext
- scriptService(ScriptContext<F>, F) - Static method in class org.elasticsearch.index.mapper.TestScriptEngine
- scrollContext() - Method in class org.elasticsearch.test.TestSearchContext
- SEARCH_BLOCK_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- SEARCHABLE_SNAPSHOTS - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- searchAfter() - Method in class org.elasticsearch.test.TestSearchContext
- searchAfter(FieldDoc) - Method in class org.elasticsearch.test.TestSearchContext
- searchAndReduce(IndexReader, AggregatorTestCase.AggTestConfig) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Collects all documents that match the provided query
Query
and returns the reducedInternalAggregation
. - searcher() - Method in class org.elasticsearch.test.TestSearchContext
- SearcherHelper - Class in org.elasticsearch.index.shard
- SearcherHelper() - Constructor for class org.elasticsearch.index.shard.SearcherHelper
- SearchExecutionContextHelper - Class in org.elasticsearch.index.query
- searchHitFromMap(Map<String, Object>) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
- SearchResponseUtils - Enum Class in org.elasticsearch.search
- SearchShardBlockingPlugin() - Constructor for class org.elasticsearch.test.AbstractSearchCancellationTestCase.SearchShardBlockingPlugin
- searchType() - Method in class org.elasticsearch.test.TestSearchContext
- SecureAnnotationEngine - Class in org.elasticsearch.test.mockito
- SecureAnnotationEngine() - Constructor for class org.elasticsearch.test.mockito.SecureAnnotationEngine
- SecureMockMaker - Class in org.elasticsearch.test.mockito
-
A
MockMaker
that works withSecurityManager
. - SecureMockMaker() - Constructor for class org.elasticsearch.test.mockito.SecureMockMaker
- SecureObjectInstantiatorProvider - Class in org.elasticsearch.test.mockito
-
A wrapper around the default provider which itself just wraps
Instantiator
instances to play nice withSecurityManager
. - SecureObjectInstantiatorProvider() - Constructor for class org.elasticsearch.test.mockito.SecureObjectInstantiatorProvider
- secureRandom() - Static method in class org.elasticsearch.test.ESTestCase
-
In non-FIPS mode, get a deterministic SecureRandom SHA1PRNG/SUN instance seeded by deterministic LuceneTestCase.random().
- secureRandom(byte[]) - Static method in class org.elasticsearch.test.ESTestCase
-
In non-FIPS mode, get a deterministic SecureRandom SHA1PRNG/SUN instance seeded by the input value.
- secureRandomFips() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns non-deterministic FIPS SecureRandom DEFAULT/BCFIPS instance.
- secureRandomFips(byte[]) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns non-deterministic FIPS SecureRandom DEFAULT/BCFIPS instance.
- secureRandomNonFips() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns deterministic non-FIPS SecureRandom SHA1PRNG/SUN instance seeded by deterministic LuceneTestCase.random().
- secureRandomNonFips(byte[]) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns deterministic non-FIPS SecureRandom SHA1PRNG/SUN instance seeded by deterministic LuceneTestCase.random().
- seed() - Method in class org.elasticsearch.test.TestCluster
- SeenEventExpectation(String, String, Level, String) - Constructor for class org.elasticsearch.test.MockLog.SeenEventExpectation
- seenLatch - Variable in class org.elasticsearch.test.MockLog.AbstractEventExpectation
- sendIncompleteContent(HttpExchange, byte[]) - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- sendMessage(BytesReference, ActionListener<Void>) - Method in class org.elasticsearch.transport.FakeTcpChannel
- sendRequest(long, String, TransportRequest, TransportRequestOptions) - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- sendRequest(Transport.Connection, long, String, TransportRequest, TransportRequestOptions) - Method in interface org.elasticsearch.test.transport.StubbableTransport.SendRequestBehavior
- sendResponse(Exception) - Method in class org.elasticsearch.transport.TestTransportChannel
- sendResponse(HttpResponse, ActionListener<Void>) - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpChannel
- sendResponse(RestResponse) - Method in class org.elasticsearch.test.rest.FakeRestChannel
- sendResponse(TransportResponse) - Method in class org.elasticsearch.transport.TestTransportChannel
- seqNo() - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Returns the value of the
seqNo
record component. - seqNoAndPrimaryTerm() - Method in class org.elasticsearch.test.TestSearchContext
- seqNoAndPrimaryTerm(boolean) - Method in class org.elasticsearch.test.TestSearchContext
- serializableScript() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- serialize(RecyclerBytesStreamOutput) - Method in class org.elasticsearch.transport.TestOutboundRequestMessage
- serverUrl() - Static method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- serviceA - Variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- serviceB - Variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- ServiceDisruptionScheme - Interface in org.elasticsearch.test.disruption
- set(long) - Method in class org.elasticsearch.index.engine.EngineTestCase.PrimaryTermSupplier
- setAllElapsedMillis(ClusterStatePublicationEvent) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- setBeforeExecution(Runnable) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- setBlockAndFailOnReadIndexFiles() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockAndFailOnReadSnapFiles() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockAndFailOnWriteIndexFile() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockAndFailOnWriteShardLevelMeta() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockAndFailOnWriteSnapFiles() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockOnAnyFiles() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockOnceOnReadSnapshotInfoIfAlreadyBlocked() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
-
Enable blocking a single read of
SnapshotInfo
in case the repo is already blocked on another file. - setBlockOnDeleteIndexFile() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockOnReadIndexMeta() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockOnShardLevelSnapFiles(String) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockOnWriteIndexFile() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBlockOnWriteShardLevelMeta() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setBootstrapMasterNodeIndex(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
Sets
InternalTestCluster.bootstrapMasterNodeIndex
to the given value, seeInternalTestCluster.bootstrapMasterNodeWithSpecifiedIndex(List)
for the description of how this field is used. - setClusterName(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setClusterReadOnly(boolean) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Sets or unsets the cluster read_only mode
- setClusterUuid(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setComponent(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setContentType() - Static method in class org.elasticsearch.test.ESTestCase
- setDataset(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setDefaultConnectBehavior(StubbableTransport.OpenConnectionBehavior) - Method in class org.elasticsearch.test.transport.StubbableTransport
- setDefaultGetConnectionBehavior(StubbableConnectionManager.GetConnectionBehavior) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- setDefaultNodeConnectedBehavior(StubbableConnectionManager.NodeConnectedBehavior) - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- setDiskUsageFunctionAndRefresh(BiFunction<DiscoveryNode, FsInfo.Path, FsInfo.Path>) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
- setDisruptionScheme(ServiceDisruptionScheme) - Method in class org.elasticsearch.test.ESIntegTestCase
- setDisruptionScheme(ServiceDisruptionScheme) - Method in class org.elasticsearch.test.InternalTestCluster
- setExecuteLocallyVerifier(BiFunction<ActionType<?>, ActionRequest, ActionResponse>) - Method in class org.elasticsearch.test.rest.RestActionTestCase.VerifyingClient
-
Sets the function that will be called when
RestActionTestCase.VerifyingClient.executeLocally(ActionType, ActionRequest, ActionListener)
is called. - setExecuteVerifier(BiFunction<ActionType<R>, ActionRequest, R>) - Method in class org.elasticsearch.test.rest.RestActionTestCase.VerifyingClient
-
Sets the function that will be called when
RestActionTestCase.VerifyingClient.doExecute(ActionType, ActionRequest, ActionListener)
is called. - setExecutionDelayVariabilityMillis(long) - Method in class org.elasticsearch.common.util.concurrent.DeterministicTaskQueue
- setExpectSeen() - Method in class org.elasticsearch.test.MockLog.EventuallySeenEventExpectation
- setFailOnDeleteContainer(boolean) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
-
Sets the fail-on-delete-container flag, which if
true
throws an exception when deleting aBlobContainer
. - setFailOnIndexLatest(boolean) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setFailReadsAfterUnblock(boolean) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setFailureAssertion(Consumer<Exception>) - Method in class org.elasticsearch.test.BackgroundIndexer
-
Set a consumer that can be used to run assertions on failures during indexing.
- setFile(String, byte[]) - Method in class org.elasticsearch.common.settings.MockSecureSettings
- setFileSystem() - Static method in class org.elasticsearch.test.ESTestCase
- setHeaderWarningAppender() - Method in class org.elasticsearch.test.ESTestCase
- setIgnoredErrorResponseCodes(Request, RestStatus...) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- setIgnoreIndexingFailures(boolean) - Method in class org.elasticsearch.test.BackgroundIndexer
- setLevel(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setMaximumNumberOfFailures(long) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setMaxNumberOfBuckets(int) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- setMessage(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setMessageListener(TransportMessageListener) - Method in class org.elasticsearch.test.transport.FakeTransport
- setMessageListener(TransportMessageListener) - Method in class org.elasticsearch.test.transport.MockTransport
- setMessageListener(TransportMessageListener) - Method in class org.elasticsearch.test.transport.StubbableTransport
- setNanoTimeOverride(long) - Method in class org.elasticsearch.cluster.ESAllocationTestCase.MockAllocationService
- setNewDelegate(IndexEventListener) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- setNodeId(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setNodeName(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setOnCheckCancelled(Function<SearchShardTask, SearchShardTask>) - Method in class org.elasticsearch.search.MockSearchService
- setOnConnectionClosedCallback(Consumer<Transport.Connection>) - Method in class org.elasticsearch.test.transport.MockTransportService
- setOnCreateSearchContext(Consumer<SearchContext>) - Method in class org.elasticsearch.search.MockSearchService
- setOnPutContext(Consumer<ReaderContext>) - Method in class org.elasticsearch.search.MockSearchService
- setOnRemoveContext(Consumer<ReaderContext>) - Method in class org.elasticsearch.search.MockSearchService
- setPermissions(Set<PosixFilePermission>) - Method in class org.elasticsearch.test.PosixPermissionsResetter
- setRandomControlIOExceptionRate(double) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setRandomDataFileIOExceptionRate(double) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setRandomIndexSettings(Random, Settings.Builder) - Method in class org.elasticsearch.test.ESIntegTestCase
- setRandomIOExceptionPattern(String) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setReplicaCount(int, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
- setRequestTimeout(TimeValue) - Method in class org.elasticsearch.test.BackgroundIndexer
- setRunOnNewReaderContext(Consumer<ReaderContext>) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.SearchShardBlockingPlugin
- setSearcher(ContextIndexSearcher) - Method in class org.elasticsearch.test.TestSearchContext
- setShardInfo(ReplicationResponse.ShardInfo) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
- setShardSizeFunctionAndRefresh(Function<ShardRouting, Long>) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
- setSize(int) - Method in class org.elasticsearch.test.TestSearchContext
- setStacktrace(List<String>) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setState(ClusterApplierService, ClusterState) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- setState(ClusterService, ClusterState) - Static method in class org.elasticsearch.test.ClusterServiceUtils
-
Sets the state on the cluster applier service
- setState(ClusterService, ClusterState.Builder) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- setState(MasterService, ClusterState) - Static method in class org.elasticsearch.test.ClusterServiceUtils
- setString(String, String) - Method in class org.elasticsearch.common.settings.MockSecureSettings
- setSubAggregationsSupplier(Supplier<InternalAggregations>) - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- setSupportsBinary(boolean) - Method in class org.elasticsearch.cli.MockTerminal
- setTags(List<String>) - Method in class org.elasticsearch.common.logging.JsonLogLine
- setTask(SearchShardTask) - Method in class org.elasticsearch.test.TestSearchContext
- setTimestamp(String) - Method in class org.elasticsearch.common.logging.JsonLogLine
- settings(Settings) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase.TestMapperServiceBuilder
- settings(Settings.Builder, Settings.Builder) - Method in interface org.elasticsearch.logsdb.datageneration.matchers.Matcher.SettingsStep
- settings(IndexVersion) - Static method in class org.elasticsearch.test.ESTestCase
-
Return consistent index settings for the provided index version.
- SETTINGS - Static variable in class org.elasticsearch.index.mapper.MapperServiceTestCase
- setTotalSpace(long) - Method in class org.elasticsearch.cluster.DiskUsageIntegTestCase.TestFileStore
- setup() - Static method in class org.elasticsearch.core.PathUtilsForTesting
-
Sets a new default filesystem for testing
- setUp() - Method in class org.elasticsearch.common.lucene.store.ESIndexInputTestCase
- setUp() - Method in class org.elasticsearch.index.engine.EngineTestCase
- setUp() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- setUp() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- setUp() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- setUp() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Setup for the whole base test class.
- setUp() - Method in class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- setUp() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- setUp() - Method in class org.elasticsearch.test.InternalMultiBucketAggregationTestCase
- setUp() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- setUpClass() - Static method in class org.elasticsearch.test.ESSingleNodeTestCase
- setUpController() - Method in class org.elasticsearch.test.rest.RestActionTestCase
- setUpdateFrequency(InternalClusterInfoService, TimeValue) - Static method in class org.elasticsearch.cluster.ClusterInfoServiceUtils
- setUpdateFrequency(TimeValue) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
- setupForTest() - Method in class org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase
- setUpHttpServer() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- setupSuiteScopeCluster() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- setupSuiteScopeCluster() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- setupSuiteScopeCluster() - Method in class org.elasticsearch.test.ESIntegTestCase
-
This method is executed iff the test is annotated with
ESIntegTestCase.SuiteScopeTestCase
before the first test of this class is executed. - setupTestCluster() - Method in class org.elasticsearch.test.ESIntegTestCase
- setUpThreadPool() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- setupTransportServiceWithThreadpoolExecutor() - Static method in class org.elasticsearch.test.MockUtils
-
Sets up a mock TransportService that can answer calls to TransportService.getThreadPool().executor(String).
- setupTransportServiceWithThreadpoolExecutor(ThreadPool) - Static method in class org.elasticsearch.test.MockUtils
-
Sets up a mock TransportService that can answer calls to TransportService.getThreadPool().executor(String), using the given threadPool in TransportService.
- setUseLuceneCorruptionException(boolean) - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- setValue(ClusterState, int, long) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- setValue(ClusterState, long) - Static method in class org.elasticsearch.cluster.coordination.CoordinationStateTestCluster
- shapeQuery(String, String) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
- shapeQuery(String, String) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- shapeQuery(String, Geometry) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
-
A filter based on the relationship of a shape and indexed shapes
- shapeQuery(String, Geometry) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- ShapeTestUtils - Class in org.elasticsearch.geo
-
generates random cartesian shapes
- ShapeTestUtils() - Constructor for class org.elasticsearch.geo.ShapeTestUtils
- SHARD_DATA - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- SHARD_GENERATION - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- SHARD_SNAPSHOT_INFO - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- shardId - Variable in class org.elasticsearch.index.engine.EngineTestCase
- shardId() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- shardRoutingBuilder(String, int, String, boolean, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- shardRoutingBuilder(ShardId, String, boolean, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
- shardRoutingChanged(IndexShard, ShardRouting, ShardRouting) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- ShardRoutingHelper - Class in org.elasticsearch.cluster.routing
-
A helper class that allows access to package private APIs for testing.
- ShardRoutingHelper() - Constructor for class org.elasticsearch.cluster.routing.ShardRoutingHelper
- shardRoutings() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- shardsAllocator - Variable in class org.elasticsearch.cluster.ESAllocationTestCase.MockAllocationService
- shardsWithState(RoutingNodes, String, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.RoutingNodesHelper
- shardsWithState(RoutingNodes, ShardRoutingState) - Static method in class org.elasticsearch.cluster.routing.RoutingNodesHelper
- shardTarget() - Method in class org.elasticsearch.test.TestSearchContext
- SHORT - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- ShortFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- ShortFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.ShortFieldDataGenerator
- ShortGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ShortGenerator
-
Creates an instance of a
ShortGenerator
record class. - ShortGenerator(Supplier<Short>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ShortGenerator
-
Creates an instance of a
ShortGenerator
record class. - shouldBeCached() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
shouldBeCached
record component. - shouldBeSame(T) - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Should this copy be the same instance as what we're copying? Defaults to
false
but implementers might override if the serialization returns a reuse constant. - shouldCheckScores() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- shouldUseIgnoreMalformed() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- shuffledList(List<T>) - Static method in class org.elasticsearch.test.ESTestCase
- shuffleFieldsExceptions(String[]) - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- shuffleMap(LinkedHashMap<String, Object>, Set<String>) - Static method in class org.elasticsearch.test.ESTestCase
- shuffleProtectedFields() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Subclasses can override this method and return an array of fieldnames which should be protected from recursive random shuffling in the
AbstractQueryTestCase.testFromXContent()
test case - shuffleXContent(XContentBuilder, String...) - Method in class org.elasticsearch.test.ESTestCase
-
Randomly shuffles the fields inside objects in the
XContentBuilder
passed in. - shuffleXContent(XContentParser, boolean, String...) - Static method in class org.elasticsearch.test.ESTestCase
-
Randomly shuffles the fields inside objects parsed using the
XContentParser
passed in. - shutdown() - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- SHUTDOWN - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- shutdownNow() - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- SimpleDiffableSerializationTestCase<T> - Class in org.elasticsearch.test
-
An abstract test case to ensure correct behavior of Diffable.
- SimpleDiffableSerializationTestCase() - Constructor for class org.elasticsearch.test.SimpleDiffableSerializationTestCase
- SimpleDiffableWireSerializationTestCase<T> - Class in org.elasticsearch.test
-
An abstract test case to ensure correct behavior of Diffable.
- SimpleDiffableWireSerializationTestCase() - Constructor for class org.elasticsearch.test.SimpleDiffableWireSerializationTestCase
- simpleMappedFieldType() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- simulateMethod(Method, Object[]) - Method in class org.elasticsearch.test.AbstractBuilderTestCase
-
Override this to simulate client calls.
- SINGLE_SHARD_NO_REPLICA - Static variable in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- SINGLE_VALUED_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- singleBottomRight - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- singleCentroid - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- singleContext(ScriptContext<T>, Function<String, T>, Map<String, StoredScriptSource>) - Static method in class org.elasticsearch.script.MockScriptService
- SingleNodeDisruption - Class in org.elasticsearch.test.disruption
- SingleNodeDisruption(Random) - Constructor for class org.elasticsearch.test.disruption.SingleNodeDisruption
- singleTopLeft - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- singleValues - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- singleValueScript() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- size() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- size() - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
-
Returns the number of recorded events
- size() - Method in class org.elasticsearch.index.mapper.TestBlock
- size() - Method in class org.elasticsearch.test.ExternalTestCluster
-
Deprecated.
- size() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
-
Returns the value of the
size
record component. - size() - Method in class org.elasticsearch.test.InternalTestCluster
- size() - Method in class org.elasticsearch.test.TestCluster
-
Returns the number of nodes in the cluster.
- size() - Method in class org.elasticsearch.test.TestSearchContext
- size() - Method in class org.elasticsearch.test.transport.StubbableConnectionManager
- size(int) - Method in class org.elasticsearch.test.TestSearchContext
- skipTestWaitingForLuceneFix(Version, String) - Method in class org.elasticsearch.test.ESTestCase
-
Call method at the beginning of a test to disable its execution until a given Lucene version is released and integrated into Elasticsearch
- skipUnavailableForRemoteClusters() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- SkipUnavailableRule - Class in org.elasticsearch.test
-
Test rule to process skip_unavailable override annotations
- SkipUnavailableRule(String...) - Constructor for class org.elasticsearch.test.SkipUnavailableRule
- SkipUnavailableRule.NotSkipped - Annotation Interface in org.elasticsearch.test
-
Annotation to mark specific cluster in a test as not to be skipped when unavailable
- slice(int, int) - Method in class org.elasticsearch.common.bytes.ZeroBytesReference
- SLM - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- SlowClusterStateProcessing - Class in org.elasticsearch.test.disruption
- SlowClusterStateProcessing(String, Random) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- SlowClusterStateProcessing(String, Random, long, long, long, long) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- SlowClusterStateProcessing(Random) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- SlowClusterStateProcessing(Random, long, long, long, long) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- SMALL_SNAPSHOT_POOL_SETTINGS - Static variable in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- smartClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a "smart" node client to a random node in the cluster
- SNAPSHOT_INFO - Enum constant in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
- SNAPSHOT_INFO_SERVICE_WITH_NO_SHARD_SIZES - Static variable in class org.elasticsearch.cluster.ESAllocationTestCase
- SnapshotInfoBuilder() - Constructor for class org.elasticsearch.snapshots.SnapshotInfoUtils.SnapshotInfoBuilder
- snapshotInfoFromXContent(XContentParser) - Static method in class org.elasticsearch.snapshots.SnapshotInfoUtils
- SnapshotInfoUtils - Class in org.elasticsearch.snapshots
- SnapshotInfoUtils.SnapshotInfoBuilder - Class in org.elasticsearch.snapshots
- snapshotShard(IndexShard, Snapshot, Repository) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
-
Snapshot a shard using a given repository.
- snapshotShard(SnapshotShardContext) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- snapshotThreadPoolStats(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- sort() - Method in class org.elasticsearch.test.TestSearchContext
- sort(SortAndFormats) - Method in class org.elasticsearch.test.TestSearchContext
- SortedDocValues - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- SortedSetDocValues - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- source() - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Returns the value of the
source
record component. - source() - Method in class org.elasticsearch.test.TestSearchContext
- source(String) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Build a
SourceToParse
with an id of"1"
. - source(String, CheckedConsumer<XContentBuilder, IOException>, String) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Build a
SourceToParse
without any dynamic templates. - source(String, CheckedConsumer<XContentBuilder, IOException>, String, Map<String, String>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Build a
SourceToParse
. - source(CheckedConsumer<XContentBuilder, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
-
Build a
SourceToParse
with the id"1"
and without any dynamic templates. - SOURCE - Static variable in class org.elasticsearch.index.engine.EngineTestCase
- SourceMatcher - Class in org.elasticsearch.logsdb.datageneration.matchers.source
- SourceMatcher(XContentBuilder, Settings.Builder, XContentBuilder, Settings.Builder, List<Map<String, Object>>, List<Map<String, Object>>, boolean) - Constructor for class org.elasticsearch.logsdb.datageneration.matchers.source.SourceMatcher
- sourceRequested() - Method in class org.elasticsearch.test.TestSearchContext
- SpatialBoundsAggregationTestBase<T> - Class in org.elasticsearch.search.aggregations.metrics
- SpatialBoundsAggregationTestBase() - Constructor for class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- SpatialQueryBuilders<T> - Interface in org.elasticsearch.search.geo
-
This interface allows tests to abstract away which exact QueryBuilder is used in the tests.
- SpatialQueryBuilders.Geo - Class in org.elasticsearch.search.geo
- specification() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ChildFieldGenerator
-
Returns the value of the
specification
record component. - spinForAtLeastNMilliseconds(long) - Static method in class org.elasticsearch.test.ESTestCase
- spinForAtLeastOneMillisecond() - Static method in class org.elasticsearch.test.ESTestCase
- splitLeavesIntoSeparateAggregators() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
splitLeavesIntoSeparateAggregators
record component. - SPY_TASK_MANAGER_SETTING - Static variable in class org.elasticsearch.test.tasks.MockTaskManager
- stabilise() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
-
Uses a default period of time in which to wait for cluster stabilisation, and then verifies that a master has been elected.
- stabilise(long) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- stacktrace() - Method in class org.elasticsearch.common.logging.JsonLogLine
- start() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
-
Returns the value of the
start
record component. - start() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.Range
-
Returns the value of the
start
record component. - start() - Method in class org.elasticsearch.test.transport.StubbableTransport
- start(int) - Method in class org.elasticsearch.test.BackgroundIndexer
-
Start indexing
- start(Settings, NodeEnvironment, NamedXContentRegistry) - Method in class org.elasticsearch.gateway.MockGatewayMetaState
- startAll() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- startBreaking() - Method in class org.elasticsearch.common.breaker.TestCircuitBreaker
- startClusters() - Method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- startCoordinatingOnlyNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
- startDataNodeWithLargeSnapshotPool() - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- startDataOnlyNode() - Method in class org.elasticsearch.test.InternalTestCluster
- startDataOnlyNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
- startDataOnlyNodes(int) - Method in class org.elasticsearch.test.InternalTestCluster
- startDataOnlyNodes(int, Settings) - Method in class org.elasticsearch.test.InternalTestCluster
- startDeleteSnapshot(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- startDeleteSnapshots(String, List<String>, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- startDisrupting() - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
- startDisrupting() - Method in class org.elasticsearch.test.disruption.BlockMasterServiceOnMaster
- startDisrupting() - Method in class org.elasticsearch.test.disruption.BusyMasterServiceDisruption
- startDisrupting() - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- startDisrupting() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- startDisrupting() - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- startFullSnapshot(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- startFullSnapshot(String, String, boolean) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- startFullSnapshot(Logger, String, String, boolean) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- startFullSnapshotBlockedOnDataNode(String, String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- startHttpServer() - Static method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- startInitializingShardsAndReroute(AllocationService, ClusterState) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
-
Mark all initializing shards as started, then perform a reroute (which may start some other shards initializing).
- startInitializingShardsAndReroute(AllocationService, ClusterState, String) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
-
Mark all initializing shards for the given index as started, then perform a reroute (which may start some other shards initializing).
- startInitializingShardsAndReroute(AllocationService, ClusterState, RoutingNode) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
-
Mark all initializing shards on the given node as started, then perform a reroute (which may start some other shards initializing).
- startInParallel(int, IntConsumer) - Static method in class org.elasticsearch.test.ESTestCase
-
Same as
ESTestCase.runInParallel(int, IntConsumer)
but also attempts to start all tasks at the same time by blocking execution on a barrier until all threads are started and ready to execute their task. - startMasterOnlyNode() - Method in class org.elasticsearch.test.InternalTestCluster
- startMasterOnlyNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
- startMasterOnlyNodes(int) - Method in class org.elasticsearch.test.InternalTestCluster
- startMasterOnlyNodes(int, Settings) - Method in class org.elasticsearch.test.InternalTestCluster
- startNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with default settings and returns its name.
- startNode(long) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- startNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with the given settings and returns its name.
- startNode(Settings.Builder) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with the given settings builder and returns its name.
- startNodes(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts multiple nodes with default settings and returns their names
- startNodes(int, Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts multiple nodes with the given settings and returns their names
- startNodes(Settings...) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts multiple nodes with the given settings and returns their names
- startPrimary() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- startRandomInitializingShard(ClusterState, AllocationService) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- startReplicaAfterRecovery(IndexShard, IndexShard, Set<String>, IndexShardRoutingTable) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- startReplicas(int) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- startShardsAndReroute(AllocationService, ClusterState, List<ShardRouting>) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
-
Mark the given shards as started, then perform a reroute (which may start some other shards initializing).
- startShardsAndReroute(AllocationService, ClusterState, ShardRouting...) - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
-
Mark the given shards as started, then perform a reroute (which may start some other shards initializing).
- startVerification() - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- Stash - Class in org.elasticsearch.test.rest
-
Allows to cache the last obtained test response and or part of it within variables that can be used as input values in following requests and assertions.
- Stash() - Constructor for class org.elasticsearch.test.rest.Stash
- stashValue(String, Object) - Method in class org.elasticsearch.test.rest.Stash
-
Allows to saved a specific field in the stash as key-value pair
- state() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- state(int, String[], int) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with the given indices, each index containing #(numberOfPrimaries) started primary shards and no replicas.
- state(String, boolean, ShardRoutingState, List<Tuple<ShardRoutingState, ShardRouting.Role>>) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with and index that has one shard and #(replicaStates) replicas with given roles
- state(String, boolean, ShardRoutingState, ShardRouting.Role, List<Tuple<ShardRoutingState, ShardRouting.Role>>) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with and index that has one shard and #(replicaStates) replicas with given roles
- state(String, boolean, ShardRoutingState, ShardRoutingState...) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with and index that has one shard and #(replicaStates) replicas
- state(String, int, int) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with an index that has #(numberOfPrimaries) primary shards in the started state and no replicas.
- state(DiscoveryNode, DiscoveryNode, DiscoveryNode...) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates a cluster state where local node and master node can be specified
- state(DiscoveryNode, DiscoveryNode, DiscoveryNode[], TransportVersion) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates a cluster state where local node and master node can be specified
- state(DiscoveryNode, DiscoveryNode, DiscoveryNode, DiscoveryNode...) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates a cluster state where local node, master and health node can be specified
- state(DiscoveryNode, DiscoveryNode, DiscoveryNode, DiscoveryNode[], TransportVersion) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates a cluster state where local node, master and health node can be specified
- stateWithActivePrimary(String, boolean, int) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with and index that has one shard and as many replicas as numberOfReplicas.
- stateWithActivePrimary(String, boolean, int, int) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with and index that has one shard and as many replicas as numberOfReplicas.
- stateWithAssignedPrimariesAndOneReplica(String, int) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with several shards and one replica and all shards STARTED.
- stateWithAssignedPrimariesAndReplicas(String[], int, int) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with several indexes, shards and replicas and all shards STARTED.
- stateWithAssignedPrimariesAndReplicas(String[], int, List<ShardRouting.Role>) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with several indexes, shards and replicas (with given roles) and all shards STARTED.
- stateWithAssignedPrimariesAndReplicasWithState(String[], int, List<Tuple<ShardRoutingState, ShardRouting.Role>>) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with several indexes, shards and replicas (with given roles and state) and all primary shards STARTED.
- stateWithAssignedPrimariesAndReplicasWithState(String[], int, ShardRouting.Role, List<Tuple<ShardRoutingState, ShardRouting.Role>>) - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates cluster state with several indexes, shards and replicas (with given roles and state) and all primary shards STARTED.
- stateWithNoShard() - Static method in class org.elasticsearch.action.support.replication.ClusterStateCreationUtils
-
Creates a cluster state with no index
- staticCurrent() - Static method in class org.elasticsearch.cluster.version.CompatibilityVersionsUtils
-
Current compatibility versions that can be determined statically
- staticRandom() - Static method in class org.elasticsearch.cluster.version.CompatibilityVersionsUtils
-
Random versions of values that can be chosen statically (as opposed to those that are loaded from plugins at startup time).
- stats() - Method in class org.elasticsearch.indices.CrankyCircuitBreakerService
- stats() - Method in class org.elasticsearch.snapshots.mockstore.BlobStoreWrapper
- stats() - Method in class org.elasticsearch.test.MockHttpTransport
- stats(String) - Method in class org.elasticsearch.indices.CrankyCircuitBreakerService
- status() - Method in record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
-
Returns the value of the
status
record component. - stop() - Method in class org.elasticsearch.test.BackgroundIndexer
-
Stop all background threads but don't wait for ongoing indexing operations to finish *
- stop() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture
- stop() - Method in class org.elasticsearch.test.transport.StubbableTransport
- stopAndAwaitStopped() - Method in class org.elasticsearch.test.BackgroundIndexer
-
Stop all background threads and wait for ongoing indexing operations to finish *
- stopBreaking() - Method in class org.elasticsearch.common.breaker.TestCircuitBreaker
- stopClusters() - Static method in class org.elasticsearch.test.AbstractMultiClustersTestCase
- stopCurrentMasterNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops the current master node forcefully
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.BlockMasterServiceOnMaster
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.BusyMasterServiceDisruption
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- stopDisrupting() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
- stopHttpServer() - Static method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- stopNode(String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- stopNode(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops a specific node in the cluster.
- StoppableExecutorServiceWrapper - Class in org.elasticsearch.common.util.concurrent
-
Wrapper around an
ExecutorService
which fakes responses to shutdown-related methods. - StoppableExecutorServiceWrapper(ExecutorService) - Constructor for class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- stopRandomDataNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops a random data node in the cluster.
- stopRandomNonMasterNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops any of the current nodes but not the master node.
- store - Variable in class org.elasticsearch.index.engine.EngineTestCase
- storedFieldsContext() - Method in class org.elasticsearch.test.TestSearchContext
- storedFieldsContext(StoredFieldsContext) - Method in class org.elasticsearch.test.TestSearchContext
- StoredScriptIntegTestUtils - Class in org.elasticsearch.action.admin.cluster.storedscripts
- storeReplica - Variable in class org.elasticsearch.index.engine.EngineTestCase
- StreamsUtils - Class in org.elasticsearch.test
- StreamsUtils() - Constructor for class org.elasticsearch.test.StreamsUtils
- strictCookies() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- STRING_FIELD_NAME - Static variable in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- StringGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.StringGenerator
-
Creates an instance of a
StringGenerator
record class. - StringGenerator(Supplier<String>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.StringGenerator
-
Creates an instance of a
StringGenerator
record class. - StringMessageRequest(String) - Constructor for class org.elasticsearch.transport.AbstractSimpleTransportTestCase.StringMessageRequest
- StringMessageRequest(StreamInput) - Constructor for class org.elasticsearch.transport.AbstractSimpleTransportTestCase.StringMessageRequest
- StubbableConnectionManager - Class in org.elasticsearch.test.transport
- StubbableConnectionManager(ConnectionManager) - Constructor for class org.elasticsearch.test.transport.StubbableConnectionManager
- StubbableConnectionManager.GetConnectionBehavior - Interface in org.elasticsearch.test.transport
- StubbableConnectionManager.NodeConnectedBehavior - Interface in org.elasticsearch.test.transport
- StubbableTransport - Class in org.elasticsearch.test.transport
- StubbableTransport(Transport) - Constructor for class org.elasticsearch.test.transport.StubbableTransport
- StubbableTransport.OpenConnectionBehavior - Interface in org.elasticsearch.test.transport
- StubbableTransport.RequestHandlingBehavior<Request> - Interface in org.elasticsearch.test.transport
- StubbableTransport.SendRequestBehavior - Interface in org.elasticsearch.test.transport
- StubbableTransport.WrappedConnection - Class in org.elasticsearch.test.transport
- subAggregationsSupplier - Variable in class org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase
- submit(Runnable) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- submit(Runnable, T) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- submit(Callable<T>) - Method in class org.elasticsearch.common.util.concurrent.StoppableExecutorServiceWrapper
- submitRequest(TransportService, DiscoveryNode, String, TransportRequest, TransportRequestOptions, TransportResponseHandler<T>) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- submitRequest(TransportService, DiscoveryNode, String, TransportRequest, TransportResponseHandler<T>) - Static method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- submitUpdateTask(String, UnaryOperator<ClusterState>, AbstractCoordinatorTestCase.CoordinatorTestClusterStateUpdateTask) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- subReaderWrapper - Variable in class org.elasticsearch.test.engine.MockEngineSupport.DirectoryReaderWrapper
- suggest() - Method in class org.elasticsearch.test.TestSearchContext
- SUITE - Enum constant in enum class org.elasticsearch.test.ESIntegTestCase.Scope
-
A cluster shared across all method in a single test suite
- SUITE_CLUSTER_NODE_PREFIX - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
node names of the corresponding clusters will start with these prefixes
- supplierWithCreateClassLoader(Supplier<T>) - Static method in class org.elasticsearch.test.PrivilegedOperations
- SUPPORTED - Enum constant in enum class org.elasticsearch.logsdb.datageneration.fields.DynamicMapping
- supportsBoost() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Few queries allow you to set the boost on the Java API, although the corresponding parser doesn't parse it as it isn't supported.
- supportsCopyTo() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Override to disable testing
copy_to
in fields that don't support it. - supportsDedicatedMasters() - Element in annotation interface org.elasticsearch.test.ESIntegTestCase.ClusterScope
-
Indicates whether the cluster can have dedicated master nodes.
- supportsEmptyInputArray() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- supportsIgnoreMalformed() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Does this field mapper support
ignore_malformed
? - supportsIgnoreMalformed() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- supportsMeta() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Override to disable testing
meta
in fields that don't support it. - supportsOutOfOrderReduce() - Method in class org.elasticsearch.test.InternalAggregationTestCase
-
Does this aggregation support reductions when the internal buckets are not in-order
- supportsQueryName() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Few queries allow you to set the query name on the Java API, although the corresponding parser doesn't parse it as it isn't supported.
- supportsRangeQueries() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- supportsSampling() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- supportsSampling() - Method in class org.elasticsearch.test.InternalAggregationTestCase
- supportsSearchLookup() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- supportsStoredFields() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- supportsTermQueries() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- supportsUnknownFields() - Method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- supportsUnknownFields() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Indicates whether the parser supports unknown fields or not.
- supportsUnknownFields() - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Indicates whether the parser supports unknown fields or not.
- supportsUnknownFields(boolean) - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- syncGlobalCheckpoint() - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- syncRetentionLeases(ShardId, RetentionLeases, ActionListener<ReplicationResponse>) - Method in class org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationGroup
- syntheticSource() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Returns the value of the
syntheticSource
record component. - syntheticSource(DocumentMapper, IndexReader, int) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- syntheticSource(DocumentMapper, CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- syntheticSource(DocumentMapper, SourceFilter, IndexReader, int) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- syntheticSource(DocumentMapper, SourceFilter, CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- SyntheticSourceExample(Object, Object, Object, CheckedConsumer<XContentBuilder, IOException>) - Constructor for record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Create an example that returns different results from doc values than from synthetic source.
- SyntheticSourceExample(Object, Object, CheckedConsumer<XContentBuilder, IOException>) - Constructor for record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
- SyntheticSourceExample(CheckedConsumer<XContentBuilder, IOException>, CheckedConsumer<XContentBuilder, IOException>, CheckedConsumer<XContentBuilder, IOException>, CheckedConsumer<XContentBuilder, IOException>) - Constructor for record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Creates an instance of a
SyntheticSourceExample
record class. - SyntheticSourceInvalidExample(Matcher<String>, CheckedConsumer<XContentBuilder, IOException>) - Constructor for record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceInvalidExample
-
Creates an instance of a
SyntheticSourceInvalidExample
record class. - syntheticSourceSupport(boolean) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- syntheticSourceSupport(boolean) - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- syntheticSourceSupport(boolean, boolean) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- syntheticSourceSupport(String, boolean) - Static method in class org.elasticsearch.index.mapper.TextFieldFamilySyntheticSourceTestSetup
- syntheticSourceSupportForKeepTests(boolean) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- sysprops - Variable in class org.elasticsearch.cli.CommandTestCase
-
The system properties that execute uses
- SystemIndexDescriptorUtils - Class in org.elasticsearch.indices
- SystemIndexDescriptorUtils() - Constructor for class org.elasticsearch.indices.SystemIndexDescriptorUtils
T
- task - Variable in class org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase
- TaskAssertions - Class in org.elasticsearch.test
- TaskCancelHelper - Class in org.elasticsearch.tasks
-
Helper class to expose
CancellableTask.cancel(java.lang.String)
for use in tests. - tcpReadinessProbeFalse(Integer) - Method in interface org.elasticsearch.test.readiness.ReadinessClientProbe
- tcpReadinessProbeFalse(ReadinessService) - Static method in class org.elasticsearch.readiness.MockReadinessService
- tcpReadinessProbeFalse(ReadinessService) - Method in interface org.elasticsearch.test.readiness.ReadinessClientProbe
- tcpReadinessProbeTrue(Integer) - Method in interface org.elasticsearch.test.readiness.ReadinessClientProbe
- tcpReadinessProbeTrue(ReadinessService) - Static method in class org.elasticsearch.readiness.MockReadinessService
- tcpReadinessProbeTrue(ReadinessService) - Method in interface org.elasticsearch.test.readiness.ReadinessClientProbe
- teardown() - Static method in class org.elasticsearch.core.PathUtilsForTesting
-
Resets filesystem back to the real system default
- tearDown() - Method in class org.elasticsearch.index.engine.EngineTestCase
- tearDown() - Method in class org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase
- tearDown() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- tearDown() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- tearDown() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- tearDown() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- tearDown() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- tearDownClass() - Static method in class org.elasticsearch.test.ESSingleNodeTestCase
- tearDownController() - Method in class org.elasticsearch.test.rest.RestActionTestCase
- tearDownHttpServer() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- tearDownThreadPool() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- template() - Method in record class org.elasticsearch.logsdb.datageneration.Template
-
Returns the value of the
template
record component. - Template - Record Class in org.elasticsearch.logsdb.datageneration
-
A template used to generate mapping and documents for a test.
- Template(Map<String, Template.Entry>) - Constructor for record class org.elasticsearch.logsdb.datageneration.Template
-
Creates an instance of a
Template
record class. - Template.Entry - Interface in org.elasticsearch.logsdb.datageneration
- Template.Leaf - Record Class in org.elasticsearch.logsdb.datageneration
- Template.Object - Record Class in org.elasticsearch.logsdb.datageneration
- TemplateGenerator - Class in org.elasticsearch.logsdb.datageneration
- TemplateGenerator(DataGeneratorSpecification) - Constructor for class org.elasticsearch.logsdb.datageneration.TemplateGenerator
- term() - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- TERM_SCRIPT_NAME - Static variable in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- terminal - Variable in class org.elasticsearch.cli.CommandTestCase
-
The terminal that execute uses
- terminate(ExecutorService...) - Static method in class org.elasticsearch.test.ESTestCase
- terminate(ThreadPool) - Static method in class org.elasticsearch.test.ESTestCase
- terminateAfter() - Method in class org.elasticsearch.test.TestSearchContext
- terminateAfter(int) - Method in class org.elasticsearch.test.TestSearchContext
- terms(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- terms(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingFields
- Terms - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- TermsEnum - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- TermVectors - Enum constant in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
- test() - Method in class org.elasticsearch.test.AbstractXContentTestCase.XContentTester
- TEST - Enum constant in enum class org.elasticsearch.test.ESIntegTestCase.Scope
-
A test exclusive test cluster
- TEST_CLUSTER_NODE_PREFIX - Static variable in class org.elasticsearch.test.ESIntegTestCase
- TEST_FIELD - Static variable in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- TEST_REPO_NAME - Variable in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- TEST_REQUEST_TIMEOUT - Static variable in class org.elasticsearch.test.ESTestCase
-
Various timeouts in various REST APIs default to 30s, and many tests do not care about such timeouts, but must specify some value anyway when constructing the corresponding transport/action request instance since we would prefer to avoid having implicit defaults in these requests.
- TEST_SPEC - Static variable in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- TEST_WORKER_SYS_PROPERTY - Static variable in class org.elasticsearch.test.ESTestCase
- TEST_WORKER_VM_ID - Static variable in class org.elasticsearch.test.ESTestCase
- TEST_WRITE_LOAD_FORECASTER - Static variable in class org.elasticsearch.cluster.ESAllocationTestCase
- testAcceptedChannelCount() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testActionStats() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testAggregatableConsistency() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testAggregationsDocValuesDisabled() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- TestAllocateDecision(Decision) - Constructor for class org.elasticsearch.cluster.ESAllocationTestCase.TestAllocateDecision
- testAllowMultipleValuesField() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- TestAnalysis(IndexAnalyzers, Map<String, TokenFilterFactory>, Map<String, TokenizerFactory>, Map<String, CharFilterFactory>) - Constructor for class org.elasticsearch.test.ESTestCase.TestAnalysis
- testArrayOffset() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testArrays() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testAssertions() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
-
Testing heuristic specific assertions Typically, this method would call either
AbstractSignificanceHeuristicTestCase.testBackgroundAssertions(SignificanceHeuristic, SignificanceHeuristic)
orAbstractSignificanceHeuristicTestCase.testAssertions(SignificanceHeuristic)
depending on which was appropriate - testAssertions(SignificanceHeuristic) - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testBackgroundAssertions(SignificanceHeuristic, SignificanceHeuristic) - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testBasicEquals() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testBasics() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testBasicScoreProperties() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractNXYSignificanceHeuristicTestCase
- testBasicScoreProperties() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testBasicScoreProperties(SignificanceHeuristic, boolean) - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testBindUnavailableAddress() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testBlankName() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- TestBlock - Class in org.elasticsearch.index.mapper
- testBlockLoader() - Method in class org.elasticsearch.index.mapper.BlockLoaderTestCase
- testBlockLoader(boolean, MapperTestCase.SyntheticSourceExample, MapperTestCase.BlockReaderSupport, SourceLoader) - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testBlockLoaderFromColumnReader() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testBlockLoaderFromColumnReaderWithSyntheticSource() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testBlockLoaderFromRowStrideReader() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testBlockLoaderFromRowStrideReaderWithSyntheticSource() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testBoostNotAllowed() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testBoundedMultiValuedDocs() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testBoundedMultiValuedDocsAsSubAgg() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testBoundedSingletonDocs() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testBoundedSingletonDocsAsSubAgg() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testBrokenCoordinateCanBeSetWithIgnoreMalformed() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testBrokenCoordinateCannotBeSet() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testBulk() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- testBwcSerialization() - Method in class org.elasticsearch.test.AbstractBWCSerializationTestCase
-
Test serialization and deserialization of the test instance across versions
- testCacheability() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Check that a query is generally cacheable.
- testCacheable() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testCannotIndexDirectlyIntoScriptMapper() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testCase(Query, String, int, GeoBoundingBox, Consumer<InternalGeoGrid<T>>, CheckedConsumer<RandomIndexWriter, IOException>) - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testCase(CheckedConsumer<RandomIndexWriter, IOException>, Consumer<V>, AggregatorTestCase.AggTestConfig) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- testChannelCloseWhileConnecting() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testChannelToString() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testCharFilters() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- TestCircuitBreaker - Class in org.elasticsearch.common.breaker
- TestCircuitBreaker() - Constructor for class org.elasticsearch.common.breaker.TestCircuitBreaker
- testCleanup() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- testCluster() - Method in record class org.elasticsearch.test.CloseableTestClusterWrapper
-
Returns the value of the
testCluster
record component. - TestCluster - Class in org.elasticsearch.test
-
Base test cluster that exposes the basis to run tests against any elasticsearch cluster, whose layout (e.g.
- TestCluster(long) - Constructor for class org.elasticsearch.test.TestCluster
- testClusterClosed() - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- testClusterClosed() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
- testClusterClosed() - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
- TestClustersThreadFilter - Class in org.elasticsearch.test
-
When using shared test clusters we launch processes that persist across test suites.
- TestClustersThreadFilter() - Constructor for class org.elasticsearch.test.TestClustersThreadFilter
- testCoerce() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testCompareTo() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testCompleteLonRange() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase
- TestCompoundRetrieverBuilder - Class in org.elasticsearch.search.retriever
- TestCompoundRetrieverBuilder(int) - Constructor for class org.elasticsearch.search.retriever.TestCompoundRetrieverBuilder
- testConcurrentDisconnectOnNonPublishedConnection() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testConcurrentEquals() - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Calls
Object.equals(java.lang.Object)
on equal objects on many threads and verifies they all return true. - testConcurrentHashCode() - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Calls
Object.hashCode()
on the same object on many threads and verifies they return the same result. - testConcurrentSendRespondAndDisconnect() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testConcurrentSerialization() - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Test serializing the same object on many threads always deserializes to equal instances.
- testConcurrentToXContent() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Calls xContent serialization on many threads and verifies that they produce the same result.
- testContainerCreationAndDeletion() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testContainsShapeQuery() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testCopyBytesRefSharesBytes() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testCopyToIsNotSupported() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testCopyToNotPermitted() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testCreateFromBuckets() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridTestCase
- testCreateSnapshot() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- TestCustomMetadata - Class in org.elasticsearch.test
- TestCustomMetadata(String) - Constructor for class org.elasticsearch.test.TestCustomMetadata
- testDanglingShardLevelBlobCleanup() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testDecimalCoerce() - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- testDefaults() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testDeleteBlobs() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testDiffableSerialization() - Method in class org.elasticsearch.test.ChunkedToXContentDiffableSerializationTestCase
- testDiffableSerialization() - Method in class org.elasticsearch.test.SimpleDiffableSerializationTestCase
- testDiffableSerialization() - Method in class org.elasticsearch.test.SimpleDiffableWireSerializationTestCase
- testDiffableSerialization(Supplier<T>, Function<T, T>, NamedWriteableRegistry, Writeable.Reader<T>, Writeable.Reader<Diff<T>>) - Static method in class org.elasticsearch.test.DiffableTestUtils
-
Tests making random changes to an object, calculating diffs for these changes, sending this diffs over the wire and appling these diffs on the other side.
- testDimension() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testDimension() - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- testDimensionIndexedAndDocvalues() - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- testDimensionMultiValuedFieldNonTSDB() - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- testDimensionMultiValuedFieldTSDB() - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- testDisallowExpensiveQueries() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- testDisconnectListener() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testDistanceQuery() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testDocument() - Static method in class org.elasticsearch.index.engine.EngineTestCase
- TestDocumentParserContext - Class in org.elasticsearch.index.mapper
-
Simplified version of
DocumentParserContext
to be used in tests. - TestDocumentParserContext() - Constructor for class org.elasticsearch.index.mapper.TestDocumentParserContext
-
The shortest and easiest way to create a context, to be used when none of the constructor arguments are needed.
- TestDocumentParserContext(Settings) - Constructor for class org.elasticsearch.index.mapper.TestDocumentParserContext
- TestDocumentParserContext(MappingLookup, SourceToParse) - Constructor for class org.elasticsearch.index.mapper.TestDocumentParserContext
-
More verbose way to create a context, to be used when one or more constructor arguments are needed as final methods that depend on them are called while executing tests.
- TestDocumentParserContext(XContentParser) - Constructor for class org.elasticsearch.index.mapper.TestDocumentParserContext
- testDocumentWithTextField() - Static method in class org.elasticsearch.index.engine.EngineTestCase
- testDocumentWithTextField(String) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- testDocValues() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testDocValuesDisabled() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testEdgeCases() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testElementsPresentOnAllLinesOfLog() - Method in class org.elasticsearch.common.logging.JsonLogsIntegTestCase
- testEmptyAggregation() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testEmptyAggregation() - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- testEmptyAggregation() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- testEmptyDocumentNoDocValueLoader() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testEmptyName() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testEmptyObject() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testEmptyToBytesRefIterator() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testEnvelopeSpanningDateline() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- TestEnvironment - Class in org.elasticsearch.env
-
Provides a convenience method for tests to construct an Environment when the config path does not matter.
- testEquals() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testEqualsAndHashcode() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- testEqualsAndHashcode() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- testEqualsAndHashcode() - Method in class org.elasticsearch.test.AbstractQueryTestCase
- testEqualsAndHashcode() - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Tests that the equals and hashcode methods are consistent and copied versions of the instance are equal.
- testEqualsAndHashCode() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- testErrorMessage() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TestEventListener() - Constructor for class org.elasticsearch.test.MockIndexEventListener.TestEventListener
- testExceptionOnConnect() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testExceptionOnMissingTypes() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testExcludeWildCardFields() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testExistsQuery() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testExistsQuery() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testExistsQueryDocValuesDisabled() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testExistsQueryInLoop() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testExistsQueryIsExpensive() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testExistsQueryMinimalMapping() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
This test verifies that the exists query created is the appropriate one, and aligns with the data structures being created for a document with a value for the field.
- testExplainMatched() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTests
- testFailToSendIllegalStateException() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testFailToSendTransportException() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testFailure(Failure) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
- testFailuresDeduplication() - Method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- testFeatureService - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- TestFeatureService - Interface in org.elasticsearch.test.rest
- testFeatureServiceInitialized() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- testFetch() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Asserts that fetching a single value from doc values and from the native
MappedFieldType.valueFetcher(org.elasticsearch.index.query.SearchExecutionContext, java.lang.String)
produce the same results. - testFetchMany() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Asserts that fetching many values from doc values and from the native
MappedFieldType.valueFetcher(org.elasticsearch.index.query.SearchExecutionContext, java.lang.String)
produce the same results. - testFieldAlias() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testFieldCaps() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testFieldHasValue() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testFieldHasValue() - Method in class org.elasticsearch.index.mapper.ConstantFieldTypeTestCase
- testFieldHasValue() - Method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- testFieldHasValueWithEmptyFieldInfos() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testFieldHasValueWithEmptyFieldInfos() - Method in class org.elasticsearch.index.mapper.ConstantFieldTypeTestCase
- testFieldHasValueWithEmptyFieldInfos() - Method in class org.elasticsearch.index.mapper.FieldTypeTestCase
- testFilter(AbstractFilteringTestCase.Builder, AbstractFilteringTestCase.Builder, Collection<String>, Collection<String>) - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testFilterPrefix() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
-
Tests that we can extract paths which have another path as a prefix.
- testFilterSharedPrefixes() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
-
Tests that we can extract paths which share a prefix with other paths.
- testFilterSupplementaryCharactersInPaths() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
-
Tests that we can extract paths containing non-ascii characters.
- testFinished(Description) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
- testFinished(Description) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
- testFixedMetaFieldsAreNotConfigurable() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- testFromGeohash() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testFromJson() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testFromJson() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testFromJson() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testFromSourceIsDeterministic() - Method in class org.elasticsearch.index.mapper.FieldScriptTestCase
- testFromWKT() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testFromXContent() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
-
Generic test that creates new AggregatorFactory from the test AggregatorFactory and checks both for equality and asserts equality on the two queries.
- testFromXContent() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Generic test that creates new AggregatorFactory from the test AggregatorFactory and checks both for equality and asserts equality on the two queries.
- testFromXContent() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Generic test that creates new query from the test query and checks both for equality and asserts equality on the two queries.
- testFromXContent() - Method in class org.elasticsearch.test.AbstractSerializationTestCase
-
Generic test that creates new instance from the test instance and checks both for equality and asserts equality on the two instances.
- testFromXContent() - Method in class org.elasticsearch.test.AbstractXContentTestCase
-
Generic test that creates new instance from the test instance and checks both for equality and asserts equality on the two queries.
- testFromXContent(int, Supplier<T>, boolean, String[], Predicate<String>, CheckedBiFunction<XContent, BytesReference, XContentParser, IOException>, CheckedFunction<XContentParser, T, IOException>, BiConsumer<T, T>, boolean, ToXContent.Params) - Static method in class org.elasticsearch.test.AbstractXContentTestCase
- testFromXContent(int, Supplier<T>, boolean, String[], Predicate<String>, CheckedBiFunction<XContent, BytesReference, XContentParser, IOException>, CheckedFunction<XContentParser, T, IOException>, BiConsumer<T, T>, boolean, ToXContent.Params, Consumer<T>) - Static method in class org.elasticsearch.test.AbstractXContentTestCase
- testFromXContentMulti() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
-
Create at least 2 aggregations and test equality and hash
- testFuzzyQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractNonTextScriptFieldTypeTestCase
- TestGatewayAllocator - Class in org.elasticsearch.test.gateway
-
A gateway allocator implementation that keeps an in memory list of started shard allocation that are used as replies to the, normally async, fetch data requests.
- TestGatewayAllocator() - Constructor for class org.elasticsearch.test.gateway.TestGatewayAllocator
- testGeometryCollectionRelations() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testGet() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testGetInt() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testHandlerIsInvokedOnConnectionClose() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testHandshakeUpdatesVersion() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testHandshakeWithIncompatVersion() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testHashCode() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testHelloWorld() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testHelloWorldCompressed() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testHonorsCoercion() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testHostOnMessages() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testIgnoreMalformed() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
-
Test that ignore_malformed on GeoShapeFieldMapper does not fail the entire document
- testIgnoreMalformedExplicitlyFalse() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testIgnoreMalformedFalseByDefault() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testIgnoreMalformedTrue() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testIgnoreMalformedWithObject() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
-
Test that in case the malformed value is an xContent object we throw error regardless of `ignore_malformed`
- testIgnoreUnmapped() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testIgnoreUnmapped() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testIgnoreUnmapped() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testIllegalValues() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testIndexAndDocValuesFalseNotPermitted() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testIndexDisabled() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testIndexedShapeReference() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testIndexedShapeReferenceSourceDisabled() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testIndexingDataCompression() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testIndexLatest() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- testIndexLineQueryPoints() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- TestIndexNameExpressionResolver - Class in org.elasticsearch.indices
-
A utility class that simplifies the creation of
IndexNameExpressionResolver
instances in tests to avoid repetition of creating the constructor arguments for a default instance. - testIndexOf() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testIndexPointsCircle() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPointsFilterRectangle() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPointsFromLine() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPointsFromPolygon() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPointsIndexedRectangle() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPointsMultiPolygon() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPointsPolygon() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPointsRectangle() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testIndexPolygonDateLine() - Method in class org.elasticsearch.search.geo.GeoShapeIntegTestCase
- testIndexPolygonQueryPoints() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testIndexRectangleSpanningDateLine() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- testIndexShapeRouting() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
-
Test that the indexed shape routing can be provided if it is required
- testIndexTimeFieldData() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Checks that field data from this field produces the same values for query-time scripts and for index-time scripts
- testIndexTimeStoredFieldsAccess() - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Checks that loading stored fields for this field produces the same set of values for query time scripts and index time scripts
- testIndicesDeletedFromRepository() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- TestIngestDocument - Class in org.elasticsearch.ingest
-
Construct ingest documents for testing purposes
- TestIngestDocument() - Constructor for class org.elasticsearch.ingest.TestIngestDocument
- testInputStreamSkip() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- TestIssueLogging - Annotation Interface in org.elasticsearch.test.junit.annotations
-
Annotation used to set a custom log level when investigating test failures.
- testIterator() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testIteratorRandom() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testKeepAlivePings() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testKnnSearchBuilderWireSerialization() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- testKnnSearchBuilderXContent() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- testKnnSearchRewrite() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- testLeftAndRightCanBeEqual() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testLeftRightCanBeFlipped() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testLength() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testLimit2BoundingBox() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase
- testList() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testListChildren() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- testLocalNodeConnection() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TestLoggers - Class in org.elasticsearch.common.logging
- TestLoggers() - Constructor for class org.elasticsearch.common.logging.TestLoggers
- TestLogging - Annotation Interface in org.elasticsearch.test.junit.annotations
-
Annotation used to set a custom log level for controlling logging behavior in tests.
- testMalformedGeohashes() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testManyFilters() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- TestMapperServiceBuilder() - Constructor for class org.elasticsearch.index.mapper.MapperServiceTestCase.TestMapperServiceBuilder
- testMatches() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- testMaxNestedDepth() - Method in class org.elasticsearch.test.AbstractQueryTestCase
- testMessageListeners() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testMeta() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testMeta() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testMetricAndDimension() - Method in class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- testMetricAndDocvalues() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testMetricType() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testMinimalIsInvalidInRoutingPath() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testMinimalMappingToMaximal() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testMinimalSerializesToItself() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testMinimalSerializesToItself() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testMinimalToMaximal() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testMissingDirectoriesNotCreatedInReadonlyRepository() - Method in class org.elasticsearch.repositories.blobstore.ESFsBasedRepositoryIntegTestCase
- testMockFailToSendNoConnectRule() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testMockUnresponsiveRule() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testMultiFieldsIsNotSupported() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testMultiFieldsNotPermitted() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testMultiPhraseQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testMultipleFieldsExclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testMultipleFieldsInclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testMultipleRewrite() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testMultipleSnapshotAndRollback() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testMultipleValues() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testMultiPolygonSpanningDateline() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- testMultiPolygonSpanningDateline(BasePointShapeQueryTestCase<GeoShapeQueryBuilder>) - Method in class org.elasticsearch.search.geo.DatelinePointShapeQueryTestCase
- testMultiValuedDocs() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testMultiValuedDocsAsSubAgg() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testMultiValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testMultiValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- testMultiValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- testMultiValuedFieldWithValueScript() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testMultiValuedFieldWithValueScriptWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testMustRewrite() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testMustRewrite() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testMustRewrite() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
This test ensures that queries that need to be rewritten have dedicated tests.
- testNegativeBoosts() - Method in class org.elasticsearch.test.AbstractQueryTestCase
- testNeighbours() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testNodeIdAndClusterIdConsistentOnceAvailable() - Method in class org.elasticsearch.common.logging.JsonLogsIntegTestCase
- testNoDocs() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testNoDocValues() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testNoFieldName() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testNoFiltering() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testNoIndexedShape() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testNoMatch() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testNoRelation() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testNoShape() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testNoSyntheticSourceForScript() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testNotAllShardsArePresentInFetchPhase() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testNotifyOnShutdown() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testNotIndexed() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testNullInput() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testNullShape() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testNullValue() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testObjectsInArrayWithBothExcludesIncludes() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testOnScriptError() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
-
Check that running query on a runtime field script that fails has the expected behaviour according to its configuration
- testOnScriptErrorContinue() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testOnScriptErrorFail() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testOnScriptErrorParameterRequiresScript() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testOrderByEmptyAggregation() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testOrientationPersistence() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
-
Test that orientation parameter correctly persists across cluster restart
- testOtherDocCount(String...) - Method in class org.elasticsearch.search.aggregations.bucket.AbstractTermsTestCase
- TestOutboundRequestMessage - Class in org.elasticsearch.transport
- TestOutboundRequestMessage(ThreadContext, Writeable, TransportVersion, String, long, boolean, Compression.Scheme) - Constructor for class org.elasticsearch.transport.TestOutboundRequestMessage
- testOutOfRangeValues() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testParsedDocument(String, String, LuceneDocument, BytesReference, Mapping) - Method in class org.elasticsearch.index.engine.EngineTestCase
- testParsedDocument(String, String, LuceneDocument, BytesReference, Mapping, boolean) - Static method in class org.elasticsearch.index.engine.EngineTestCase
- testParseFailsWithMultipleFields() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParseFailure() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testParseFromAggBuilder() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testParseFromString() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testParsingAndToQuery1() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQuery1() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery10() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery11() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery12() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery2() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQuery2() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery3() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQuery3() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery4() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQuery4() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery5() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQuery5() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery6() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQuery6() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery7() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery8() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQuery9() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQueryGeoJSON() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQueryGeoJSON() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testParsingAndToQueryWKT() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testParsingAndToQueryWKT() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
- testPartiallyUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- testPartiallyUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- testPhrasePrefixQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testPhraseQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- TestPlainActionFuture<T> - Class in org.elasticsearch.action.support
-
A
PlainActionFuture
which bypasses the deadlock-detection checks since we're only using this in tests. - TestPlainActionFuture() - Constructor for class org.elasticsearch.action.support.TestPlainActionFuture
- testPlainDeepCopyEquivalentToStreamCopy() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- TestPlugin() - Constructor for class org.elasticsearch.cluster.MockInternalClusterInfoService.TestPlugin
- TestPlugin() - Constructor for class org.elasticsearch.readiness.MockReadinessService.TestPlugin
- TestPlugin() - Constructor for class org.elasticsearch.script.MockScriptService.TestPlugin
- TestPlugin() - Constructor for class org.elasticsearch.search.MockSearchService.TestPlugin
- TestPlugin() - Constructor for class org.elasticsearch.test.MockHttpTransport.TestPlugin
- TestPlugin() - Constructor for class org.elasticsearch.test.MockIndexEventListener.TestPlugin
- TestPlugin() - Constructor for class org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
- TestPlugin() - Constructor for class org.elasticsearch.test.transport.MockTransportService.TestPlugin
- testPointQuery() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
-
tests querying a random geometry collection with a point
- testPolygonSpanningDateline() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- testPolygonSpanningDateline(BasePointShapeQueryTestCase<GeoShapeQueryBuilder>) - Method in class org.elasticsearch.search.geo.DatelinePointShapeQueryTestCase
- testPrefixQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractNonTextScriptFieldTypeTestCase
- TestProcessor - Class in org.elasticsearch.ingest
-
Processor used for testing, keeps track of how many times it is invoked and accepts a
Consumer
ofIngestDocument
to be called when executed. - TestProcessor(RuntimeException) - Constructor for class org.elasticsearch.ingest.TestProcessor
- TestProcessor(String, String, String, RuntimeException) - Constructor for class org.elasticsearch.ingest.TestProcessor
- TestProcessor(String, String, String, Consumer<IngestDocument>) - Constructor for class org.elasticsearch.ingest.TestProcessor
- TestProcessor(String, String, String, Function<IngestDocument, IngestDocument>) - Constructor for class org.elasticsearch.ingest.TestProcessor
- TestProcessor(Consumer<IngestDocument>) - Constructor for class org.elasticsearch.ingest.TestProcessor
- TestProcessor.Factory - Class in org.elasticsearch.ingest
- TestProfiles - Class in org.elasticsearch.transport
- testProfileSettings() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testProfilesIncludesDefault() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testQueryLinearRing() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testQueryMultiPoint() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testQueryPhaseCoordinatorThrowingAllShardsFail() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testQueryPhaseShardThrowingAllShardsFail() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testQueryPoint() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testQueryPointFromGeoJSON() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testQueryPointFromMultiPoint() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testQueryRandomGeoCollection() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testQueryWithinMultiLine() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testQueryWrappedInArray() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Test that wraps the randomly generated query into an array as follows: { "query_name" : [{}]} This causes unexpected situations in parser code that may not be handled properly.
- testRandomGeoCollectionQuery() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testRandomReads() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testRangeQuery() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testRangeQueryInLoop() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testRangeQueryIsExpensive() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testRangeQueryWithShapeRelationIsError() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- TestRankBuilder - Class in org.elasticsearch.search.rank
- TestRankBuilder(int) - Constructor for class org.elasticsearch.search.rank.TestRankBuilder
- TestRankBuilder(StreamInput) - Constructor for class org.elasticsearch.search.rank.TestRankBuilder
- testRankDocs - Variable in class org.elasticsearch.search.rank.TestRankShardResult
- testRankFeaturePhaseCoordinatorThrowingAllShardsFail() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testRankFeaturePhaseShardThrowingAllShardsFail() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testRankFeaturePhaseShardThrowingPartialFailures() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- TestRankShardResult - Class in org.elasticsearch.search.rank
- TestRankShardResult(StreamInput) - Constructor for class org.elasticsearch.search.rank.TestRankShardResult
- TestRankShardResult(RankDoc[]) - Constructor for class org.elasticsearch.search.rank.TestRankShardResult
- testRateLimitingDisabled() - Method in class org.elasticsearch.index.mapper.FieldScriptTestCase
- testRawField() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testReadBlobWithNoHttpResponse() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- testReadBlobWithPrematureConnectionClose() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- testReadBlobWithReadTimeouts() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- testReadBlobWithRetries() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- testReadFromPositionLargerThanBlobLength(Predicate<RequestedRangeNotSatisfiedException>) - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- testReadFromPositionWithLength() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- testReadNonexistentBlobThrowsNoSuchFileException() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- testReadNonExistingPath() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testReadOnly() - Method in class org.elasticsearch.repositories.blobstore.ESFsBasedRepositoryIntegTestCase
- testReadRangeBlobWithRetries() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- testReadSlices() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testReadSlices() - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- testRectangleSpanningDateline() - Method in class org.elasticsearch.search.geo.GeoShapeQueryTestCase
- testRectangleSpanningDateline(BasePointShapeQueryTestCase<GeoShapeQueryBuilder>) - Method in class org.elasticsearch.search.geo.DatelinePointShapeQueryTestCase
- testRecurseField1Exclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecurseField1Inclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecurseField2Exclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecurseField2Inclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecurseField3Exclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecurseField3Inclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecurseField4Exclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecurseField4Inclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecursiveObjectsInArrayWithBothExcludesIncludes() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecursiveObjectsPropertiesWithBothExcludesIncludes() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testRecursiveSameObjectWithBothExcludesIncludes() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testReduce() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testReduceRandom() - Method in class org.elasticsearch.test.InternalAggregationTestCase
- testReductionCancellation() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
testReductionCancellation
record component. - testRegexpQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractNonTextScriptFieldTypeTestCase
- testRegisterHandlerTwice() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testRegisterSpecConsistency() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- testRejectEarlyIncomingRequests() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testRejectScriptErrors() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testRepeatableTests() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- TestRequest - Class in org.elasticsearch.transport
- TestRequest() - Constructor for class org.elasticsearch.transport.AbstractSimpleTransportTestCase.TestRequest
- TestRequest(String) - Constructor for class org.elasticsearch.transport.AbstractSimpleTransportTestCase.TestRequest
- TestRequest(String) - Constructor for class org.elasticsearch.transport.TestRequest
- TestRequest(StreamInput) - Constructor for class org.elasticsearch.transport.AbstractSimpleTransportTestCase.TestRequest
- TestRequest(StreamInput) - Constructor for class org.elasticsearch.transport.TestRequest
- testRequestStats() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
- testRerankerNoExceptions() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testRerankerNoMatchingDocs() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testRerankerPagination() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- testRerankerPaginationOutsideOfBounds() - Method in class org.elasticsearch.search.rank.rerank.AbstractRerankerIT
- TestResponse - Class in org.elasticsearch.transport
- TestResponse(String) - Constructor for class org.elasticsearch.transport.TestResponse
- TestResponse(StreamInput) - Constructor for class org.elasticsearch.transport.TestResponse
- testResponseHeadersArePreserved() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TestResponseParsers - Enum Class in org.elasticsearch.test.rest
- TestRetrieverBuilder - Class in org.elasticsearch.search.retriever
-
Test retriever is used to test parsing of retrievers in plugins where generation of other random retrievers are not easily accessible through test code.
- TestRetrieverBuilder(String) - Constructor for class org.elasticsearch.search.retriever.TestRetrieverBuilder
- testRunFinished(Result) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
- testRunStarted(Description) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
- TESTS_CLUSTER - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Key used to eventually switch to using an external cluster and provide its transport addresses
- TESTS_CLUSTER_NAME - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Key used to eventually switch to using an external cluster and provide the cluster name
- TESTS_ENABLE_MOCK_MODULES - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
A boolean value to enable or disable mock modules.
- testScriptableTypes() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- TestScriptEngine - Class in org.elasticsearch.index.mapper
- TestScriptEngine() - Constructor for class org.elasticsearch.index.mapper.TestScriptEngine
- testScriptMultiValued() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testScriptMultiValuedWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testScriptSingleValued() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testScriptSingleValuedWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- TestSearchContext - Class in org.elasticsearch.test
- TestSearchContext(IndexService) - Constructor for class org.elasticsearch.test.TestSearchContext
- TestSearchContext(SearchExecutionContext) - Constructor for class org.elasticsearch.test.TestSearchContext
- TestSearchContext(SearchExecutionContext, IndexShard, ContextIndexSearcher) - Constructor for class org.elasticsearch.test.TestSearchContext
- TestSearchContext(SearchExecutionContext, IndexShard, ContextIndexSearcher, ScrollContext) - Constructor for class org.elasticsearch.test.TestSearchContext
- TestSeedPlugin() - Constructor for class org.elasticsearch.test.ESIntegTestCase.TestSeedPlugin
- testSendRandomRequests() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testSerialization() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
-
Test serialization and deserialization of the test AggregatorFactory.
- testSerialization() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Test serialization and deserialization of the test AggregatorFactory.
- testSerialization() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Test serialization and deserialization of the test query.
- testSerialization() - Method in class org.elasticsearch.test.AbstractWireTestCase
-
Test serialization and deserialization of the test instance.
- testSerializationFailsUnlessFetched() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testSerializationMulti() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
-
Create at least 2 aggregations and test equality and hash
- testShallowCopy() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- testShapeFetchingPath() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testShapeFilterWithDefinedGeoCollection() - Method in class org.elasticsearch.search.geo.BaseShapeQueryTestCase
- testShapeRelations() - Method in class org.elasticsearch.search.geo.BaseShapeIntegTestCase
- TestShardRouting - Class in org.elasticsearch.cluster.routing
-
A helper that allows to create shard routing instances within tests, while not requiring to expose different simplified constructors on the ShardRouting itself.
- TestShardRouting() - Constructor for class org.elasticsearch.cluster.routing.TestShardRouting
- TestShardRouting.Builder - Class in org.elasticsearch.cluster.routing
- TestShardRoutingRoleStrategies - Class in org.elasticsearch.cluster
- testSimpleArrayExclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleArrayInclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleArrayOfObjectsExclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleArrayOfObjectsInclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleArrayOfObjectsPropertyExclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleArrayOfObjectsPropertyInclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleBoundingBoxTest() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase
- testSimpleFieldExclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleFieldInclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleFieldWithWildcardExclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSimpleFieldWithWildcardInclusive() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSingleFieldWithBothExcludesIncludes() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testSingletonDocs() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testSingletonDocsAsSubAgg() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testSingleValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testSingleValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- testSingleValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- testSingleValuedField_getProperty() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- testSingleValuedFieldAsSubAggToHighCardTermsAgg() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
-
This test forces the bounds
MetricsAggregator
to resize theBigArray
s it uses to ensure they are resized correctly - testSingleValuedFieldGetProperty() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testSingleValuedFieldPartiallyUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testSingleValuedFieldWithValueScript() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testSingleValuedFieldWithValueScriptWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testSingleValuedFieldWithZeroLon() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- testSingleValueFieldGetProperty() - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- testSkipBeyondBlobLengthShouldThrowEOFException() - Method in class org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase
- testSlice() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSliceArrayOffset() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSliceArrayOffset() - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- testSliceCopyBytesRef() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSliceEquals() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSliceIterator() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSliceStreamInput() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSliceToBytesRef() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSliceToBytesRef() - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- testSliceWriteToOutputStream() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testSnapshotAndRestore() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testSnapshotAndRestore(boolean) - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testSnapshotWithLargeSegmentFiles() - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
-
Test the snapshot and restore of an index which has large segments files.
- testSort() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testSpanPrefixQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testStarted(Description) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
- testStarted(Description) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
- testStore() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testStoredScriptsAreNotSupported() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testStoredScriptsNotPermitted() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testStreamInput() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testStreamInputBulkReadWithOffset() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testStreamInputMarkAndReset() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testStreamResponse() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- testStrictnessDefault() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testSupportedFieldTypes() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
This test will validate that an aggregator succeeds or fails to run against all the field types that are registered in
IndicesModule
(e.g. - testSupportsConcurrentExecution() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
- testSupportsParsingObject() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticEmptyList() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticEmptyListNoDocValuesLoader() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSource() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceIgnoreMalformedExamples() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceInNestedObject() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceInObject() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceInvalid() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceKeepAll() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceKeepArrays() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceKeepNone() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceMany() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testSyntheticSourceWithTranslogSnapshot() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testTcpHandshake() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testTcpHandshakeConnectionReset() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testTcpHandshakeTimeout() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TestTelemetryPlugin - Class in org.elasticsearch.telemetry
-
TelemetryPlugin that uses RecordingMeterRegistry to record meter calls and exposes measurement getters.
- TestTelemetryPlugin() - Constructor for class org.elasticsearch.telemetry.TestTelemetryPlugin
- TestTemplateService - Class in org.elasticsearch.ingest
- TestTemplateService.MockTemplateScript - Class in org.elasticsearch.ingest
- TestTemplateService.MockTemplateScript.Factory - Class in org.elasticsearch.ingest
- testTermQuery() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testTermQueryInLoop() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testTermQueryIsExpensive() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testTermsQuery() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testTermsQueryInLoop() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testTermsQueryIsExpensive() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testTextSearchInfoConsistency() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testThatXContentSerializationInsideOfArrayWorks() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- testThreadContext() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TestThreadInfoPatternConverter - Class in org.elasticsearch.common.logging
-
Converts
%test_thread_info
in log4j patterns into information based on the loggin thread's name. - TestThreadPool - Class in org.elasticsearch.threadpool
- TestThreadPool(String, Settings, ExecutorBuilder<?>...) - Constructor for class org.elasticsearch.threadpool.TestThreadPool
- TestThreadPool(String, ExecutorBuilder<?>...) - Constructor for class org.elasticsearch.threadpool.TestThreadPool
- testTimeoutSendExceptionWithDelayedResponse() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testTimeoutSendExceptionWithNeverSendingBackResponse() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testTimeSeriesIndexDefault() - Method in class org.elasticsearch.index.mapper.NumberFieldMapperTests
- testToBytes() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testToBytesRef() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testToBytesRefMaterializedPages() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testToBytesRefSharedPage() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testToBytesRefSharedPage() - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- testTokenFilters() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- testTokenizers() - Method in class org.elasticsearch.indices.analysis.AnalysisFactoryTestCase
- testTopAndBottomCanBeEqual() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testTopBottomAndLeftRightCanBeEqual() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testTopBottomCanBeFlippedOnIgnoreMalformed() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testTopBottomCannotBeFlipped() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testToQuery() - Method in class org.elasticsearch.search.geo.GeoDistanceQueryBuilderTestCase
-
Overridden here to ensure the test is only run if at least one type is present in the mappings.
- testToQuery() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Test creates the
Query
from theQueryBuilder
under test and delegates the assertions being made on the result to the implementing subclass. - testToString() - Method in class org.elasticsearch.search.aggregations.BaseAggregationTestCase
-
Generic test that checks that the toString method renders the XContent correctly.
- testToString() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- testToString() - Method in class org.elasticsearch.test.AbstractWireTestCase
- testTotalFieldsCount() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testToUtf8() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testToXContent() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- testToXContent() - Method in class org.elasticsearch.test.AbstractBroadcastResponseTestCase
- testTracerLog() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TestTransportChannel - Class in org.elasticsearch.transport
- TestTransportChannel(ActionListener<TransportResponse>) - Constructor for class org.elasticsearch.transport.TestTransportChannel
- TestTransportChannels - Class in org.elasticsearch.transport
- TestTransportChannels() - Constructor for class org.elasticsearch.transport.TestTransportChannels
- testTransportProfilesWithPortAndHost() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testTransportStats() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testTransportStatsWithException() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TestTrustStore - Class in org.elasticsearch.test
- TestTrustStore(CheckedSupplier<InputStream, IOException>) - Constructor for class org.elasticsearch.test.TestTrustStore
- testTypeAndFriendsAreAcceptedBefore_8_6_0() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- testTypeAndFriendsAreDeprecatedFrom_8_6_0_TO_9_0_0() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- testTypeAndFriendsThrow_After_9_0_0() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- testUnknownField() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Test that unknown field trigger ParsingException.
- testUnknownObjectException() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Test that adding an additional object within each object of the otherwise correct query always triggers some kind of parse exception.
- testUnmapped() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
- testUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
- testUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.SpatialBoundsAggregationTestBase
- testUnmappedMissing() - Method in class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregatorTestCase
- testUnsupportedParametersAreRejected() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- testUpdates() - Method in class org.elasticsearch.index.mapper.MapperTestCase
- testUpdates() - Method in class org.elasticsearch.index.mapper.MetadataMapperTestCase
- testUsedInScript() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- testValidationNullFieldname() - Method in class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase
- testValidOutput() - Method in class org.elasticsearch.test.AbstractQueryTestCase
-
Generic test that checks that the
Strings.toString()
method renders the XContent correctly. - testVectorFetch() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- testVersionFrom0to0() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testVersionFrom0to1() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testVersionFrom1to0() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testVersionFrom1to1() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testVisit() - Method in class org.elasticsearch.search.runtime.AbstractScriptFieldQueryTestCase
- testVoidMessageCompressed() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testWatchdogLogging() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- testWildcardQueryIsError() - Method in class org.elasticsearch.index.mapper.AbstractNonTextScriptFieldTypeTestCase
- testWithInQueryLine() - Method in class org.elasticsearch.search.geo.BasePointShapeQueryTestCase
- testWithLfAtEnd() - Method in class org.elasticsearch.common.xcontent.support.AbstractFilteringTestCase
- testWriteRead() - Method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- testWriteToOutputStream() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testWriteWithIterator() - Method in class org.elasticsearch.common.bytes.AbstractBytesReferenceTestCase
- testWriteWithIterator() - Method in class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- testWrongFieldType() - Method in class org.elasticsearch.search.geo.GeoShapeQueryBuilderTestCase
- TEXT_ALIAS_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- TEXT_FIELD_NAME - Static variable in class org.elasticsearch.test.AbstractBuilderTestCase
- TEXT_PLAIN_CONTENT_TYPE - Static variable in class org.elasticsearch.test.fixture.AbstractHttpFixture
- TextFieldFamilySyntheticSourceTestSetup - Class in org.elasticsearch.index.mapper
-
Provides functionality needed to test synthetic source support in text and text-like fields (e.g.
- TextFieldFamilySyntheticSourceTestSetup() - Constructor for class org.elasticsearch.index.mapper.TextFieldFamilySyntheticSourceTestSetup
- threadPool - Variable in class org.elasticsearch.index.engine.EngineTestCase
- threadPool - Variable in class org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollActionTestCase
- threadPool - Variable in class org.elasticsearch.index.shard.IndexShardTestCase
- threadPool - Variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- threadPoolSettings() - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- ThreadWatchdogHelper - Class in org.elasticsearch.common.network
- ThreadWatchdogHelper() - Constructor for class org.elasticsearch.common.network.ThreadWatchdogHelper
- throttleAllocationDeciders() - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
- THROWING_QUERY_PHASE_COORDINATOR_CONTEXT - Enum constant in enum class org.elasticsearch.search.rank.rerank.AbstractRerankerIT.ThrowingRankBuilderType
- THROWING_QUERY_PHASE_SHARD_CONTEXT - Enum constant in enum class org.elasticsearch.search.rank.rerank.AbstractRerankerIT.ThrowingRankBuilderType
- THROWING_RANK_FEATURE_PHASE_COORDINATOR_CONTEXT - Enum constant in enum class org.elasticsearch.search.rank.rerank.AbstractRerankerIT.ThrowingRankBuilderType
- THROWING_RANK_FEATURE_PHASE_SHARD_CONTEXT - Enum constant in enum class org.elasticsearch.search.rank.rerank.AbstractRerankerIT.ThrowingRankBuilderType
- ThrowingFields(Fields, ThrowingLeafReaderWrapper.Thrower) - Constructor for class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingFields
- ThrowingLeafReaderWrapper - Class in org.elasticsearch.test.engine
-
An FilterLeafReader that allows to throw exceptions if certain methods are called on is.
- ThrowingLeafReaderWrapper(LeafReader, ThrowingLeafReaderWrapper.Thrower) - Constructor for class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
- ThrowingLeafReaderWrapper.Flags - Enum Class in org.elasticsearch.test.engine
-
Flags passed to
ThrowingLeafReaderWrapper.Thrower.maybeThrow(org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags)
when the corresponding method is called. - ThrowingLeafReaderWrapper.Thrower - Interface in org.elasticsearch.test.engine
-
A callback interface that allows to throw certain exceptions for methods called on the IndexReader that is wrapped by
ThrowingLeafReaderWrapper
- ThrowingLeafReaderWrapper.ThrowingFields - Class in org.elasticsearch.test.engine
-
Wraps a Fields but with additional asserts
- ThrowingLeafReaderWrapper.ThrowingTerms - Class in org.elasticsearch.test.engine
-
Wraps a Terms but with additional asserts
- ThrowingTerms(Terms, ThrowingLeafReaderWrapper.Thrower) - Constructor for class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingTerms
- timeout() - Method in class org.elasticsearch.test.TestSearchContext
- timeout() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase.StringMessageRequest
- tmpPaths() - Method in class org.elasticsearch.test.ESTestCase
-
Returns a random number of temporary paths.
- toBytesRef() - Method in class org.elasticsearch.common.bytes.ZeroBytesReference
- tokenFilter - Variable in class org.elasticsearch.test.ESTestCase.TestAnalysis
- tokenizer - Variable in class org.elasticsearch.test.ESTestCase.TestAnalysis
- tolerance(double, double) - Method in class org.elasticsearch.search.aggregations.metrics.CentroidAggregationTestBase
-
Override this if the spatial data needs custom tolerance calculations (eg.
- TOLERANCE - Static variable in class org.elasticsearch.test.InternalAggregationTestCase
- toMapExcludingPeerRecoveryRetentionLeases(RetentionLeases) - Static method in class org.elasticsearch.index.seqno.RetentionLeaseUtils
-
A utility method to convert a retention lease collection to a map from retention lease ID to retention lease and exclude the automatically-added peer-recovery retention leases
- toMultiPoint(Geometry) - Static method in class org.elasticsearch.geo.GeometryTestUtils
-
Extracts all vertices of the supplied geometry
- topDocsQuery() - Method in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- topMapping(CheckedConsumer<XContentBuilder, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- TopTester() - Constructor for class org.elasticsearch.search.geo.GeoBoundingBoxQueryBuilderTestCase.TopTester
- toReduce() - Method in record class org.elasticsearch.test.InternalAggregationTestCase.BuilderAndToReduce
-
Returns the value of the
toReduce
record component. - toShuffledXContent(ToXContent, XContentType, RestApiVersion, ToXContent.Params, boolean, String...) - Method in class org.elasticsearch.test.ESTestCase
-
Returns the bytes that represent the XContent output of the provided
ToXContent
object, using the providedXContentType
. - toShuffledXContent(ToXContent, XContentType, ToXContent.Params, boolean, String...) - Method in class org.elasticsearch.test.ESTestCase
-
Returns the bytes that represent the XContent output of the provided
ToXContent
object, using the providedXContentType
. - toString() - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster.ClusterNode
- toString() - Method in record class org.elasticsearch.cluster.coordination.LinearizabilityChecker.Event
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker.History
- toString() - Method in class org.elasticsearch.common.logging.JsonLogLine
- toString() - Method in class org.elasticsearch.common.util.MockBigArrays.LimitedBreaker
- toString() - Method in class org.elasticsearch.core.ReleasableRef
- toString() - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.BlockReaderSupport
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceExample
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.index.mapper.MapperTestCase.SyntheticSourceInvalidExample
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ArrayWrapper
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ByteGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ChildFieldGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DoubleGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.DynamicMappingGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FieldTypeGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.FloatGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.HalfFloatGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.IntegerGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LeafMappingParametersGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.LongGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.NullWrapper
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectArrayGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ObjectMappingParametersGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.ShortGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.StringGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.UnsignedLongGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ArrayWrapper
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ByteGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DoubleGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.DynamicMappingGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator.FieldTypeInfo
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FieldTypeGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.FloatGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.HalfFloatGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.IntegerGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LeafMappingParametersGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.LongGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.NullWrapper
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectArrayGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ObjectMappingParametersGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ShortGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.StringGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.UnsignedLongGenerator
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Returns a string representation of this record class.
- toString() - Method in enum class org.elasticsearch.logsdb.datageneration.FieldType
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.Mapping
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.logsdb.datageneration.matchers.MatchResult
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Leaf
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Object
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.logsdb.datageneration.Template
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.telemetry.Measurement
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.test.client.RandomizingClient
- toString() - Method in record class org.elasticsearch.test.CloseableTestClusterWrapper
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.Bridge
- toString() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
- toString() - Method in class org.elasticsearch.test.disruption.NetworkDisruption
- toString() - Method in class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- toString() - Method in class org.elasticsearch.test.ESTestCase.DeprecationWarning
- toString() - Method in class org.elasticsearch.test.fixture.AbstractHttpFixture.Request
- toString() - Method in record class org.elasticsearch.test.fixture.AbstractHttpFixture.Response
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.ContentRange
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.test.fixture.HttpHeaderParser.Range
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.test.InternalAggregationTestCase.BuilderAndToReduce
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.test.NotEqualMessageBuilder
-
The failure message.
- toString() - Method in record class org.elasticsearch.test.PrivilegedOperations.ClosableURLClassLoader
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.test.rest.ObjectPath
- toString() - Method in class org.elasticsearch.test.TestCustomMetadata
- toString() - Method in record class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
Returns a string representation of this record class.
- toString() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- toString() - Method in class org.elasticsearch.test.XContentTestUtils.JsonMapView
- toString() - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase.TestRequest
- toString() - Method in class org.elasticsearch.transport.TestOutboundRequestMessage
- toString(String) - Method in class org.elasticsearch.search.DummyQueryParserPlugin.DummyQuery
- totalIndexedDocs() - Method in class org.elasticsearch.test.BackgroundIndexer
- totalNumShards - Variable in class org.elasticsearch.test.ESIntegTestCase.NumShards
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.test.rest.Stash
- toXContentBuilder(XContent) - Method in class org.elasticsearch.test.rest.ObjectPath
-
Create a new
XContentBuilder
from the xContent object underlying thisObjectPath
. - toXContentChunked(ToXContent.Params) - Method in class org.elasticsearch.test.TestCustomMetadata
- trackRequest(String) - Method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.HttpStatsCollectorHandler
- trackScores() - Method in class org.elasticsearch.test.TestSearchContext
- trackScores(boolean) - Method in class org.elasticsearch.test.TestSearchContext
- trackTotalHitsUpTo() - Method in class org.elasticsearch.test.TestSearchContext
- trackTotalHitsUpTo(int) - Method in class org.elasticsearch.test.TestSearchContext
- transformedArrayItemsMatch(String, Function<T, U>, Matcher<U[]>) - Static method in class org.elasticsearch.test.LambdaMatchers
- transformedArrayItemsMatch(Function<T, U>, Matcher<U[]>) - Static method in class org.elasticsearch.test.LambdaMatchers
- transformedItemsMatch(String, Function<T, U>, Matcher<Iterable<? extends U>>) - Static method in class org.elasticsearch.test.LambdaMatchers
- transformedItemsMatch(Function<T, U>, Matcher<Iterable<? extends U>>) - Static method in class org.elasticsearch.test.LambdaMatchers
- transformedMatch(String, Function<T, U>, Matcher<U>) - Static method in class org.elasticsearch.test.LambdaMatchers
- transformedMatch(Function<T, U>, Matcher<U>) - Static method in class org.elasticsearch.test.LambdaMatchers
- TRANSLOG_RETENTION_CHECK_INTERVAL_SETTING - Static variable in class org.elasticsearch.test.InternalSettingsPlugin
- translogHandler - Variable in class org.elasticsearch.index.engine.EngineTestCase
- TranslogHandler - Class in org.elasticsearch.index.engine
- TranslogHandler(MapperService) - Constructor for class org.elasticsearch.index.engine.TranslogHandler
- TranslogHandler(NamedXContentRegistry, IndexSettings) - Constructor for class org.elasticsearch.index.engine.TranslogHandler
- TranslogOperationsUtils - Class in org.elasticsearch.index.translog
- transport() - Method in class org.elasticsearch.test.transport.MockTransportService
- transportDelayMillis(String) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
- transportVersion0 - Static variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- transportVersion1 - Static variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- TransportVersionUtils - Class in org.elasticsearch.test
- TransportVersionUtils() - Constructor for class org.elasticsearch.test.TransportVersionUtils
- TransportWriteActionTestHelper - Class in org.elasticsearch.action.support.replication
- TransportWriteActionTestHelper() - Constructor for class org.elasticsearch.action.support.replication.TransportWriteActionTestHelper
- trueWith(T) - Static method in class org.elasticsearch.test.LambdaMatchers
- TRUSTSTORE_PASSWORD - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- TRUSTSTORE_PATH - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
- tryIncRef() - Method in class org.elasticsearch.test.transport.StubbableTransport.WrappedConnection
- TupleMatchers - Class in org.elasticsearch.test.hamcrest
- TupleMatchers() - Constructor for class org.elasticsearch.test.hamcrest.TupleMatchers
- TwoPartitions(String, String) - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- TwoPartitions(Set<String>, Set<String>) - Constructor for class org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions
- type() - Method in record class org.elasticsearch.cluster.coordination.LinearizabilityChecker.Event
-
Returns the value of the
type
record component. - type() - Method in class org.elasticsearch.index.mapper.MapperScriptTestCase
- type() - Method in record class org.elasticsearch.logsdb.datageneration.Template.Leaf
-
Returns the value of the
type
record component. - typeName() - Method in class org.elasticsearch.index.mapper.AbstractScriptFieldTypeTestCase
- typeName() - Method in class org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
U
- unblock() - Method in class org.elasticsearch.snapshots.mockstore.MockRepository
- unblockAllDataNodes(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- unblockNode(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- unknownMetaFieldConsumer - Static variable in enum class org.elasticsearch.search.SearchResponseUtils
- UNMAPPED_IDX_NAME - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- unmappedCentroid - Static variable in class org.elasticsearch.search.aggregations.metrics.AbstractGeoTestCase
- unregister(Task) - Method in class org.elasticsearch.test.tasks.MockTaskManager
- UNRESPONSIVE - Static variable in class org.elasticsearch.test.disruption.NetworkDisruption
-
Simulates an unresponsive target node by dropping requests sent from source to target node.
- unresponsiveExceptionType() - Method in class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase
- UnseenEventExpectation(String, String, Level, String) - Constructor for class org.elasticsearch.test.MockLog.UnseenEventExpectation
- UNSIGNED_LONG - Enum constant in enum class org.elasticsearch.logsdb.datageneration.FieldType
- UNSIGNED_LONG_MAX - Static variable in class org.elasticsearch.test.ESTestCase
-
The maximum value that can be represented as an unsigned long.
- UnsignedLongFieldDataGenerator - Class in org.elasticsearch.logsdb.datageneration.fields.leaf
- UnsignedLongFieldDataGenerator(String, DataSource) - Constructor for class org.elasticsearch.logsdb.datageneration.fields.leaf.UnsignedLongFieldDataGenerator
- UnsignedLongGenerator() - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceRequest.UnsignedLongGenerator
-
Creates an instance of a
UnsignedLongGenerator
record class. - UnsignedLongGenerator(Supplier<Object>) - Constructor for record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.UnsignedLongGenerator
-
Creates an instance of a
UnsignedLongGenerator
record class. - unsupportedMappedFieldTypes() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
A method that allows implementors to specifically blacklist particular field types (based on their content_name).
- unwrapTermOverride(TransportRequest) - Static method in class org.elasticsearch.action.support.master.MasterNodeRequestHelper
- updateClusterSettings(RestClient, Settings) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Updates the cluster with the provided settings (as persistent settings)
- updateClusterSettings(Settings) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Updates the cluster with the provided settings (as persistent settings)
- updateClusterSettings(Settings.Builder) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Sets cluster persistent settings
- updateClusterState(Function<ClusterState, ClusterState>) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- updateIndexSettings(String, Settings.Builder) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- updateIndexSettings(Settings.Builder, String...) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
updates the settings for an index
- updateMapping(IndexMetadata, IndexMetadata) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- updateMappings(IndexShard, IndexMetadata) - Method in class org.elasticsearch.index.shard.IndexShardTestCase
- updateMetadata(IndexMetadata, IndexMetadata) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexService
- updateRoutingEntry(IndexShard, ShardRouting) - Static method in class org.elasticsearch.index.shard.IndexShardTestCase
- updateShardState(ShardRouting, long, BiConsumer<IndexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask>>, long, Set<String>, IndexShardRoutingTable) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- updateState(ClusterState) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- updateTerm(long) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndexShard
- uri() - Method in class org.elasticsearch.test.rest.FakeRestRequest.FakeHttpRequest
- USE_COMPOUND_FILE - Static variable in class org.elasticsearch.test.InternalSettingsPlugin
- USE_MOCK_TASK_MANAGER_SETTING - Static variable in class org.elasticsearch.test.tasks.MockTaskManager
- useIgnoreMultipleMatchingTemplatesWarningsHandler(Request) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- useLogDocMergePolicy() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
-
Returns the value of the
useLogDocMergePolicy
record component. - USERNAME_SETTING - Static variable in class org.elasticsearch.snapshots.mockstore.MockRepository.Plugin
V
- validate(Collection<AggregationBuilder>, AF) - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Helper for testing validation.
- validate(AggregationBuilder, AF) - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Helper for testing validation.
- validate(PipelineAggregationBuilder.ValidationContext, AF) - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
-
Helper for testing validation.
- validateClusterFormed() - Method in class org.elasticsearch.test.InternalTestCluster
-
ensure a cluster is formed with all published nodes.
- validateClusterForming() - Method in class org.elasticsearch.test.InternalTestCluster.RestartCallback
-
returns true if the restart should also validate the cluster has reformed
- validateRoundTripReader(String, DirectoryReader, DirectoryReader) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- validateRoundTripReader(String, DirectoryReader, DirectoryReader) - Static method in class org.elasticsearch.index.mapper.TextFieldFamilySyntheticSourceTestSetup
- value() - Method in record class org.elasticsearch.cluster.coordination.LinearizabilityChecker.Event
-
Returns the value of the
value
record component. - value() - Method in record class org.elasticsearch.telemetry.Measurement
-
Returns the value of the
value
record component. - value() - Element in annotation interface org.elasticsearch.test.AnnotationTestOrdering.Order
- value() - Element in annotation interface org.elasticsearch.test.junit.annotations.TestIssueLogging
-
A comma-separated list of key-value pairs of logger:level.
- value() - Element in annotation interface org.elasticsearch.test.junit.annotations.TestLogging
-
A comma-separated list of key-value pairs of logger:level.
- value(ClusterState) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- value(ClusterState) - Static method in class org.elasticsearch.cluster.coordination.CoordinationStateTestCluster
- value(ClusterState, int) - Method in class org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase
- VALUE_FIELD - Static variable in class org.elasticsearch.search.retriever.TestRetrieverBuilder
- valueFetcher(SearchExecutionContext, String) - Method in class org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
- valueOf(String) - Static method in enum class org.elasticsearch.action.fieldcaps.FieldCapsUtils
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.cluster.coordination.LinearizabilityChecker.EventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.logsdb.datageneration.fields.DynamicMapping
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.logsdb.datageneration.FieldType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.search.rank.rerank.AbstractRerankerIT.ThrowingRankBuilderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.search.SearchResponseUtils
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.telemetry.InstrumentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.test.ESIntegTestCase.Scope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.test.fixture.HttpHeaderParser
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.test.rest.TestResponseParsers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.elasticsearch.transport.DisruptableMockTransport.ConnectionStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.elasticsearch.action.fieldcaps.FieldCapsUtils
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.cluster.coordination.LinearizabilityChecker.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.logsdb.datageneration.fields.DynamicMapping
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.logsdb.datageneration.FieldType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.repositories.blobstore.RepositoryFileType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.search.rank.rerank.AbstractRerankerIT.ThrowingRankBuilderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.search.SearchResponseUtils
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.telemetry.InstrumentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.test.ESIntegTestCase.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.test.fixture.HttpHeaderParser
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.test.rest.TestResponseParsers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.elasticsearch.transport.DisruptableMockTransport.ConnectionStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valuesSourceRegistry - Variable in class org.elasticsearch.search.aggregations.AggregatorTestCase
- verify(String, DiscoveryNode) - Method in class org.elasticsearch.index.shard.RestoreOnlyRepository
- verifyElectionSchedulerState(AbstractCoordinatorTestCase.Cluster.ClusterNode) - Method in interface org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.CoordinatorStrategy
- verifyIndexIsDeleted(Index, ClusterState) - Method in class org.elasticsearch.indices.cluster.AbstractIndicesClusterStateServiceTestCase.MockIndicesService
- verifyingClient - Variable in class org.elasticsearch.test.rest.RestActionTestCase
- VerifyingClient(ThreadPool) - Constructor for class org.elasticsearch.test.rest.RestActionTestCase.VerifyingClient
- verifyNoLeakedListeners() - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- verifyOutputFieldNames(T, V) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- version() - Method in record class org.elasticsearch.index.engine.DocIdSeqNoAndSource
-
Returns the value of the
version
record component. - version() - Method in class org.elasticsearch.test.TestSearchContext
- version(boolean) - Method in class org.elasticsearch.test.TestSearchContext
- version(VersionInformation) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- version(BuildVersion, IndexVersion, IndexVersion, IndexVersion) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- version(Version) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
-
Deprecated.
- version(Version, IndexVersion, IndexVersion) - Method in class org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
-
Deprecated.
- version0 - Static variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- version1 - Static variable in class org.elasticsearch.transport.AbstractSimpleTransportTestCase
- VersionUtils - Class in org.elasticsearch.test
-
Utilities for selecting versions in tests
- VersionUtils() - Constructor for class org.elasticsearch.test.VersionUtils
- visit(QueryVisitor) - Method in class org.elasticsearch.search.DummyQueryParserPlugin.DummyQuery
- visit(Circle) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(GeometryCollection<?>) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(Line) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(LinearRing) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(MultiLine) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(MultiPoint) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(MultiPolygon) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(Point) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(Polygon) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visit(Rectangle) - Method in class org.elasticsearch.geo.GeometryPointCountVisitor
- visualize(LinearizabilityChecker.SequentialSpec, LinearizabilityChecker.History, Function<Object, Object>) - Static method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker
-
Return a visual representation of the history
W
- waitAndGetHealthNode(InternalTestCluster) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for the health node to be assigned and returns the node that it is assigned to.
- waitForActiveLicense(RestClient) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Wait for the license to be applied and active.
- waitForBlock(String, String) - Method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- waitForBlockOnAnyDataNode(String) - Static method in class org.elasticsearch.snapshots.AbstractSnapshotIntegTestCase
- waitForDocs(long, BackgroundIndexer) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits until at least a give number of document is visible for searchers
- waitForLock(int, TimeUnit) - Method in class org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- waitForOpsToComplete(InternalEngine, long) - Static method in class org.elasticsearch.index.engine.EngineTestCase
-
Waits for all operations up to the provided sequence number to complete in the given internal engine.
- waitForPendingTasks(RestClient) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Wait for outstanding tasks to complete.
- waitForPendingTasks(RestClient, Predicate<String>) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
Wait for outstanding tasks to complete.
- waitForRelocation() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for all relocating shards to become active using the cluster health API.
- waitForRelocation(ClusterHealthStatus) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for all relocating shards to become active and the cluster has reached the given health status using the cluster health API.
- waitNoPendingTasksOnAll() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits until all nodes have no pending tasks.
- waitUntil(BooleanSupplier) - Static method in class org.elasticsearch.test.ESTestCase
-
Periodically execute the supplied function until it returns true, or a timeout is reached.
- waitUntil(BooleanSupplier, long, TimeUnit) - Static method in class org.elasticsearch.test.ESTestCase
-
Periodically execute the supplied function until it returns true, or until the specified maximum wait time has elapsed.
- warningsShouldFailRequest(List<String>) - Method in class org.elasticsearch.test.rest.ESRestTestCase.VersionSensitiveWarningsHandler
- WellKnownBinaryBytesRefMatcher<G> - Class in org.elasticsearch.test.hamcrest
-
A wrapper for matching geometries encoded as WKB in a BytesRef.
- WellKnownBinaryBytesRefMatcher(Matcher<G>) - Constructor for class org.elasticsearch.test.hamcrest.WellKnownBinaryBytesRefMatcher
- WholeNumberFieldMapperTests - Class in org.elasticsearch.index.mapper
- WholeNumberFieldMapperTests() - Constructor for class org.elasticsearch.index.mapper.WholeNumberFieldMapperTests
- wipe(Set<String>) - Method in class org.elasticsearch.test.TestCluster
-
Wipes any data that a test can leave behind: indices, templates (except exclude templates) and repositories
- wipeAllIndices() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- wipeAllIndices(boolean) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- wipeDataStreams() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
- wipeIndices(String...) - Method in class org.elasticsearch.test.TestCluster
-
Deletes the given indices from the tests cluster.
- wipePendingDataDirectories() - Method in class org.elasticsearch.test.InternalTestCluster
- wipeSearchableSnapshotsIndices() - Method in class org.elasticsearch.test.rest.ESRestTestCase
- wipeSnapshots() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Wipe fs snapshots we created one by one and all repositories so that the next test can create the repositories fresh and they'll start empty.
- wipeTemplates(String...) - Method in class org.elasticsearch.test.TestCluster
-
Deletes index templates, support wildcard notation.
- withAggregationContext(MapperService, List<SourceToParse>, CheckedConsumer<AggregationContext, IOException>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- withAggregationContext(MapperService, List<SourceToParse>, CheckedConsumer<AggregationContext, IOException>, Supplier<SearchLookup>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- withAggregationContext(ValuesSourceRegistry, MapperService, List<SourceToParse>, Query, CheckedConsumer<AggregationContext, IOException>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- withAggregationContext(ValuesSourceRegistry, MapperService, List<SourceToParse>, Query, CheckedConsumer<AggregationContext, IOException>, Supplier<SearchLookup>) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- withAggregator(AggregationBuilder, Query, CheckedConsumer<RandomIndexWriter, IOException>, CheckedBiConsumer<IndexReader, Aggregator, IOException>, MappedFieldType...) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- withAllocationId(AllocationId) - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- withBody(HttpBody) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withBreakerService(CircuitBreakerService) - Method in class org.elasticsearch.common.util.MockBigArrays
- withCircuitBreaking() - Method in class org.elasticsearch.common.util.MockBigArrays
- withContent(BytesReference, XContentType) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withDataSourceHandlers(Collection<DataSourceHandler>) - Method in class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- withDefaultVersion(Map<String, Object>) - Static method in class org.elasticsearch.ingest.TestIngestDocument
-
Create an
IngestDocument
withTestIngestDocument.DEFAULT_VERSION
as the _version metadata, if _version is not already present. - withDefaultVersion(Map<String, Object>, Map<String, Object>) - Static method in class org.elasticsearch.ingest.TestIngestDocument
-
Create an
IngestDocument
from the given sourceAndMetadata and ingestMetadata and a version validator that allows null _versions. - withExpectedShardSize(Long) - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- withFullyDynamicMapping(boolean) - Method in class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- WithGenerator(String, FieldType, Map<String, Object>, FieldDataGenerator) - Constructor for record class org.elasticsearch.logsdb.datageneration.fields.PredefinedField.WithGenerator
-
Creates an instance of a
WithGenerator
record class. - withHeaders(Map<String, List<String>>) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withInboundException(Exception) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withIncrementalReduce(boolean) - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- withIndex(CheckedConsumer<RandomIndexWriter, IOException>, CheckedConsumer<IndexReader, IOException>) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- withinQuery(String, String) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
- withinQuery(String, String) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- withinQuery(String, Geometry) - Method in class org.elasticsearch.search.geo.SpatialQueryBuilders.Geo
-
A filter to filter indexed shapes that are contained by a shape
- withinQuery(String, Geometry) - Method in interface org.elasticsearch.search.geo.SpatialQueryBuilders
- withLogDocMergePolicy() - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- withLuceneIndex(MapperService, CheckedConsumer<RandomIndexWriter, IOException>, CheckedConsumer<DirectoryReader, IOException>) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- withMapping(MapperService, XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- withMaxBuckets(int) - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- withMaxFieldCountPerLevel(int) - Method in class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- withMaxObjectDepth(int) - Method in class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- withMethod(RestRequest.Method) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withNestedFieldsLimit(int) - Method in class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- withNonMergingIndex(CheckedConsumer<RandomIndexWriter, IOException>, CheckedConsumer<IndexReader, IOException>) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- withParams(Map<String, String>) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withPath(String) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withPredefinedFields(List<PredefinedField>) - Method in class org.elasticsearch.logsdb.datageneration.DataGeneratorSpecification.Builder
- withQuery(Query) - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- withRecoverySource(RecoverySource) - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- withRelocatingNodeId(String) - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- withRelocationFailureInfo(RelocationFailureInfo) - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- withRemoteAddress(InetSocketAddress) - Method in class org.elasticsearch.test.rest.FakeRestRequest.Builder
- withRole(ShardRouting.Role) - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- withShouldBeCached(boolean) - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- withSplitLeavesIntoSeperateAggregators(boolean) - Method in record class org.elasticsearch.search.aggregations.AggregatorTestCase.AggTestConfig
- withUnassignedInfo(UnassignedInfo) - Method in class org.elasticsearch.cluster.routing.TestShardRouting.Builder
- wrap(HttpHandler, Logger) - Static method in class org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase
-
Wrap a
HttpHandler
to log any thrown exception using the givenLogger
. - wrap(Iterable<? extends TestCluster>) - Static method in record class org.elasticsearch.test.CloseableTestClusterWrapper
- wrap(TestCluster...) - Static method in record class org.elasticsearch.test.CloseableTestClusterWrapper
- WRAP_READER_RATIO - Static variable in class org.elasticsearch.test.engine.MockEngineSupport
-
Allows tests to wrap an index reader randomly with a given ratio.
- wrapAckListener(ClusterStatePublisher.AckListener) - Method in class org.elasticsearch.cluster.service.FakeThreadPoolMasterService
- wrapAsRestResponseListener(ActionListener<Response>) - Static method in class org.elasticsearch.action.support.ActionTestUtils
- wrapClient(Client) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- wrapDirectoryReader(DirectoryReader) - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
-
Override to wrap the DirectoryReader for aggs like
NestedAggregationBuilder
. - wrapInMockESDirectoryReader(DirectoryReader) - Static method in class org.elasticsearch.index.mapper.MapperServiceTestCase
- wrapInMockESDirectoryReader(DirectoryReader) - Static method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- wrapper() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.ArrayWrapper
-
Returns the value of the
wrapper
record component. - wrapper() - Method in record class org.elasticsearch.logsdb.datageneration.datasource.DataSourceResponse.NullWrapper
-
Returns the value of the
wrapper
record component. - wrapSearcher(Engine.Searcher) - Method in class org.elasticsearch.test.engine.MockEngineSupport
- wrapSearcher(Engine.Searcher, CheckedFunction<DirectoryReader, DirectoryReader, IOException>) - Static method in class org.elasticsearch.index.shard.SearcherHelper
- wrapTerms(String) - Method in interface org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Thrower
-
If this method returns true the
Terms
instance for the given field is wrapped with Thrower support otherwise no exception will be thrown for the currentTerms
instance or any other instance obtained from it. - writableRegistry() - Method in class org.elasticsearch.search.aggregations.AggregatorTestCase
- writableRegistry() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- writableRegistry() - Method in class org.elasticsearch.test.ESTestCase
-
The
NamedWriteableRegistry
to use for this test. - write(XContentBuilder) - Method in class org.elasticsearch.index.mapper.NumberTypeOutOfRangeSpec
- writeableRegistry() - Method in class org.elasticsearch.test.transport.MockTransport
- writeBlob(BlobContainer, String, BytesArray) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- writeBlob(BlobContainer, String, BytesArray, boolean) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- writeExecutor - Variable in class org.elasticsearch.index.shard.IndexShardTestCase
- writeField(XContentBuilder) - Method in class org.elasticsearch.index.mapper.MapperTestCase
-
Writes the field and a sample value for it to the provided
XContentBuilder
. - writeFileChunk(StoreFileMetadata, long, ReleasableBytesReference, boolean, int, ActionListener<Void>) - Method in class org.elasticsearch.indices.recovery.AsyncRecoveryTarget
- writeHeartbeat(Heartbeat, ActionListener<Void>) - Method in class org.elasticsearch.cluster.coordination.stateless.DisruptibleHeartbeatStore
- writeIndex(NodeEnvironment, String, IndexMetadata) - Static method in class org.elasticsearch.gateway.MetaStateWriterUtils
-
Writes the index state.
- writeManifestAndCleanup(NodeEnvironment, String, Manifest) - Static method in class org.elasticsearch.gateway.MetaStateWriterUtils
-
Writes manifest file (represented by
Manifest
) to disk and performs cleanup of old manifest state file if the write succeeds or newly created manifest state if the write fails. - writeNamedComponentsFile(Path, String) - Static method in class org.elasticsearch.plugins.PluginTestUtil
- writePluginProperties(Path, String...) - Static method in class org.elasticsearch.plugins.PluginTestUtil
- writeRandomBlob(BlobContainer, String, int) - Static method in class org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase
- writeResponse(HttpExchange, HttpHandler) - Method in class org.elasticsearch.http.ResponseInjectingHttpHandler.FixedRequestHandler
- writeResponse(HttpExchange, HttpHandler) - Method in interface org.elasticsearch.http.ResponseInjectingHttpHandler.RequestHandler
- writeSimplePluginDescriptor(Path, String, String) - Static method in class org.elasticsearch.plugins.PluginTestUtil
- writeStablePluginProperties(Path, String...) - Static method in class org.elasticsearch.plugins.PluginTestUtil
- writeTo(StreamOutput) - Method in class org.elasticsearch.common.settings.MockSecureSettings
- writeTo(StreamOutput) - Method in class org.elasticsearch.search.rank.TestRankShardResult
- writeTo(StreamOutput) - Method in class org.elasticsearch.test.TestCustomMetadata
- writeTo(StreamOutput) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase.StringMessageRequest
- writeTo(StreamOutput) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase.TestRequest
- writeTo(StreamOutput) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase.Version0Request
- writeTo(StreamOutput) - Method in class org.elasticsearch.transport.AbstractSimpleTransportTestCase.Version1Request
- writeTo(StreamOutput) - Method in class org.elasticsearch.transport.TestRequest
- writeTo(StreamOutput) - Method in class org.elasticsearch.transport.TestResponse
- writeVariableHeader(StreamOutput) - Method in class org.elasticsearch.transport.TestOutboundRequestMessage
- writeVisualisation(LinearizabilityChecker.SequentialSpec, LinearizabilityChecker.History, Function<Object, Object>, Writer) - Static method in class org.elasticsearch.cluster.coordination.LinearizabilityChecker
-
Write a visual representation of the history to the given writer
X
- xContentRegistry() - Method in class org.elasticsearch.search.aggregations.BasePipelineAggregationTestCase
- xContentRegistry() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractSignificanceHeuristicTestCase
- xContentRegistry() - Method in class org.elasticsearch.test.AbstractBuilderTestCase
- xContentRegistry() - Method in class org.elasticsearch.test.AbstractQueryVectorBuilderTestCase
- xContentRegistry() - Method in class org.elasticsearch.test.ESIntegTestCase
- xContentRegistry() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
- xContentRegistry() - Method in class org.elasticsearch.test.ESTestCase
-
The
NamedXContentRegistry
to use for this test. - xContentTester(CheckedBiFunction<XContent, BytesReference, XContentParser, IOException>, Function<XContentType, T>, ToXContent.Params, CheckedFunction<XContentParser, T, IOException>) - Static method in class org.elasticsearch.test.AbstractXContentTestCase
- xContentTester(CheckedBiFunction<XContent, BytesReference, XContentParser, IOException>, Supplier<T>, CheckedBiConsumer<T, XContentBuilder, IOException>, CheckedFunction<XContentParser, T, IOException>) - Static method in class org.elasticsearch.test.AbstractXContentTestCase
- xContentTester(CheckedBiFunction<XContent, BytesReference, XContentParser, IOException>, Supplier<T>, CheckedFunction<XContentParser, T, IOException>) - Static method in class org.elasticsearch.test.AbstractXContentTestCase
- xContentTester(CheckedBiFunction<XContent, BytesReference, XContentParser, IOException>, Supplier<T>, ToXContent.Params, CheckedFunction<XContentParser, T, IOException>) - Static method in class org.elasticsearch.test.AbstractXContentTestCase
- XContentTestUtils - Class in org.elasticsearch.test
- XContentTestUtils.JsonMapView - Class in org.elasticsearch.test
- XPACK - Enum constant in enum class org.elasticsearch.test.rest.ESRestTestCase.ProductFeature
- XShapeTestUtil - Class in org.elasticsearch.geo
-
generates random cartesian geometry; heavy reuse of
GeoTestUtil
- XShapeTestUtil() - Constructor for class org.elasticsearch.geo.XShapeTestUtil
Y
- yesAllocationDeciders() - Static method in class org.elasticsearch.cluster.ESAllocationTestCase
Z
- ZeroBytesReference - Class in org.elasticsearch.common.bytes
-
A
BytesReference
of the given length which contains all zeroes. - ZeroBytesReference(int) - Constructor for class org.elasticsearch.common.bytes.ZeroBytesReference
- ZeroBytesReferenceTests - Class in org.elasticsearch.common.bytes
- ZeroBytesReferenceTests() - Constructor for class org.elasticsearch.common.bytes.ZeroBytesReferenceTests
- ZeroInputStream(long) - Constructor for class org.elasticsearch.repositories.blobstore.AbstractBlobContainerRetriesTestCase.ZeroInputStream
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ESIntegTestCase
for internal-cluster tests orESRestTestCase
otherwise.