A B C D E F G H I J K L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBackupRepositoryTest - Class in org.apache.solr.cloud.api.collections
- AbstractBackupRepositoryTest() - Constructor for class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository - Class in org.apache.solr.cloud.api.collections
-
Test implementation of a
DelegatingBackupRepository
that disables the checksum verification on its delegateBackupRepository
. - AbstractBadConfigTestBase - Class in org.apache.solr.core
- AbstractBadConfigTestBase() - Constructor for class org.apache.solr.core.AbstractBadConfigTestBase
- AbstractBasicDistributedZk2TestBase - Class in org.apache.solr.cloud
-
This test simply does a bunch of basic things in solrcloud mode and asserts things work as expected.
- AbstractBasicDistributedZk2TestBase() - Constructor for class org.apache.solr.cloud.AbstractBasicDistributedZk2TestBase
- AbstractBasicDistributedZkTestBase - Class in org.apache.solr.cloud
-
This test simply does a bunch of basic things in solrcloud mode and asserts things work as expected.
- AbstractBasicDistributedZkTestBase() - Constructor for class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- AbstractChaosMonkeyNothingIsSafeTestBase - Class in org.apache.solr.cloud
- AbstractChaosMonkeyNothingIsSafeTestBase() - Constructor for class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- AbstractChaosMonkeySafeLeaderTestBase - Class in org.apache.solr.cloud
- AbstractChaosMonkeySafeLeaderTestBase() - Constructor for class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- AbstractCloudBackupRestoreTestCase - Class in org.apache.solr.cloud.api.collections
-
Used to test the traditional (now deprecated) 'full-snapshot' method of backup/restoration.
- AbstractCloudBackupRestoreTestCase() - Constructor for class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- AbstractCollectionsAPIDistributedZkTestBase - Class in org.apache.solr.cloud.api.collections
-
Tests the Cloud Collections API.
- AbstractCollectionsAPIDistributedZkTestBase() - Constructor for class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- AbstractDigestZkACLAndCredentialsProvidersTestBase - Class in org.apache.solr.cloud
- AbstractDigestZkACLAndCredentialsProvidersTestBase() - Constructor for class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- AbstractDigestZkACLAndCredentialsProvidersTestBase.AllAndReadonlyCredentialZkCredentialsInjector - Class in org.apache.solr.cloud
- AbstractDigestZkACLAndCredentialsProvidersTestBase.AllCredentialZkCredentialsInjector - Class in org.apache.solr.cloud
- AbstractDigestZkACLAndCredentialsProvidersTestBase.ConnectWithReadonlyCredsInjector - Class in org.apache.solr.cloud
- AbstractDigestZkACLAndCredentialsProvidersTestBase.NoCredentialZkCredentialsInjector - Class in org.apache.solr.cloud
- AbstractDigestZkACLAndCredentialsProvidersTestBase.WrongAllCredentialZkCredentialsInjector - Class in org.apache.solr.cloud
- AbstractDistribZkTestBase - Class in org.apache.solr.cloud
- AbstractDistribZkTestBase() - Constructor for class org.apache.solr.cloud.AbstractDistribZkTestBase
- AbstractFullDistribZkTestBase - Class in org.apache.solr.cloud
-
TODO: we should still test this works as a custom update chain as well as what we test now - the default update chain
- AbstractFullDistribZkTestBase() - Constructor for class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- AbstractFullDistribZkTestBase.CloudJettyRunner - Class in org.apache.solr.cloud
- AbstractFullDistribZkTestBase.CloudSolrServerClient - Class in org.apache.solr.cloud
- AbstractIncrementalBackupTest - Class in org.apache.solr.cloud.api.collections
-
Used to test the incremental method of backup/restoration (as opposed to the deprecated 'full snapshot' method).
- AbstractIncrementalBackupTest() - Constructor for class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- AbstractInstallShardTest - Class in org.apache.solr.cloud.api.collections
-
Base class for testing the "Install Shard API" with various backup repositories.
- AbstractInstallShardTest() - Constructor for class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- AbstractMoveReplicaTestBase - Class in org.apache.solr.cloud
- AbstractMoveReplicaTestBase() - Constructor for class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- AbstractRecoveryZkTestBase - Class in org.apache.solr.cloud
- AbstractRecoveryZkTestBase() - Constructor for class org.apache.solr.cloud.AbstractRecoveryZkTestBase
- AbstractRestartWhileUpdatingTestBase - Class in org.apache.solr.cloud
- AbstractRestartWhileUpdatingTestBase() - Constructor for class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- AbstractSyncSliceTestBase - Class in org.apache.solr.cloud
-
Test sync phase that occurs when Leader goes down and a new Leader is elected.
- AbstractSyncSliceTestBase() - Constructor for class org.apache.solr.cloud.AbstractSyncSliceTestBase
- AbstractTlogReplayBufferedWhileIndexingTestBase - Class in org.apache.solr.cloud
- AbstractTlogReplayBufferedWhileIndexingTestBase() - Constructor for class org.apache.solr.cloud.AbstractTlogReplayBufferedWhileIndexingTestBase
- AbstractUnloadDistributedZkTestBase - Class in org.apache.solr.cloud
-
This test simply does a bunch of basic things in solrcloud mode and asserts things work as expected.
- AbstractUnloadDistributedZkTestBase() - Constructor for class org.apache.solr.cloud.AbstractUnloadDistributedZkTestBase
- AbstractZkTestCase - Class in org.apache.solr.cloud
-
Base test class for ZooKeeper tests.
- AbstractZkTestCase() - Constructor for class org.apache.solr.cloud.AbstractZkTestCase
- activeClusterShape(int, int) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Return a
CollectionStatePredicate
that returns true if a collection has the expected number of active shards and active replicas - add(SolrClient, SolrParams, Iterable<SolrInputDocument>) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- add(SolrClient, SolrParams, SolrInputDocument) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
This should not be called in a loop, use
BaseDistributedSearchTestCase.add(SolrClient, SolrParams, Iterable)
instead - add(SolrClient, SolrInputDocument, ModifiableSolrParams) - Static method in class org.apache.solr.SolrTestCaseHS
-
Adds a document using the specific client, or to the local test core if null.
- add(SolrInputDocument, ModifiableSolrParams) - Method in class org.apache.solr.SolrTestCaseHS.Client
- add(SolrTestCaseJ4.XmlDoc, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates an <add><doc>...
- addAndGetVersion(SolrInputDocument, SolrParams) - Static method in class org.apache.solr.SolrTestCaseJ4
- addCollection(Builders.CollectionBuilder) - Method in class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- addCommands - Variable in class org.apache.solr.update.processor.BufferingRequestProcessor
- addConfig(String, Path) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Upload a collection config before tests start
- addCustomProperty(String, String) - Method in class org.apache.solr.cluster.placement.Builders.CollectionBuilder
- addDelay(String, int, int) - Method in class org.apache.solr.embedded.JettySolrRunner.DebugFilter
-
Introduce a delay of specified milliseconds for the specified request.
- addDoc(String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- addDocs(String, int) - Method in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- addFails - Variable in class org.apache.solr.cloud.StoppableIndexingThread
- addFields(SolrInputDocument, Object...) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- addFields(SolrInputDocument, Object...) - Method in class org.apache.solr.cloud.StoppableIndexingThread
- addRandFields(SolrInputDocument) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- addReplicaTest() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- adminQuery(String) - Method in class org.apache.solr.util.RestTestHarness
- adoc(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a simple <add><doc>...
- adoc(SolrInputDocument) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a simple <add><doc>...
- after() - Method in class org.apache.solr.util.EmbeddedSolrServerTestRule
-
Shuts down the EmbeddedSolrServer instance and clears the coreRootDirectory system property if necessary
- after() - Method in class org.apache.solr.util.SolrJettyTestRule
- afterClass() - Static method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- afterClass() - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- afterClass() - Static method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- afterRestartWhileUpdatingTest() - Static method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- afterRestartWhileUpdatingTest() - Static method in class org.apache.solr.cloud.AbstractTlogReplayBufferedWhileIndexingTestBase
- afterSuperClass() - Static method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- afterSuperClass() - Static method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- afterTest() - Method in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- all() - Method in class org.apache.solr.SolrTestCaseHS.ClientProvider
- AllAndReadonlyCredentialZkCredentialsInjector() - Constructor for class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.AllAndReadonlyCredentialZkCredentialsInjector
- AllCredentialZkCredentialsInjector() - Constructor for class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.AllCredentialZkCredentialsInjector
- apply(String) - Method in class org.apache.solr.cloud.MultiSolrCloudTestCase.DefaultClusterCreateFunction
- apply(Statement, Description) - Method in class org.apache.solr.BaseDistributedSearchTestCase.ShardsRepeatRule
- apply(Statement, Description) - Method in class org.apache.solr.util.RevertDefaultThreadHandlerRule
- args - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
- assertAllActive(String, ZkStateReader) - Static method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- assertAuditMetricsMinimums(MiniSolrCloudCluster, String, int, int) - Method in class org.apache.solr.cloud.SolrCloudAuthTestCase
-
Common test method to be able to check audit metrics
- assertAuthMetricsMinimums(int, int, int, int, int, int) - Method in class org.apache.solr.cloud.SolrCloudAuthTestCase
-
Used to check metric counts for the AuthPlugin in use (except PKI)
- assertConfigs(String, String, String) - Method in class org.apache.solr.core.AbstractBadConfigTestBase
-
Given a solrconfig.xml file name, a schema file name, and an expected errString, asserts that initializing a core with these files causes an error matching the specified errString ot be thrown.
- assertConfigs(String, String, String, String) - Method in class org.apache.solr.core.AbstractBadConfigTestBase
-
Given a solrconfig.xml file name, a schema file name, a solr home directory, and an expected errString, asserts that initializing a core with these files causes an error matching the specified errString ot be thrown.
- assertDocCounts(boolean) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- assertExceptionThrownWithMessageContaining(Class<? extends Throwable>, List<String>, LuceneTestCase.ThrowingRunnable) - Method in class org.apache.solr.SolrTestCaseJ4
- assertFailedU(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates an update XML String failed
- assertFailedU(String) - Static method in class org.apache.solr.util.RestTestBase
-
Validates an update XML String failed
- assertFailedU(String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates an update XML String failed
- assertFailedU(String, String) - Static method in class org.apache.solr.util.RestTestBase
-
Validates an update XML String failed
- assertFieldValues(SolrDocumentList, String, Object...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Fails if the number of documents in the given SolrDocumentList differs from the given number of expected values, or if any of the values in the given field don't match the expected values in the same order.
- assertHead(String, int) - Static method in class org.apache.solr.util.RestTestBase
- assertJDelete(String, double, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Deletes a resource and then matches some JSON test expressions against the response using the specified double delta tolerance.
- assertJDelete(String, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Deletes a resource and then matches some JSON test expressions against the response using the default double delta tolerance.
- assertJPost(String, String, double, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Validates the response from a PUT request matches some JSON test expressions and closes the query.
- assertJPost(String, String, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Validates the response from a POST request matches some JSON test expressions
- assertJPut(String, String, double, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Validates the response from a PUT request matches some JSON test expressions and closes the query.
- assertJPut(String, String, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Validates the response from a PUT request matches some JSON test expressions
- assertJQ(String, double, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Validates a query matches some JSON test expressions and closes the query.
- assertJQ(String, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Validates a query matches some JSON test expressions using the default double delta tolerance.
- assertJQ(SolrClient, SolrParams, String...) - Static method in class org.apache.solr.SolrTestCaseHS
-
Pass "null" for the client to query the local server
- assertJQ(SolrClient, SolrParams, String...) - Method in class org.apache.solr.SolrTestCaseHS.Client.Tester
- assertJQ(SolrQueryRequest, double, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates a query matches some JSON test expressions and closes the query.
- assertJQ(SolrQueryRequest, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates a query matches some JSON test expressions using the default double delta tolerance.
- assertJSONEquals(String, String) - Static method in class org.apache.solr.SolrTestCase
- assertNonBlockingRandomGeneratorAvailable() - Static method in class org.apache.solr.SolrTestCaseJ4
- assertPkiAuthMetricsMinimums(int, int, int, int, int, int) - Method in class org.apache.solr.cloud.SolrCloudAuthTestCase
-
Used to check metric counts for PKI auth
- assertQ(String, String...) - Static method in class org.apache.solr.util.RestTestBase
-
Validates a query matches some XPath test expressions
- assertQ(String, SolrQueryRequest, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates a query matches some XPath test expressions and closes the query
- assertQ(SolrClient, SolrParams, String...) - Static method in class org.apache.solr.SolrTestCaseHS
-
Pass "null" for the client to query to the local server.
- assertQ(SolrClient, SolrParams, String...) - Method in class org.apache.solr.SolrTestCaseHS.Client.Tester
- assertQ(SolrQueryRequest, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates a query matches some XPath test expressions and closes the query
- assertQEx(String, String, SolrQueryRequest, SolrException.ErrorCode) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Makes sure a query throws a SolrException with the listed response code and expected message
- assertQEx(String, SolrQueryRequest, int) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Makes sure a query throws a SolrException with the listed response code
- assertQEx(String, SolrQueryRequest, SolrException.ErrorCode) - Static method in class org.apache.solr.SolrTestCaseJ4
- assertResponseValues(SolrResponseBase, Object...) - Static method in class org.apache.solr.SolrTestCaseJ4
- assertSolrInputFieldEquals(Object, Object) - Method in class org.apache.solr.SolrTestCaseJ4
- assertThat(String, T, Matcher<? super T>) - Static method in class org.apache.solr.SolrTestCase
-
Hide deprecated inherited method with same signature
- assertThat(T, Matcher<? super T>) - Static method in class org.apache.solr.SolrTestCase
-
Hide deprecated inherited method with same signature
- assertU(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates an update XML String is successful
- assertU(String) - Static method in class org.apache.solr.util.RestTestBase
-
Validates an update XML String is successful
- assertU(String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Validates an update XML String is successful
- assertU(String, String) - Static method in class org.apache.solr.util.RestTestBase
-
Validates an update XML String is successful
- assertXmlFile(File, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
- assumeSslIsSafeToTest() - Static method in class org.apache.solr.util.SSLTestConfig
-
Helper method for sanity checking if it's safe to use SSL on this JVM
- assumeWorkingMockito() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Assumes that Mockito/Bytebuddy is available and can be used to mock classes (e.g., fails if Java version is too new).
- attemptCollectionDelete(CloudSolrClient, String) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
Logs a WARN if collection can't be deleted, but does not fail or throw an exception
- AttributeFetcherForTest - Class in org.apache.solr.cluster.placement
- AttributeFetcherForTest(AttributeValues) - Constructor for class org.apache.solr.cluster.placement.AttributeFetcherForTest
- azt_afterClass() - Static method in class org.apache.solr.cloud.AbstractZkTestCase
- azt_beforeClass() - Static method in class org.apache.solr.cloud.AbstractZkTestCase
B
- BACKUP_REPO_NAME - Static variable in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- BACKUP_REPO_NAME - Static variable in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- BACKUPNAME_PREFIX - Static variable in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- BACKUPNAME_PREFIX - Static variable in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- BackupRestoreUtils - Class in org.apache.solr.handler
- BackupRestoreUtils() - Constructor for class org.apache.solr.handler.BackupRestoreUtils
- BackupStatusChecker - Class in org.apache.solr.handler
-
Helper class for validating when the replication handler has finished a backup.
- BackupStatusChecker(SolrClient) - Constructor for class org.apache.solr.handler.BackupStatusChecker
-
Defaults to a path of
/replication
(ie: assumes client is configured with a core specific solr URL). - BackupStatusChecker(SolrClient, String) - Constructor for class org.apache.solr.handler.BackupStatusChecker
- BadZookeeperThreadsFilter - Class in org.apache.solr.util
- BadZookeeperThreadsFilter() - Constructor for class org.apache.solr.util.BadZookeeperThreadsFilter
- BaseDistributedSearchTestCase - Class in org.apache.solr
-
Helper base class for distributed search test cases
- BaseDistributedSearchTestCase() - Constructor for class org.apache.solr.BaseDistributedSearchTestCase
-
Constructs a test in which the jetty+solr instances as well as the solr clients all use the value of the "hostContext" system property.
- BaseDistributedSearchTestCase(String) - Constructor for class org.apache.solr.BaseDistributedSearchTestCase
- BaseDistributedSearchTestCase.RandDate - Class in org.apache.solr
- BaseDistributedSearchTestCase.RandVal - Class in org.apache.solr
- BaseDistributedSearchTestCase.ShardsFixed - Annotation Type in org.apache.solr
- BaseDistributedSearchTestCase.ShardsRepeat - Annotation Type in org.apache.solr
- BaseDistributedSearchTestCase.ShardsRepeatRule - Class in org.apache.solr
- BaseTestHarness - Class in org.apache.solr.util
- BaseTestHarness() - Constructor for class org.apache.solr.util.BaseTestHarness
- basicSolrClientBuilder() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
creates a basic CloudSolrClient Builder that then can be customized by callers, for example by specifying what collection they want to use.
- beforeBDZKTClass() - Static method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- beforeClass() - Static method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- beforeClass() - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- beforeFullSolrCloudTest() - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- beforeRestartWhileUpdatingTest() - Static method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- beforeRestartWhileUpdatingTest() - Static method in class org.apache.solr.cloud.AbstractTlogReplayBufferedWhileIndexingTestBase
- beforeSolrTestCase() - Static method in class org.apache.solr.SolrTestCase
-
Sets the
solr.default.confdir
system property to the value ofExternalPaths.DEFAULT_CONFIGSET
if and only if the system property is not already set, and theDEFAULT_CONFIGSET
exists and is a readable directory. - beforeSuperClass() - Static method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- beforeSuperClass() - Static method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- beforeTest() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- beforeTest() - Method in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- beforeThisClass() - Static method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- between(int, int) - Method in class org.apache.solr.SolrTestCaseJ4.Vals
- blockPort(int) - Static method in class org.apache.solr.cloud.IpTables
- booleanClause(Matcher<? extends Query>, BooleanClause.Occur) - Static method in class org.apache.solr.util.QueryMatchers
- booleanQuery(Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- booleanQuery(Matcher<Query>, BooleanClause.Occur) - Static method in class org.apache.solr.util.QueryMatchers
- booleanQuery(Matcher<Query>, Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- booleanQuery(Matcher<Query>, Matcher<Query>, BooleanClause.Occur) - Static method in class org.apache.solr.util.QueryMatchers
- booleanQuery(Matcher<Query>, Matcher<Query>, Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- booleanQuery(Matcher<Query>, Matcher<Query>, Matcher<Query>, Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- boosted(String, String, float) - Static method in class org.apache.solr.util.QueryMatchers
- boosted(Matcher<? extends Query>, float) - Static method in class org.apache.solr.util.QueryMatchers
- bootstrapBackupRepositoryData(String) - Static method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- BufferingRequestProcessor - Class in org.apache.solr.update.processor
- BufferingRequestProcessor(UpdateRequestProcessor) - Constructor for class org.apache.solr.update.processor.BufferingRequestProcessor
- bugUrl() - Method in annotation type org.apache.solr.SolrTestCaseJ4.SuppressPointFields
-
Point to JIRA entry.
- bugUrl() - Method in annotation type org.apache.solr.SolrTestCaseJ4.SuppressSSL
-
Point to JIRA entry.
- build() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Configure, run and return the
MiniSolrCloudCluster
- build() - Method in class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- build() - Method in class org.apache.solr.cluster.placement.Builders.CollectionBuilder
- build() - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- build() - Method in class org.apache.solr.embedded.JettyConfig.Builder
- build(Shard) - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- build(SolrCollection) - Method in class org.apache.solr.cluster.placement.Builders.ShardBuilder
- build(SolrCore, SolrIndexSearcher) - Method in class org.apache.solr.handler.component.DummyCustomParamSpellChecker
- buildAttributeFetcher() - Method in class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- buildClientSocketFactoryRegistryProvider() - Method in class org.apache.solr.util.SSLTestConfig
-
Creates a
HttpClientUtil.SocketFactoryRegistryProvider
for HTTP clients to use when communicating with servers which have been configured based on the settings of this object. - buildClientSSLConfig() - Method in class org.apache.solr.util.SSLTestConfig
- buildClientSSLConnectionSocketFactory() - Method in class org.apache.solr.util.SSLTestConfig
-
Constructs a new SSLConnectionSocketFactory for HTTP clients to use when communicating with servers which have been configured based on the settings of this object.
- buildClientSSLContext() - Method in class org.apache.solr.util.SSLTestConfig
-
Builds a new SSLContext for HTTP clients to use when communicating with servers which have been configured based on the settings of this object.
- builder() - Static method in class org.apache.solr.embedded.JettyConfig
- builder(JettyConfig) - Static method in class org.apache.solr.embedded.JettyConfig
- Builder() - Constructor for class org.apache.solr.embedded.JettyConfig.Builder
- Builder(int, Path) - Constructor for class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Create a builder
- Builders - Class in org.apache.solr.cluster.placement
-
Builder classes to make tests using different cluster and node configurations easier to write and to read.
- Builders() - Constructor for class org.apache.solr.cluster.placement.Builders
- Builders.ClusterBuilder - Class in org.apache.solr.cluster.placement
- Builders.CollectionBuilder - Class in org.apache.solr.cluster.placement
- Builders.NodeBuilder - Class in org.apache.solr.cluster.placement
- Builders.ReplicaBuilder - Class in org.apache.solr.cluster.placement
- Builders.ShardBuilder - Class in org.apache.solr.cluster.placement
- buildLiveNodes() - Method in class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- buildPlacementContext() - Method in class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- buildServerSSLConfig() - Method in class org.apache.solr.util.SSLTestConfig
-
Builds a new SSLContext for jetty servers which have been configured based on the settings of this object.
- buildSolrClient() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- buildTestNodeConfig(Path) - Static method in class org.apache.solr.util.TestHarness
- buildUrl(int) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- buildUrl(int, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- buildZooKeeper(Path, String, String) - Method in class org.apache.solr.cloud.ZkTestServer
- BVal() - Constructor for class org.apache.solr.SolrTestCaseJ4.BVal
C
- causeConnectionLoss(JettySolrRunner) - Static method in class org.apache.solr.cloud.ChaosMonkey
- causeConnectionLoss(ZooKeeper) - Static method in class org.apache.solr.cloud.ChaosMonkey
- causeSomeChaos() - Method in class org.apache.solr.cloud.ChaosMonkey
-
causes some randomly selected chaos
- chaosMonkey - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- ChaosMonkey - Class in org.apache.solr.cloud
-
The monkey can stop random or specific jetties used with SolrCloud.
- ChaosMonkey(ZkTestServer, ZkStateReader, String, Map<String, List<AbstractFullDistribZkTestBase.CloudJettyRunner>>, Map<String, AbstractFullDistribZkTestBase.CloudJettyRunner>) - Constructor for class org.apache.solr.cloud.ChaosMonkey
- checkAdminResponseStatus(String, String) - Method in class org.apache.solr.util.RestTestHarness
- checkBackupDeletionSuccess(String) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Does a single check of the replication handler's status to determine if the specified name matches the most recently deleted backup, and if deleting that backup was a success.
- checkBackupSuccess() - Method in class org.apache.solr.handler.BackupStatusChecker
-
Does a single check of the replication handler's status to determine if the mostrecently completed backup was a success.
- checkBackupSuccess(String) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Does a single check of the replication handler's status to determine if the specified name matches the most recently completed backup, and if that backup was a success.
- checkClusterConfiguration() - Method in class org.apache.solr.cloud.SolrCloudTestCase
- checkForCollection(String, List<Integer>, List<String>) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- checkIfDiffIsLegal(SolrDocumentList, SolrDocumentList, String, String, Set<String>, Set<String>) - Static method in class org.apache.solr.cloud.CloudInspectUtil
-
When a and b are known to be different, this method tells if the difference is legal given the adds and deletes that failed from b.
- checkQueries() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- checkResponseStatus(String, String) - Method in class org.apache.solr.util.RestTestHarness
- checkShardConsistency() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- checkShardConsistency(boolean, boolean) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- checkShardConsistency(boolean, boolean, Set<String>, Set<String>) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- checkShardConsistency(String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
Returns a non-null string if replicas within the same shard do not have a consistent number of documents.
- checkShardConsistency(String, boolean, boolean) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
Returns a non-null string if replicas within the same shard do not have a consistent number of documents.
- checkSupportsDocValues() - Method in class org.apache.solr.schema.SortableBinaryField
- checkSyspropForceBeforeAssumptionFailure() - Method in class org.apache.solr.SolrTestCase
-
Special hook for sanity checking if any tests trigger failures when an Assumption failure occures in a
Before
method - checkSyspropForceBeforeClassAssumptionFailure() - Static method in class org.apache.solr.SolrTestCase
-
Special hook for sanity checking if any tests trigger failures when an Assumption failure occures in a
BeforeClass
method - checkUpdateStatus(String, String) - Method in class org.apache.solr.util.BaseTestHarness
-
Validates that an "update" (add, commit or optimize) results in success.
- chRootClient - Variable in class org.apache.solr.cloud.ZkTestServer
- cleanUpHarness() - Static method in class org.apache.solr.util.RestTestBase
- cleanUpJettyHome(File) - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- clear() - Static method in class org.apache.solr.core.TrackingBackupRepository
-
Clear all tracking data
- clear() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory.RequestTrackingQueue
- clearCollsToDelete() - Method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- clearErrorHook() - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- clearHostContext() - Static method in class org.apache.solr.BaseDistributedSearchTestCase
-
Clears the "hostContext" system property
- clearIndex() - Method in class org.apache.solr.SolrTestCaseJ4
-
Does a low level delete of all docs in the index.
- clearIndex() - Method in class org.apache.solr.util.SolrClientTestRule
- clearQueryCache() - Static method in class org.apache.solr.SolrTestCaseHS
- clearSolrDisableShardsWhitelist() - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- client - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- client - Variable in class org.apache.solr.SolrTestCaseHS.SolrInstances
- client(SolrInputDocument, SolrParams) - Method in class org.apache.solr.SolrTestCaseHS.ClientProvider
- Client(List<SolrClient>, int) - Constructor for class org.apache.solr.SolrTestCaseHS.Client
- clientAuth - Variable in class org.apache.solr.util.RandomizeSSL.SSLRandomizer
- clientAuth() - Method in annotation type org.apache.solr.util.RandomizeSSL
-
Odds (as ratio relative to 1) that SSL should be selected in a typical run.
- ClientProvider(List<SolrClient>, int) - Constructor for class org.apache.solr.SolrTestCaseHS.ClientProvider
- clients - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- close() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory
- close() - Method in class org.apache.solr.util.ErrorLogMuter
- close() - Method in class org.apache.solr.util.LogListener
- close() - Method in class org.apache.solr.util.RestTestHarness
- close() - Method in class org.apache.solr.util.TestHarness
-
Shuts down and frees any resources
- closeRestTestHarnesses() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- cloudClient - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- CloudInspectUtil - Class in org.apache.solr.cloud
- CloudInspectUtil() - Constructor for class org.apache.solr.cloud.CloudInspectUtil
- CloudJettyRunner() - Constructor for class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- cloudJettys - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- CloudSolrServerClient() - Constructor for class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudSolrServerClient
- CloudSolrServerClient(SolrClient) - Constructor for class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudSolrServerClient
- cluster - Static variable in class org.apache.solr.cloud.SolrCloudTestCase
-
The cluster
- ClusterBuilder() - Constructor for class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- clusterId2cluster - Static variable in class org.apache.solr.cloud.MultiSolrCloudTestCase
- clusterShape(int, int) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Return a
CollectionStatePredicate
that returns true if a collection has the expected number of shards and active replicas - ClusterStateUtil - Class in org.apache.solr.common.cloud
- ClusterStateUtil() - Constructor for class org.apache.solr.common.cloud.ClusterStateUtil
- CollectionBuilder(String) - Constructor for class org.apache.solr.cluster.placement.Builders.CollectionBuilder
- commandQueue - Variable in class org.apache.solr.update.processor.RecordingUpdateProcessorFactory
-
The queue containing commands that were recorded
- commit() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- commit() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- commit() - Method in class org.apache.solr.SolrTestCaseHS.Client
- commit(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
- commit(String...) - Static method in class org.apache.solr.util.BaseTestHarness
-
Helper that returns an <commit> String with optional key/val pairs.
- commitCommands - Variable in class org.apache.solr.update.processor.BufferingRequestProcessor
- compare(Object[], Object[], int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- compare(Object, Object, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- compare(Map, Map, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- compare(SuggestWord, SuggestWord) - Method in class org.apache.solr.spelling.SampleComparator
- compare(SolrDocumentList, SolrDocumentList, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- compare(SolrDocument, SolrDocument, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- compare(NamedList, NamedList, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- compare(SolrQueryRequest, String, Object, Map<Comparable, SolrTestCaseJ4.Doc>) - Static method in class org.apache.solr.SolrTestCaseHS
- compare1(Map, Map, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- compareResponses(QueryResponse, QueryResponse) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- compareResults(SolrClient, SolrClient) - Static method in class org.apache.solr.cloud.CloudInspectUtil
-
Compares the results of the control and cloud clients.
- compareResults(SolrClient, SolrClient, Set<String>, Set<String>) - Static method in class org.apache.solr.cloud.CloudInspectUtil
-
Compares the results of the control and cloud clients.
- compareSolrDocument(Object, Object) - Method in class org.apache.solr.SolrTestCaseJ4
- compareSolrDocumentList(Object, Object) - Method in class org.apache.solr.SolrTestCaseJ4
- compareSolrInputDocument(Object, Object) - Method in class org.apache.solr.SolrTestCaseJ4
- compareSolrResponses(SolrResponse, SolrResponse) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- compareTo(Object) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
- ConfigRequest - Class in org.apache.solr.cloud
-
A class for making a request to the config handler.
- ConfigRequest(String) - Constructor for class org.apache.solr.cloud.ConfigRequest
- configset(String) - Static method in class org.apache.solr.SolrTestCaseJ4
- configString - Static variable in class org.apache.solr.SolrTestCaseJ4
- configure() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Configure and run the
MiniSolrCloudCluster
- configureCluster(int) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Call this to configure a cluster of n nodes.
- Configurer() - Constructor for class org.apache.solr.util.LogLevel.Configurer
- ConnectWithReadonlyCredsInjector() - Constructor for class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.ConnectWithReadonlyCredsInjector
- container - Variable in class org.apache.solr.util.TestHarness
- containsLiveNode(String) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
- context - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- context - Variable in class org.apache.solr.embedded.JettyConfig
- controlClient - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- controlClientCloud - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- controlJetty - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- copiedFiles() - Static method in class org.apache.solr.core.TrackingBackupRepository
- copyConfigFile(File, String, String) - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- copyConfigUp(Path, String, String, String) - Static method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- copyDirectoryContents(Path, Path) - Static method in class org.apache.solr.util.DirectoryUtil
-
Recursively copy the contents of one directory into another.
- copyIndexFileFrom(Directory, String, URI, String) - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository
- copyIndexFileFrom(Directory, String, URI, String) - Method in class org.apache.solr.core.TrackingBackupRepository
- copyIndexFileFrom(Directory, String, Directory, String) - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository
- copyMinConf(File) - Static method in class org.apache.solr.SolrTestCaseJ4
- copyMinConf(File, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- copyMinConf(File, String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- copyMinFullSetup(File) - Static method in class org.apache.solr.SolrTestCaseJ4
- copySolrHomeToTemp(File, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.
- copyXmlToHome(File, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- CORE_PROPERTIES_FILENAME - Static variable in class org.apache.solr.SolrTestCaseJ4
- coreClients - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- coreName - Static variable in class org.apache.solr.SolrTestCaseJ4
- coreName - Variable in class org.apache.solr.util.TestHarness
- coreNodeName - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- corruptIndexFiles() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- create() - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- create(Reader) - Method in class org.apache.solr.analysis.MockCharFilterFactory
- create(String, LockFactory, DirectoryFactory.DirContext) - Method in class org.apache.solr.core.MockDirectoryFactory
- create(String, LockFactory, DirectoryFactory.DirContext) - Method in class org.apache.solr.core.MockFSDirectoryFactory
- create(TokenStream) - Method in class org.apache.solr.analysis.MockTokenFilterFactory
- create(AttributeFactory) - Method in class org.apache.solr.analysis.MockTokenizerFactory
- create(CoreContainer, CoreDescriptor...) - Method in class org.apache.solr.util.ReadOnlyCoresLocator
- create(SolrClientTestRule.NewCollectionBuilder) - Method in class org.apache.solr.util.SolrClientTestRule
- createAndStartJetty(String) - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- createAndStartJetty(String, String, String) - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- createAndStartJetty(String, String, String, String, boolean, SortedMap<ServletHolder, String>) - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- createAndStartJetty(String, Properties, JettyConfig) - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- createAndStartJetty(String, JettyConfig) - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- createCloudClient(String) - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- createCloudClient(String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createCloudClient(String, int) - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- createCluster() - Static method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- createCluster() - Static method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- createCollection(String, String, int, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createCollection(String, CloudSolrClient, int, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createCollection(Map<String, List<Integer>>, String, int, int, SolrClient, String, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createCollection(Map<String, List<Integer>>, String, String, int, int, SolrClient, String) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- createCollection(Map<String, List<Integer>>, String, String, int, int, SolrClient, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createCollection(Map<String, List<Integer>>, String, Map<String, Object>, SolrClient) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createCollection(Map<String, List<Integer>>, String, Map<String, Object>, SolrClient, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createCollectionInOneInstance(SolrClient, String, ThreadPoolExecutor, String, int, int) - Static method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
-
Create a collection in single node
- createCollectionRetry(String, String, int, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createComparator(String, boolean, boolean, boolean, boolean) - Static method in class org.apache.solr.SolrTestCaseJ4
- createComparator(List<Comparator<SolrTestCaseJ4.Doc>>) - Static method in class org.apache.solr.SolrTestCaseJ4
- createConfig(Path, String) - Static method in class org.apache.solr.util.TestHarness
-
Creates a SolrConfig object for the default test core using
TestHarness.createConfig(Path,String,String)
- createConfig(Path, String, String) - Static method in class org.apache.solr.util.TestHarness
-
Creates a SolrConfig object for the specified coreName assuming it follows the basic conventions of being a relative path in the solrHome dir.
- createControlJetty() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createCore() - Static method in class org.apache.solr.SolrTestCaseJ4
- createCoreContainer(String, String, String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- createCoreContainer(Path, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- createCoreContainer(NodeConfig, CoresLocator) - Static method in class org.apache.solr.SolrTestCaseJ4
- createDefaultCoreContainer(Path) - Static method in class org.apache.solr.SolrTestCaseJ4
- createDirectory(URI) - Method in class org.apache.solr.core.TrackingBackupRepository
- createDistributedUpdateProcessor(SolrQueryRequest, SolrQueryResponse, UpdateRequestProcessor) - Static method in class org.apache.solr.SolrTestCaseJ4
- createDoc(List<SolrTestCaseJ4.FldType>) - Static method in class org.apache.solr.SolrTestCaseJ4
- createDocObjects(Map<Comparable, SolrTestCaseJ4.Doc>, Comparator, int, Collection<String>) - Static method in class org.apache.solr.SolrTestCaseHS
- createField() - Method in class org.apache.solr.SolrTestCaseJ4.FldType
- createFields(SchemaField, Object) - Method in class org.apache.solr.schema.SortableBinaryField
- createHome() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- createJetty(File, String) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createJetty(File, String, String) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createJetty(File, String, String, String, String) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createJetty(File, String, String, String, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createJetty(File, String, String, String, String, boolean) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createJetty(File, String, String, String, String, Replica.Type) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createJetty(String, String, String, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createJettyAndHarness(String, String, String, String, boolean, SortedMap<ServletHolder, String>) - Static method in class org.apache.solr.util.RestTestBase
- createJettys(int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createLockFactory(String) - Method in class org.apache.solr.core.MockDirectoryFactory
- createNewSolrClient() - Method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.Create a new solr client.
- createNewSolrClient(int) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createNewSolrClient(int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createNewSolrClient(String, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createNewSolrClient(String, String) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- createNewSolrClient(String, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createNewSolrClient(String, String, int, int) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- createOutput(URI) - Method in class org.apache.solr.core.TrackingBackupRepository
- createParams(Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createParser(String, SolrParams, SolrParams, SolrQueryRequest) - Method in class org.apache.solr.search.FooQParserPlugin
- createProxiedJetty(File, String, String, String, String, Replica.Type) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
Creates a JettySolrRunner with a socket proxy sitting in front of the Jetty server, which gives us the ability to simulate network partitions without having to fuss with IPTables.
- createResponse(SolrClient) - Method in class org.apache.solr.cloud.ConfigRequest
- createRule() - Static method in class org.apache.solr.util.RandomNoReverseMergePolicyFactory
-
This rule works because all solrconfig*.xml files include solrconfig.snippet.randomindexconfig.xml where this property is used.
- createServers(int) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- createServers(int) - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- createServers(int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- createSort(IndexSchema, List<SolrTestCaseJ4.FldType>, String[]) - Static method in class org.apache.solr.SolrTestCaseJ4
- createSSLTestConfig() - Method in class org.apache.solr.util.RandomizeSSL.SSLRandomizer
-
Randomly produces an SSLTestConfig taking into account various factors
- createValue() - Method in class org.apache.solr.SolrTestCaseJ4.FldType
- createValues() - Method in class org.apache.solr.SolrTestCaseJ4.FldType
- customCollectionSetup(List<List<String>>, List<Builders.NodeBuilder>) - Method in class org.apache.solr.cluster.placement.Builders.CollectionBuilder
-
Initializes the collection to a specific shard and replica distribution passed in
shardsReplicas
. - CustomSimilarityFactory - Class in org.apache.solr.search.similarities
- CustomSimilarityFactory() - Constructor for class org.apache.solr.search.similarities.CustomSimilarityFactory
D
- DEAD_HOST_1 - Static variable in class org.apache.solr.SolrTestCaseJ4
-
a "dead" host, if you try to connect to it, it will likely fail fast please consider using mocks and not real networking to simulate failure
- DEAD_HOST_2 - Static variable in class org.apache.solr.SolrTestCaseJ4
-
a "dead" host, if you try to connect to it, it will likely fail fast please consider using mocks and not real networking to simulate failure
- DEAD_HOST_3 - Static variable in class org.apache.solr.SolrTestCaseJ4
-
a "dead" host, if you try to connect to it, it will likely fail fast please consider using mocks and not real networking to simulate failure
- deadServers - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- debug - Variable in class org.apache.solr.util.RandomizeSSL.SSLRandomizer
- debug() - Static method in class org.apache.solr.util.LogListener
-
Listens for DEBUG log messages at the ROOT logger
- debug(Class<?>) - Static method in class org.apache.solr.util.LogListener
-
Listens for DEBUG log messages for the specified logger
- debug(String) - Static method in class org.apache.solr.util.LogListener
-
Listens for DEBUG log messages for the specified logger
- DebugFilter() - Constructor for class org.apache.solr.embedded.JettySolrRunner.DebugFilter
- DEFAULT_CLOUD_SOLR_XML - Static variable in class org.apache.solr.cloud.MiniSolrCloudCluster
- DEFAULT_COLLECTION - Static variable in class org.apache.solr.cloud.AbstractDistribZkTestBase
- DEFAULT_CONFIGSET - Static variable in class org.apache.solr.util.ExternalPaths
- DEFAULT_CONNECTION_TIMEOUT - Static variable in class org.apache.solr.SolrTestCaseJ4
- DEFAULT_DELTA - Static variable in class org.apache.solr.JSONTestUtil
-
Default delta used in numeric equality comparisons for floats and doubles.
- DEFAULT_ODDS - Static variable in annotation type org.apache.solr.util.RandomizeSSL
- DEFAULT_TEST_COLLECTION_NAME - Static variable in class org.apache.solr.SolrTestCaseJ4
- DEFAULT_TEST_CORENAME - Static variable in class org.apache.solr.SolrTestCaseJ4
- DEFAULT_TIMEOUT - Static variable in class org.apache.solr.cloud.MiniSolrCloudCluster
- DEFAULT_TIMEOUT - Static variable in class org.apache.solr.cloud.SolrCloudTestCase
- DefaultClusterCreateFunction() - Constructor for class org.apache.solr.cloud.MultiSolrCloudTestCase.DefaultClusterCreateFunction
- DefaultClusterInitFunction(int, int) - Constructor for class org.apache.solr.cloud.MultiSolrCloudTestCase.DefaultClusterInitFunction
- defaultKeyStore() - Method in class org.apache.solr.util.SSLTestConfig
- defaultKeyStorePassword() - Method in class org.apache.solr.util.SSLTestConfig
- defaultSolrXmlTextWithBackupRepository(String) - Static method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
-
Builds a string representation of a valid solr.xml configuration, with the provided backup-repository configuration inserted
- del(String) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- del(String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- del(SolrClient, SolrParams, Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- delete(String) - Method in class org.apache.solr.util.RestTestHarness
-
Processes a DELETE request using a URL path (with no context path) + optional query params, e.g.
- delete(CoreContainer, CoreDescriptor...) - Method in class org.apache.solr.util.ReadOnlyCoresLocator
- deleteAllCollections() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Delete all collections (and aliases)
- deleteAllConfigSets() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- deleteAndGetVersion(String, SolrParams) - Static method in class org.apache.solr.SolrTestCaseJ4
- deleteById(String, String...) - Static method in class org.apache.solr.util.BaseTestHarness
-
Generates a delete by id xml string
- deleteByQuery(String, String...) - Static method in class org.apache.solr.util.BaseTestHarness
-
Generates a delete by query xml string
- deleteByQuery(String, ModifiableSolrParams) - Method in class org.apache.solr.SolrTestCaseHS.Client
- deleteByQueryAndGetVersion(String, SolrParams) - Static method in class org.apache.solr.SolrTestCaseJ4
- deleteCollectionOnlyInZk() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- deleteCollectionRemovesStaleZkCollectionsNode() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- deleteCommands - Variable in class org.apache.solr.update.processor.BufferingRequestProcessor
- deleteCore() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Shuts down the test harness and nulls out the values setup by
SolrTestCaseJ4.initCore(java.lang.String, java.lang.String)
- deleteFails - Variable in class org.apache.solr.cloud.StoppableIndexingThread
- deletePartiallyCreatedCollection() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- deletes - Variable in class org.apache.solr.cloud.StoppableIndexingThread
- deleteTestCollections() - Method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- delI(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a <delete>...
- delQ(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a <delete>...
- delQ(SolrClient, SolrParams, String...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- destroy() - Method in class org.apache.solr.embedded.JettySolrRunner.DebugFilter
- destroyServers() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- destroyServers() - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- destroyServers() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- directoriesCreated() - Static method in class org.apache.solr.core.TrackingBackupRepository
- DirectoryUtil - Class in org.apache.solr.util
- disableMetrics() - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
- discover(CoreContainer) - Method in class org.apache.solr.util.TestHarness.TestCoresLocator
- disjunctionOf(Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- disjunctionOf(Matcher<Query>, Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- disjunctionOf(Matcher<Query>, Matcher<Query>, Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- disjunctionOf(Matcher<Query>, Matcher<Query>, Matcher<Query>, Matcher<Query>) - Static method in class org.apache.solr.util.QueryMatchers
- distribSetUp() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- distribSetUp() - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- distribSetUp() - Method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- distribSetUp() - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- distribSetUp() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- distribTearDown() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- distribTearDown() - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- distribTearDown() - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- distribTearDown() - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- distribTearDown() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- distribTearDown() - Method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- distribTearDown() - Method in class org.apache.solr.cloud.AbstractSyncSliceTestBase
- distribTearDown() - Method in class org.apache.solr.cloud.AbstractTlogReplayBufferedWhileIndexingTestBase
- doAccept(String, MiniSolrCloudCluster) - Method in class org.apache.solr.cloud.MultiSolrCloudTestCase.DefaultClusterInitFunction
- doc(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a simple <doc>...
- doc(SolrInputField...) - Method in class org.apache.solr.update.processor.UpdateProcessorTestBase
-
Convenience method for building up SolrInputDocuments
- Doc() - Constructor for class org.apache.solr.SolrTestCaseJ4.Doc
- doDeletes - Variable in class org.apache.solr.cloud.StoppableIndexingThread
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.solr.embedded.JettySolrRunner.DebugFilter
- DOMUtilTestBase - Class in org.apache.solr.util
- DOMUtilTestBase() - Constructor for class org.apache.solr.util.DOMUtilTestBase
- doSetupClusters(String[], Function<String, MiniSolrCloudCluster>, BiConsumer<String, MiniSolrCloudCluster>) - Static method in class org.apache.solr.cloud.MultiSolrCloudTestCase
- doTest(SolrZkClient, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- doTest(SolrZkClient, String, boolean, boolean, boolean, boolean, boolean) - Static method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- DummyCustomParamSpellChecker - Class in org.apache.solr.handler.component
-
A Dummy SpellChecker for testing purposes
- DummyCustomParamSpellChecker() - Constructor for class org.apache.solr.handler.component.DummyCustomParamSpellChecker
- dumpCoreInfo(PrintStream) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- dumpCoresInfo(PrintStream) - Method in class org.apache.solr.embedded.JettySolrRunner
- dumpMetrics(File, String) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
E
- EmbeddedSolrServerTestBase - Class in org.apache.solr
-
Deprecated.
- EmbeddedSolrServerTestBase() - Constructor for class org.apache.solr.EmbeddedSolrServerTestBase
-
Deprecated.
- EmbeddedSolrServerTestRule - Class in org.apache.solr.util
-
Provides an EmbeddedSolrServer for tests.
- EmbeddedSolrServerTestRule() - Constructor for class org.apache.solr.util.EmbeddedSolrServerTestRule
- enableAutoSoftCommit(int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- enableMetrics() - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
- enableProxy() - Method in class org.apache.solr.util.SolrJettyTestRule
-
Enables proxy feature to allow for failure injection testing at the inter-node communication level.
- enableV2 - Variable in class org.apache.solr.embedded.JettyConfig
- enableV2(boolean) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- engineGenerateSeed(int) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
- engineNextBytes(byte[]) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
- engineSetSeed(byte[]) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
- ensureAllReplicasAreActive(String, String, int, int, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- ensurePathExists(String) - Method in class org.apache.solr.cloud.ZkTestServer
-
Check that a path exists in this server
- ensureRunningJettys(int, int) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Ensure that the given number of solr instances are running.
- equals(Object) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- equals(Object) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudSolrServerClient
- equals(Object) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
- error() - Static method in class org.apache.solr.util.LogListener
-
Listens for ERROR log messages at the ROOT logger
- error(Class<?>) - Static method in class org.apache.solr.util.LogListener
-
Listens for ERROR log messages for the specified logger
- error(String) - Static method in class org.apache.solr.util.LogListener
-
Listens for ERROR log messages for the specified logger
- ErrorLogMuter - Class in org.apache.solr.util
-
Helper code for "Muting" ERROR log messages that you expect as a result of the things you are testing, so they aren't a distraction in test logs.
- evaluateXPath(String, String, QName) - Static method in class org.apache.solr.util.BaseTestHarness
- executor - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- exists(String, boolean) - Method in class org.apache.solr.cloud.MockSolrZkClient
- expectedActive() - Static method in class org.apache.solr.cloud.MiniSolrCloudCluster
- expectedShardsAndActiveReplicas(int, int) - Static method in class org.apache.solr.cloud.MiniSolrCloudCluster
- expire(long) - Method in class org.apache.solr.cloud.ZkTestServer
- expireRandomSession() - Method in class org.apache.solr.cloud.ChaosMonkey
- expireSession(JettySolrRunner) - Method in class org.apache.solr.cloud.ChaosMonkey
- expireZkSession(JettySolrRunner) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Make the zookeeper session on a particular jetty lose connection and expire
- ExternalPaths - Class in org.apache.solr.util
-
Some tests need to reach outside the classpath to get certain resources (e.g.
- ExternalPaths() - Constructor for class org.apache.solr.util.ExternalPaths
- extraFilters - Variable in class org.apache.solr.embedded.JettyConfig
- extraServlets - Variable in class org.apache.solr.embedded.JettyConfig
F
- f(String, Object...) - Method in class org.apache.solr.update.processor.UpdateProcessorTestBase
-
Convenience method for building up SolrInputFields with default boost
- FAIL - org.apache.solr.cloud.ZkTestServer.LimitViolationAction
- failRepeatedKeys - Static variable in class org.apache.solr.JSONTestUtil
- fetchAttributes() - Method in class org.apache.solr.cluster.placement.AttributeFetcherForTest
- fetchFrom(Set<Node>) - Method in class org.apache.solr.cluster.placement.AttributeFetcherForTest
- fetchRestoreStatus(String, String) - Static method in class org.apache.solr.handler.TestRestoreCoreUtil
- fieldNames - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- fieldNames - Static variable in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- fieldNames - Static variable in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- fieldNames - Static variable in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- fields - Variable in class org.apache.solr.SolrTestCaseJ4.Doc
- finish() - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
- finish(String) - Method in class org.apache.solr.update.processor.UpdateProcessorTestBase
- fixShardCount(int) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- flags - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- flags(Map<String, Integer>, Object) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- Fld() - Constructor for class org.apache.solr.SolrTestCaseJ4.Fld
- FldType(String, SolrTestCaseJ4.IVals, SolrTestCaseJ4.Vals) - Constructor for class org.apache.solr.SolrTestCaseJ4.FldType
- FldType(String, SolrTestCaseJ4.Vals) - Constructor for class org.apache.solr.SolrTestCaseJ4.FldType
- fname - Variable in class org.apache.solr.SolrTestCaseJ4.FldType
- FooQParserPlugin - Class in org.apache.solr.search
- FooQParserPlugin() - Constructor for class org.apache.solr.search.FooQParserPlugin
- forAllRestTestHarnesses(Consumer<RestTestHarness>) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- formatZkServer(boolean) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
- ftype - Variable in class org.apache.solr.SolrTestCaseJ4.Fld
- FUZZY - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
-
When this flag is set, Double values will be allowed a difference ratio of 1E-8 between the non-distributed and the distributed returned values
- FVal(float, float) - Constructor for class org.apache.solr.SolrTestCaseJ4.FVal
G
- generateSeed(int) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
-
returns a new byte[] filled with static data
- get() - Method in class org.apache.solr.SolrTestCaseJ4.BVal
- get() - Method in class org.apache.solr.SolrTestCaseJ4.FVal
- get() - Method in class org.apache.solr.SolrTestCaseJ4.IRange
- get() - Method in class org.apache.solr.SolrTestCaseJ4.IValsPercent
- get() - Method in class org.apache.solr.SolrTestCaseJ4.SVal
- get() - Method in class org.apache.solr.SolrTestCaseJ4.Vals
- getAddFails() - Method in class org.apache.solr.cloud.StoppableIndexingThread
- getAdminClient() - Method in class org.apache.solr.util.EmbeddedSolrServerTestRule
-
Provides an EmbeddedSolrServer instance for administration actions
- getAdminClient() - Method in class org.apache.solr.util.SolrClientTestRule
-
Provides a SolrClient instance for administration actions.
- getAdminURL() - Method in class org.apache.solr.util.RestTestHarness
- getAllCollections() - Method in class org.apache.solr.cloud.MockZkStateReader
- getAllRequests() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory.RequestTrackingQueue
-
Retrieves all requests recorded by this collection as a Map of shard address (string url) to a list of
TrackingShardHandlerFactory.ShardRequestAndParams
- getAuthPluginsInUseForCluster(String) - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
-
This helper method can be used by tests to monitor the current state of either
"authentication"
or"authorization"
plugins in use each node of the current cluster. - getBackupLocation() - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- getBackupLocation() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- getBackupRepoName() - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- getBaseBackupRepositoryConfiguration() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
-
Provide a base
BackupRepository
configuration for use by any tests that callNamedListInitializedPlugin.init(NamedList)
explicitly. - getBaseDir() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getBaseDir() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- getBaseUri() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- getBaseUrl() - Method in class org.apache.solr.embedded.JettySolrRunner
-
Returns a base URL consisting of the protocol, host, and port for a Connector in use by the Jetty Server contained in this runner.
- getBaseUrl() - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.URL to Solr
- getBaseUrl() - Method in class org.apache.solr.util.SolrJettyTestRule
-
URL to Solr.
- getBaseUrl(SolrClient) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- getBaseUrl(JettySolrRunner) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getBaseURL() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- getBaseURL() - Method in interface org.apache.solr.util.RESTfulServerProvider
- getBaseURL() - Method in class org.apache.solr.util.RestTestHarness
- getBaseUrlFromZk(ClusterState, String) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
Returns the base URL of a live Solr node hosting the specified collection
- getBaseURLV2() - Method in class org.apache.solr.embedded.JettySolrRunner
- getBasicAuthPwd() - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- getBasicAuthUser() - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- getCheckPeerName() - Method in class org.apache.solr.util.SSLTestConfig
-
If true, then servers hostname/ip should be validated against the SSL Cert metadata
- getClassName() - Static method in class org.apache.solr.SolrTestCaseJ4
- getClient(int) - Method in class org.apache.solr.SolrTestCaseHS.SolrInstances
- getClient(String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getClientProvider() - Method in class org.apache.solr.SolrTestCaseHS.Client
- getCloudSchemaFile() - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- getCloudSolrClient(String, String, boolean, int, int) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
This method may randomize unspecified aspects of the resulting SolrClient.
- getCloudSolrConfig() - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- getCollectionMetricsBuilder() - Method in class org.apache.solr.cluster.placement.Builders.CollectionBuilder
- getCollectionName() - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- getCollectionName() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- getCollectionNamePrefix() - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- getCollectionNamePrefix() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- getCollectionState(String) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Get the collection state for a particular collection
- getCommonCloudSolrClient() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getConfigFile() - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- getConfigSet() - Method in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- getConfigSet() - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- getContentWriter(String) - Method in class org.apache.solr.cloud.ConfigRequest
- getCore() - Method in class org.apache.solr.util.TestHarness
-
Gets a core that does not have its refcount incremented (i.e.
- getCoreAdminRequests() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory.RequestTrackingQueue
-
Retrieves all core admin requests distributed to nodes by Collection API commands
- getCoreContainer() - Method in class org.apache.solr.embedded.JettySolrRunner
- getCoreContainer() - Method in class org.apache.solr.util.EmbeddedSolrServerTestRule
- getCoreContainer() - Method in class org.apache.solr.util.SolrJettyTestRule
- getCoreContainer() - Method in class org.apache.solr.util.TestHarness
- getCoreCount() - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- getCoreInc() - Method in class org.apache.solr.util.TestHarness
-
Gets the core with its reference count incremented.
- getCoreRootDirectory() - Method in class org.apache.solr.util.MockCoreContainer
- getCoreStatus(Replica) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Get the
CoreStatus
data for aReplica
- getCoreUrl() - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.URL to the core
- getCount() - Method in class org.apache.solr.util.ErrorLogMuter
-
The number of ERROR messages muted (by this instance) so far in it's lifecycle.
- getCount() - Method in class org.apache.solr.util.LogListener
-
The total number of Log events so far processed by this instance, regardless of wether they have already been removed from the queue, or if they could not be added to the queue due to capacity restrictions.
- getData(String, Watcher, Stat, boolean) - Method in class org.apache.solr.cloud.MockSolrZkClient
- getDataDir(String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getDebugFilter() - Method in class org.apache.solr.embedded.JettySolrRunner
- getDelegateInitArgs(NamedList<?>) - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository
- getDeleteFails() - Method in class org.apache.solr.cloud.StoppableIndexingThread
- getDescription() - Method in class org.apache.solr.core.MockQuerySenderListenerReqHandler
- getDirectoryFactory() - Method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- getDoc(Object...) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getDocument(String) - Method in class org.apache.solr.util.DOMUtilTestBase
- getEffectiveOdds(double, boolean, int) - Static method in class org.apache.solr.util.RandomizeSSL.SSLRandomizer
- getExchangeRate(String, String) - Method in class org.apache.solr.schema.MockExchangeRateProvider
- getExtraRequestFilters() - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Override this method to insert extra filters into the JettySolrRunners that are created using createJetty()
- getExtraServlets() - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Override this method to insert extra servlets into the JettySolrRunners that are created using createJetty()
- getFailCount() - Method in class org.apache.solr.cloud.StoppableIndexingThread
- getFieldNames() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- getFieldNames() - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- getFieldNames() - Method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- getFieldNames() - Method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- getFile(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Gets a resource from the context classloader as
File
. - getFirstCore(String, JettySolrRunner) - Method in class org.apache.solr.cloud.AbstractUnloadDistributedZkTestBase
- getFirstValue(String) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
- getFloat() - Method in class org.apache.solr.SolrTestCaseJ4.FVal
- getFreeDiskGB() - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- getHttpClient() - Method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- getHttpClient(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.
- getHttpSolrClient(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
This method creates a basic HttpSolrClient.
- getHttpSolrClient(String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
This method creates a basic HttpSolrClient.
- getHttpSolrClient(Replica) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Create a basic HttpSolrClient pointed at the specified replica
- getIndexVersion(Replica) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getInstance(SolrQueryRequest, SolrQueryResponse, UpdateRequestProcessor) - Method in class org.apache.solr.update.processor.RecordingUpdateProcessorFactory
- getInstance(SolrQueryRequest, SolrQueryResponse, UpdateRequestProcessor) - Method in class org.apache.solr.update.processor.TrackingUpdateProcessorFactory
- getInt() - Method in class org.apache.solr.SolrTestCaseJ4.IRange
- getInt() - Method in class org.apache.solr.SolrTestCaseJ4.IVals
- getInt() - Method in class org.apache.solr.SolrTestCaseJ4.IValsPercent
- getJetty() - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- getJetty() - Method in class org.apache.solr.util.SolrJettyTestRule
- getJettyOnPort(int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getJettySolrRunner(int) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getJettySolrRunners() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getJSON(SolrClient, SolrParams) - Static method in class org.apache.solr.SolrTestCaseHS
- getLeaderUrlFromZk(String, String) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- getLeaderUrlFromZk(String, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getLimiter() - Method in class org.apache.solr.cloud.ZkTestServer
- getLiveAndActiveReplicaCount(ZkStateReader, String) - Static method in class org.apache.solr.common.cloud.ClusterStateUtil
- getLiveNodeBuilders() - Method in class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- getLocalPort() - Method in class org.apache.solr.embedded.JettySolrRunner
-
Returns the Local Port of the jetty Server.
- getLocalPort(boolean) - Method in class org.apache.solr.embedded.JettySolrRunner
-
Returns the Local Port of the jetty Server.
- getMaxSessionTimeout() - Method in class org.apache.solr.cloud.ZkTestServer
- getMergePolicy() - Method in class org.apache.solr.util.RandomForceMergePolicyFactory
- getMergePolicy() - Method in class org.apache.solr.util.RandomMergePolicyFactory
- getMergePolicy() - Method in class org.apache.solr.util.RandomNoReverseMergePolicyFactory
- getMetricRegistry() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.JettySolrRunnerWithMetrics
- getMetrics() - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- getMinSessionTimeout() - Method in class org.apache.solr.cloud.ZkTestServer
- getName() - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- getNode(String, String) - Method in class org.apache.solr.util.DOMUtilTestBase
- getNode(Document, String) - Method in class org.apache.solr.util.DOMUtilTestBase
- getNodeName() - Method in class org.apache.solr.embedded.JettySolrRunner
- getNodeProperties() - Method in class org.apache.solr.embedded.JettySolrRunner
- getNumAdds() - Method in class org.apache.solr.cloud.StoppableIndexingThread
- getNumDeletes() - Method in class org.apache.solr.cloud.StoppableIndexingThread
- getOpenOverseer() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getOpenOverseer(List<Overseer>) - Static method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getParams() - Method in class org.apache.solr.cloud.ConfigRequest
- getPassthrough() - Method in class org.apache.solr.search.similarities.MockConfigurableSimilarity
- getPermissionName(AuthorizationContext) - Method in class org.apache.solr.core.MockQuerySenderListenerReqHandler
- getPluginInfo(String, boolean) - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- getPluginInfo(String, boolean, Map<String, String>) - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- getPort() - Method in class org.apache.solr.cloud.ZkTestServer
- getProxy() - Method in class org.apache.solr.embedded.JettySolrRunner
- getProxyBaseUrl() - Method in class org.apache.solr.embedded.JettySolrRunner
-
Returns a base URL consisting of the protocol, host, and port for a Connector in use by the Jetty Server contained in this runner.
- getProxyForReplica(Replica) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getPullReplicaCount() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getQueryResponse(String, SolrParams) - Static method in class org.apache.solr.SolrTestCaseHS
- getQueryResponse(SolrClient, String, SolrParams) - Static method in class org.apache.solr.SolrTestCaseHS
- getQueue() - Method in class org.apache.solr.util.LogListener
-
Direct access to the Queue of Log events that have been recorded, for
Queue.poll()
ing messages or any other inspection/manipulation. - getRandFields(String[], BaseDistributedSearchTestCase.RandVal[]) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- getRandomJetty(String, boolean) - Method in class org.apache.solr.cloud.ChaosMonkey
- getRandomJetty(Random) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getRandomReplica(Slice) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Get a (reproducibly) random replica from a
Slice
- getRandomReplica(Slice, Predicate<Replica>) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Get a (reproducibly) random replica from a
Slice
matching a predicate - getRandomShard(DocCollection) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Get a (reproducibly) random shard from a
DocCollection
- getRandValues() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- getRandValues() - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- getRandValues() - Method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- getRandValues() - Method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- getReplicaBuilders() - Method in class org.apache.solr.cluster.placement.Builders.ShardBuilder
- getReplicaJetty(Replica) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Return the jetty that a particular replica resides on
- getReplicaPort(Replica) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getReplicaType() - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- getRepository() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- getRepositoryClass() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- getRequestFactory(String, int, int) - Method in class org.apache.solr.util.TestHarness
- getRequestFactory(String, int, int, String...) - Method in class org.apache.solr.util.TestHarness
-
0 and Even numbered args are keys, Odd numbered args are values.
- getRequestFactory(String, int, int, Map<String, String>) - Method in class org.apache.solr.util.TestHarness
- getRequestStateAfterCompletion(String, int, SolrClient) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getRequestType() - Method in class org.apache.solr.cloud.ConfigRequest
- getRootCause(Throwable) - Static method in class org.apache.solr.SolrTestCaseJ4
- getSaferTestName() - Method in class org.apache.solr.SolrTestCaseJ4
- getSchemaFile() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Subclasses must define this method to return the name of the schema.xml they wish to use.
- getSchemaFile() - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- getSeed() - Method in class org.apache.solr.SolrTestCaseHS.ClientProvider
- getServerProvider() - Method in class org.apache.solr.util.RestTestHarness
- getShard(String, int) - Method in class org.apache.solr.cloud.ChaosMonkey
- getShardBuilders() - Method in class org.apache.solr.cluster.placement.Builders.CollectionBuilder
- getShardCount() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- getShardHandler() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory
- getShardLeader(String, String, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getShardName() - Method in class org.apache.solr.cluster.placement.Builders.ShardBuilder
- getShardRequestByPurpose(ZkStateReader, String, String, int) - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory.RequestTrackingQueue
-
Retrieve request recorded by this queue which were sent to given collection, shard and purpose
- getShardRequests(ZkStateReader, String, String) - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory.RequestTrackingQueue
-
Retrieve all requests recorded by this queue which were sent to given collection and shard
- getShards() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstances
- getShardsParam(List<SolrTestCaseHS.SolrInstance>) - Static method in class org.apache.solr.SolrTestCaseHS.SolrInstances
- getShardsString() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- getShardToDocCountMap(CloudSolrClient, DocCollection) - Static method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- getShardURL() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
-
string appropriate for passing in shards param (i.e.
- getSimilarity() - Method in class org.apache.solr.search.similarities.CustomSimilarityFactory
- getSimpleClassName() - Static method in class org.apache.solr.SolrTestCaseJ4
- getSolrClient() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudSolrServerClient
- getSolrClient() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getSolrClient() - Static method in class org.apache.solr.EmbeddedSolrServerTestBase
-
Deprecated.
- getSolrClient() - Method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- getSolrClient() - Method in class org.apache.solr.util.SolrClientTestRule
-
Provides a SolrClient instance for collection1.
- getSolrClient(String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- getSolrClient(String) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Returns a SolrClient that has a defaultCollection set for it.
- getSolrClient(String) - Method in class org.apache.solr.util.EmbeddedSolrServerTestRule
- getSolrClient(String) - Method in class org.apache.solr.util.SolrClientTestRule
-
Provides a SolrClient instance for caller defined collection name.
- getSolrClient(String) - Method in class org.apache.solr.util.SolrJettyTestRule
- getSolrConfigFile() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Subclasses must define this method to return the name of the solrconfig.xml they wish to use.
- getSolrDispatchFilter() - Method in class org.apache.solr.embedded.JettySolrRunner
- getSolrHome() - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Subclasses can override this to change a test's solr home (default is in test-files)
- getSolrHome() - Method in class org.apache.solr.embedded.JettySolrRunner
- getSolrJ() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- getSolrJs() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstances
- getSolrXml() - Method in class org.apache.solr.BaseDistributedSearchTestCase
- getSolrXml() - Method in class org.apache.solr.cloud.AbstractUnloadDistributedZkTestBase
- getSortField(SchemaField, boolean) - Method in class org.apache.solr.schema.SortableBinaryField
- getSSLRandomizerForClass(Class<?>) - Static method in class org.apache.solr.util.RandomizeSSL.SSLRandomizer
-
Returns an SSLRandomizer suitable for the specified (test) class
- getStarts() - Method in class org.apache.solr.cloud.ChaosMonkey
- getSuggestions(SpellingOptions) - Method in class org.apache.solr.handler.component.DummyCustomParamSpellChecker
- getSysprops() - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- getTheTickTime() - Method in class org.apache.solr.cloud.ZkTestServer
- getTotalDiskGB() - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- getTotalReplicas(DocCollection, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
Deprecated.This method is virtually useless as it does not consider the status of either the shard or replica, nor wether the node hosting each replica is alive.
- getTotalRequests() - Method in class org.apache.solr.embedded.JettySolrRunner.DebugFilter
- getTrackingQueue() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory
- getValues(String) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
- getWrappedException(Throwable) - Static method in class org.apache.solr.SolrTestCaseJ4
- getXmlDocumentBuilder() - Static method in class org.apache.solr.util.BaseTestHarness
- getXpath() - Static method in class org.apache.solr.util.BaseTestHarness
- getZkAddress() - Method in class org.apache.solr.cloud.ZkTestServer
- getZkAddress(String) - Method in class org.apache.solr.cloud.ZkTestServer
-
Get a connection string for this server with a given chroot
- getZkClient() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getZkClient() - Method in class org.apache.solr.cloud.ZkTestServer
- getZkCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.AllAndReadonlyCredentialZkCredentialsInjector
- getZkCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.AllCredentialZkCredentialsInjector
- getZkCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.ConnectWithReadonlyCredsInjector
- getZkCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.NoCredentialZkCredentialsInjector
- getZkCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.WrongAllCredentialZkCredentialsInjector
- getZKDatabase() - Method in class org.apache.solr.cloud.ZkTestServer
- getZkDir() - Method in class org.apache.solr.cloud.ZkTestServer
- getZkHost() - Method in class org.apache.solr.cloud.ZkTestServer
- getZkServer() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- getZkStateReader() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
The
ZkStateReader
insideMiniSolrCloudCluster.getSolrClient()
.
H
- h - Static variable in class org.apache.solr.SolrTestCaseJ4
-
Harness initialized by create[Default]Core[Container].
- handle - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- handleRequestBody(SolrQueryRequest, SolrQueryResponse) - Method in class org.apache.solr.core.MockQuerySenderListenerReqHandler
- hash(int) - Static method in class org.apache.solr.SolrTestCaseHS.Client
- hashCode() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- hashCode() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudSolrServerClient
- hashCode() - Method in class org.apache.solr.SolrTestCaseJ4.Doc
- hasInitException(Class<? extends Exception>) - Static method in class org.apache.solr.SolrTestCaseJ4
- hasInitException(String) - Static method in class org.apache.solr.SolrTestCaseJ4
- hdfsDataDir - Static variable in class org.apache.solr.SolrTestCaseJ4
- head(String) - Method in class org.apache.solr.util.RestTestHarness
-
Processes a HEAD request using a URL path (with no context path) + optional query params and returns the response content.
I
- id - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- id - Variable in class org.apache.solr.cloud.StoppableIndexingThread
- id - Variable in class org.apache.solr.SolrTestCaseJ4.Doc
- idField - Static variable in class org.apache.solr.SolrTestCaseHS.ClientProvider
- IGNORE - org.apache.solr.cloud.ZkTestServer.LimitViolationAction
- ignoreException(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.use a
ErrorLogMuter
instead - index(Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- index_specific(int, Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- index_specific(int, Object...) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- index_specific(SolrClient, Object...) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- indexAbunchOfDocs() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- indexDoc(String, SolrInputDocument) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- indexDoc(List<AbstractFullDistribZkTestBase.CloudJettyRunner>, Object...) - Method in class org.apache.solr.cloud.AbstractSyncSliceTestBase
- indexDoc(SolrClient, SolrParams, SolrInputDocument) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- indexDoc(SolrInputDocument) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Indexes the document in both the control client, and a randomly selected client
- indexDoc(SolrInputDocument) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- indexDoc(SolrInputDocument) - Method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- indexDoc(SolrInputDocument) - Method in class org.apache.solr.cloud.AbstractTlogReplayBufferedWhileIndexingTestBase
- indexDocs(String, boolean) - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- indexDocs(Iterator<SolrInputDocument>) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Indexes the stream of documents in both the control client and randomly selected clients (per batch)
- indexDocs(List<SolrInputDocument>) - Method in class org.apache.solr.cloud.StoppableIndexingThread
- indexDocs(List<SolrTestCaseJ4.FldType>, Map<Comparable, SolrTestCaseJ4.Doc>, int) - Method in class org.apache.solr.SolrTestCaseJ4
- indexDocs(SolrClient, String, long) - Static method in class org.apache.solr.handler.BackupRestoreUtils
- indexDocs(SolrClient, SolrParams, Iterable<SolrInputDocument>) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Indexes the document in both the control client and the specified client asserting that the responses are equivalent
- indexr(Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- indexr(Object...) - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- indexr(Object...) - Method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- indexr(Object...) - Method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- indexr(Object...) - Method in class org.apache.solr.cloud.AbstractSyncSliceTestBase
- indexr(Object...) - Method in class org.apache.solr.cloud.AbstractTlogReplayBufferedWhileIndexingTestBase
- info - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- info - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudSolrServerClient
- info() - Static method in class org.apache.solr.util.LogListener
-
Listens for INFO log messages at the ROOT logger
- info(Class<?>) - Static method in class org.apache.solr.util.LogListener
-
Listens for INFO log messages for the specified logger
- info(String) - Static method in class org.apache.solr.util.LogListener
-
Listens for INFO log messages for the specified logger
- inform(ResourceLoader) - Method in class org.apache.solr.schema.MockExchangeRateProvider
- init(Map<String, String>) - Method in class org.apache.solr.schema.MockExchangeRateProvider
- init(FilterConfig) - Method in class org.apache.solr.embedded.JettySolrRunner.DebugFilter
- init(NamedList<?>) - Method in class org.apache.solr.core.MockQuerySenderListenerReqHandler
- init(NamedList<?>) - Method in class org.apache.solr.search.function.NvlValueSourceParser
- init(NamedList<?>) - Method in class org.apache.solr.update.processor.TrackingUpdateProcessorFactory
- initAndGetDataDir() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Subclasses may call this method to access the "dataDir" that will be used by
SolrTestCaseJ4.initCore(java.lang.String, java.lang.String)
(either prior to or after the core is created). - initClassLogLevels() - Static method in class org.apache.solr.SolrTestCaseJ4
- initCloud() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- initCore() - Static method in class org.apache.solr.SolrTestCaseJ4
- initCore(String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Call initCore in @BeforeClass to instantiate a solr core in your test class.
- initCore(String, String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Call initCore in @BeforeClass to instantiate a solr core in your test class.
- initCore(String, String, String, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Call initCore in @BeforeClass to instantiate a solr core in your test class.
- initCoreDataDir - Static variable in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.use initAndGetDataDir instead of directly accessing this variable
- initHostContext() - Static method in class org.apache.solr.BaseDistributedSearchTestCase
-
Set's the value of the "hostContext" system property to a random path like string (which may or may not contain sub-paths).
- initialize() - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- initializeLiveNodes(int) - Method in class org.apache.solr.cluster.placement.Builders.ClusterBuilder
- initializeMetrics(SolrMetricsContext, String) - Method in class org.apache.solr.core.MockQuerySenderListenerReqHandler
- initializeShardsReplicas(int, int, int, int, List<Builders.NodeBuilder>) - Method in class org.apache.solr.cluster.placement.Builders.CollectionBuilder
-
Initializes shard and replica builders for the collection based on passed parameters.
- initializeShardsReplicas(int, int, int, int, List<Builders.NodeBuilder>, List<Integer>) - Method in class org.apache.solr.cluster.placement.Builders.CollectionBuilder
-
Initializes shard and replica builders for the collection based on passed parameters.
- initMethodLogLevels() - Method in class org.apache.solr.SolrTestCaseJ4
- injectChaos(Random) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- injectJettyHandlers(HandlerWrapper) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.JettySolrRunnerWithMetrics
- injectJettyHandlers(HandlerWrapper) - Method in class org.apache.solr.embedded.JettySolrRunner
-
descendants may inject own handler chaining it to the given root and then returning that own one
- injectProvider() - Static method in class org.apache.solr.util.SolrTestNonSecureRandomProvider
- inPlaceMove - Variable in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- invertField(Map<Comparable, SolrTestCaseJ4.Doc>, String) - Method in class org.apache.solr.SolrTestCaseJ4
-
Return a Map from field value to a list of document ids
- IpTables - Class in org.apache.solr.cloud
-
To use, tests must be able to run iptables, eg sudo chmod u+s iptables
- IpTables() - Constructor for class org.apache.solr.cloud.IpTables
- IRange(int, int) - Constructor for class org.apache.solr.SolrTestCaseJ4.IRange
- isAbsolute(String) - Method in class org.apache.solr.core.MockDirectoryFactory
- isAbsolute(String) - Method in class org.apache.solr.core.MockFSDirectoryFactory
- isClientAuthMode() - Method in class org.apache.solr.util.SSLTestConfig
- isCollectionApiDistributed - Variable in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- isRunning() - Method in class org.apache.solr.embedded.JettySolrRunner
- isSSLMode() - Static method in class org.apache.solr.SolrTestCaseJ4
- isSSLMode() - Method in class org.apache.solr.util.SSLTestConfig
-
All other settings on this object are ignored unless this is true
- isStopped() - Method in class org.apache.solr.embedded.JettySolrRunner
- isTracking() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory
- IVals() - Constructor for class org.apache.solr.SolrTestCaseJ4.IVals
- IValsPercent(int...) - Constructor for class org.apache.solr.SolrTestCaseJ4.IValsPercent
J
- jetty - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- JettyConfig - Class in org.apache.solr.embedded
- JettyConfig.Builder - Class in org.apache.solr.embedded
- jettys - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- JettySolrRunner - Class in org.apache.solr.embedded
-
Run solr using jetty
- JettySolrRunner(String, String, int) - Constructor for class org.apache.solr.embedded.JettySolrRunner
-
Create a new JettySolrRunner.
- JettySolrRunner(String, Properties, JettyConfig) - Constructor for class org.apache.solr.embedded.JettySolrRunner
-
Construct a JettySolrRunner
- JettySolrRunner(String, Properties, JettyConfig, boolean) - Constructor for class org.apache.solr.embedded.JettySolrRunner
-
Construct a JettySolrRunner
- JettySolrRunner(String, JettyConfig) - Constructor for class org.apache.solr.embedded.JettySolrRunner
-
Construct a JettySolrRunner
- JettySolrRunner.DebugFilter - Class in org.apache.solr.embedded
- JettySolrRunner.Servlet404 - Class in org.apache.solr.embedded
-
This is a stupid hack to give jetty something to attach to
- JettySolrRunnerWithMetrics(String, Properties, JettyConfig) - Constructor for class org.apache.solr.cloud.MiniSolrCloudCluster.JettySolrRunnerWithMetrics
- JQ(String) - Static method in class org.apache.solr.util.RestTestBase
-
Makes a query request and returns the JSON string response
- JQ(SolrQueryRequest) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Makes a query request and returns the JSON string response
- json(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Converts "test JSON" strings into JSON parseable by our JSON parser.
- json(SolrInputDocument) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Creates JSON from a SolrInputDocument.
- json(SolrInputDocument, CharArr) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Appends to the
out
array with JSON from thedoc
. - jsonAdd(SolrInputDocument...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Creates a JSON add command from a SolrInputDocument list.
- jsonDelId(Object...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Creates a JSON delete command from an id list
- jsonDelQ(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Creates a JSON deleteByQuery command
- JSONTestUtil - Class in org.apache.solr
- JSONTestUtil() - Constructor for class org.apache.solr.JSONTestUtil
K
- killRandomShard() - Method in class org.apache.solr.cloud.ChaosMonkey
- killRandomShard(String) - Method in class org.apache.solr.cloud.ChaosMonkey
L
- LARGE_NUM_SHARDS - Static variable in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- legacyExampleCollection1SolrHome() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.
- limit - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
- listAvailableCurrencies() - Method in class org.apache.solr.schema.MockExchangeRateProvider
- local() - Method in class org.apache.solr.SolrTestCaseHS.Client
- localClient - Static variable in class org.apache.solr.SolrTestCaseHS.Client
- localClient() - Static method in class org.apache.solr.SolrTestCaseHS.Client
- LocalRequestFactory() - Constructor for class org.apache.solr.util.TestHarness.LocalRequestFactory
- LogLevel - Annotation Type in org.apache.solr.util
-
Annotation specifying the log level for a particular test case or method
- LogLevel.Configurer - Class in org.apache.solr.util
- LogListener - Class in org.apache.solr.util
-
Helper code to listen for
LogEvent
messages (via aQueue
) that you expect as a result of the things you are testing, So you can make assertions about when a particular action should/shouldn't cause Solr to produce a particular Log message - logReplicationDetails(Replica, StringBuilder) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- logReplicaTypesReplicationInfo(String, ZkStateReader) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- lrf - Static variable in class org.apache.solr.SolrTestCaseJ4
-
LocalRequestFactory initialized by create[Default]Core[Container] using sensible defaults.
M
- main(String[]) - Static method in class org.apache.solr.embedded.JettySolrRunner
-
A main class that starts jetty+solr This is useful for debugging
- makeBasicAuthHeader(String, String) - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
- makeRequest(String...) - Method in class org.apache.solr.util.TestHarness.LocalRequestFactory
-
Creates a LocalSolrQueryRequest based on variable args; for historical reasons, this method has some peculiar behavior: If there is a single arg, then it is treated as the "q" param, and the LocalSolrQueryRequest consists of that query string along with "qt", "start", and "rows" params (based on the qtype, start, and limit properties of this factory) along with any other default "args" set on this factory.
- makeSimpleDoc(String...) - Static method in class org.apache.solr.util.BaseTestHarness
-
A helper that creates an xml <doc> containing all of the fields and values specified
- makeSolrZkNode() - Method in class org.apache.solr.cloud.ZkTestServer
- map(Object...) - Static method in class org.apache.solr.SolrTestCaseJ4
- map(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
- mapReplicasToReplicaType(DocCollection) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
- marshalSortValue(Object) - Method in class org.apache.solr.schema.SortableBinaryField
- match(String, String) - Static method in class org.apache.solr.JSONTestUtil
-
comparison using default delta
- match(String, String, double) - Static method in class org.apache.solr.JSONTestUtil
- match(String, String, String) - Static method in class org.apache.solr.JSONTestUtil
-
comparison using default delta
- match(String, String, String, double) - Static method in class org.apache.solr.JSONTestUtil
- matchJSON(String, String...) - Static method in class org.apache.solr.SolrTestCaseHS
- matchObj(Object, String, double) - Static method in class org.apache.solr.JSONTestUtil
- matchObj(String, Object, Object) - Static method in class org.apache.solr.JSONTestUtil
-
comparison using default delta
- matchObj(String, Object, Object, double) - Static method in class org.apache.solr.JSONTestUtil
- max() - Method in annotation type org.apache.solr.BaseDistributedSearchTestCase.ShardsRepeat
- message - Variable in class org.apache.solr.cloud.ConfigRequest
- min() - Method in annotation type org.apache.solr.BaseDistributedSearchTestCase.ShardsRepeat
- MiniSolrCloudCluster - Class in org.apache.solr.cloud
-
"Mini" SolrCloud cluster to be used for testing
- MiniSolrCloudCluster(int, String, Path, String, SortedMap<ServletHolder, String>, SortedMap<Class<? extends Filter>, String>) - Constructor for class org.apache.solr.cloud.MiniSolrCloudCluster
-
Create a MiniSolrCloudCluster
- MiniSolrCloudCluster(int, String, Path, String, SortedMap<ServletHolder, String>, SortedMap<Class<? extends Filter>, String>, SSLConfig) - Constructor for class org.apache.solr.cloud.MiniSolrCloudCluster
-
Create a MiniSolrCloudCluster
- MiniSolrCloudCluster(int, Path, String, JettyConfig) - Constructor for class org.apache.solr.cloud.MiniSolrCloudCluster
-
Create a MiniSolrCloudCluster
- MiniSolrCloudCluster(int, Path, String, JettyConfig, ZkTestServer, boolean) - Constructor for class org.apache.solr.cloud.MiniSolrCloudCluster
-
Create a MiniSolrCloudCluster
- MiniSolrCloudCluster(int, Path, JettyConfig) - Constructor for class org.apache.solr.cloud.MiniSolrCloudCluster
-
Create a MiniSolrCloudCluster with default solr.xml
- MiniSolrCloudCluster.Builder - Class in org.apache.solr.cloud
-
Builder class for a MiniSolrCloudCluster
- MiniSolrCloudCluster.JettySolrRunnerWithMetrics - Class in org.apache.solr.cloud
- missingLiveNode(String) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
- missingLiveNodes(List<String>) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
- MockCharFilterFactory - Class in org.apache.solr.analysis
-
Factory for
MockCharFilter
for testing purposes. - MockCharFilterFactory() - Constructor for class org.apache.solr.analysis.MockCharFilterFactory
-
Default ctor for compatibility with SPI
- MockCharFilterFactory(Map<String, String>) - Constructor for class org.apache.solr.analysis.MockCharFilterFactory
-
Creates a new MockCharFilterFactory
- MockConfigurableSimilarity - Class in org.apache.solr.search.similarities
- MockConfigurableSimilarity(String) - Constructor for class org.apache.solr.search.similarities.MockConfigurableSimilarity
- MockCoreContainer - Class in org.apache.solr.util
- MockCoreContainer() - Constructor for class org.apache.solr.util.MockCoreContainer
- MockCoreContainer.MockCoreDescriptor - Class in org.apache.solr.util
- MockCoreDescriptor() - Constructor for class org.apache.solr.util.MockCoreContainer.MockCoreDescriptor
- MockDirectoryFactory - Class in org.apache.solr.core
-
Opens a directory with
LuceneTestCase.newDirectory()
- MockDirectoryFactory() - Constructor for class org.apache.solr.core.MockDirectoryFactory
- MockExchangeRateProvider - Class in org.apache.solr.schema
-
Simple mock provider with fixed rates and some assertions
- MockExchangeRateProvider() - Constructor for class org.apache.solr.schema.MockExchangeRateProvider
- MockFSDirectoryFactory - Class in org.apache.solr.core
-
Opens a directory with
LuceneTestCase.newFSDirectory(Path)
- MockFSDirectoryFactory() - Constructor for class org.apache.solr.core.MockFSDirectoryFactory
- MockQuerySenderListenerReqHandler - Class in org.apache.solr.core
- MockQuerySenderListenerReqHandler() - Constructor for class org.apache.solr.core.MockQuerySenderListenerReqHandler
- MockSolrZkClient - Class in org.apache.solr.cloud
- MockSolrZkClient() - Constructor for class org.apache.solr.cloud.MockSolrZkClient
- MockTokenFilterFactory - Class in org.apache.solr.analysis
-
Factory for
MockTokenFilter
for testing purposes. - MockTokenFilterFactory() - Constructor for class org.apache.solr.analysis.MockTokenFilterFactory
-
Default ctor for compatibility with SPI
- MockTokenFilterFactory(Map<String, String>) - Constructor for class org.apache.solr.analysis.MockTokenFilterFactory
-
Creates a new MockTokenizerFactory
- MockTokenizerFactory - Class in org.apache.solr.analysis
-
Factory for
MockTokenizer
for testing purposes. - MockTokenizerFactory() - Constructor for class org.apache.solr.analysis.MockTokenizerFactory
-
Default ctor for compatibility with SPI
- MockTokenizerFactory(Map<String, String>) - Constructor for class org.apache.solr.analysis.MockTokenizerFactory
-
Creates a new MockTokenizerFactory
- MockZkStateReader - Class in org.apache.solr.cloud
- MockZkStateReader(ClusterState, Set<String>) - Constructor for class org.apache.solr.cloud.MockZkStateReader
- monkeyLog(String) - Static method in class org.apache.solr.cloud.ChaosMonkey
- monkeyLog(String, Object...) - Static method in class org.apache.solr.cloud.ChaosMonkey
- MultiSolrCloudTestCase - Class in org.apache.solr.cloud
-
Base class for tests that require more than one SolrCloud
- MultiSolrCloudTestCase() - Constructor for class org.apache.solr.cloud.MultiSolrCloudTestCase
- MultiSolrCloudTestCase.DefaultClusterCreateFunction - Class in org.apache.solr.cloud
- MultiSolrCloudTestCase.DefaultClusterInitFunction - Class in org.apache.solr.cloud
N
- NAME - Static variable in class org.apache.solr.analysis.MockCharFilterFactory
-
SPI name
- NAME - Static variable in class org.apache.solr.analysis.MockTokenFilterFactory
-
SPI name
- NAME - Static variable in class org.apache.solr.analysis.MockTokenizerFactory
-
SPI name
- newClient() - Method in class org.apache.solr.embedded.JettySolrRunner
- newClient(int, int) - Method in class org.apache.solr.embedded.JettySolrRunner
- newClusterBuilder() - Static method in class org.apache.solr.cluster.placement.Builders
- newCollection() - Method in class org.apache.solr.util.SolrClientTestRule
- newCollection(String) - Method in class org.apache.solr.util.SolrClientTestRule
- newCollectionBuilder(String) - Static method in class org.apache.solr.cluster.placement.Builders
- NewCollectionBuilder(String) - Constructor for class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- newNodeConfigBuilder(Path) - Method in class org.apache.solr.util.EmbeddedSolrServerTestRule
-
Returns a NodeConfigBuilder with default settings for test configuration
- newRandomConfig() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Sets system properties to allow generation of random configurations of solrconfig.xml and schema.xml.
- newSolrClient(String) - Method in class org.apache.solr.util.SolrJettyTestRule
- newZooKeeperInstance(String, int, Watcher) - Method in class org.apache.solr.cloud.TestConnectionStrategy
- nextBytes(byte[]) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
-
fills the byte[] with static data
- nextBytes(byte[], SecureRandomParameters) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
- NoChecksumDelegatingBackupRepository() - Constructor for class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository
- NoCredentialZkCredentialsInjector() - Constructor for class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.NoCredentialZkCredentialsInjector
- NodeBuilder() - Constructor for class org.apache.solr.cluster.placement.Builders.NodeBuilder
- nodeName - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- nodesPerCluster(String) - Method in class org.apache.solr.cloud.MultiSolrCloudTestCase.DefaultClusterCreateFunction
- NOT_NULL_PREDICATE - Static variable in class org.apache.solr.cloud.SolrCloudAuthTestCase
- NotSecurePseudoRandomSpi - Class in org.apache.solr.util
-
A mocked up instance of SecureRandom that just uses
Random
under the covers. - NotSecurePseudoRandomSpi() - Constructor for class org.apache.solr.util.NotSecurePseudoRandomSpi
- notSecureSecureRandom() - Method in class org.apache.solr.util.SSLTestConfig
- nThreads - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- num() - Method in annotation type org.apache.solr.BaseDistributedSearchTestCase.ShardsFixed
- NUM_NODES - Static variable in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- NUM_SHARDS - Static variable in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- NUM_SHARDS - Static variable in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- NUM_SPLIT_SHARDS - Static variable in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- NUMERIC_DOCVALUES_SYSPROP - Static variable in class org.apache.solr.SolrTestCaseJ4
-
The name of a sysprop that will be either
true
orfalse
indicating if docValues should be used on a numeric field. - NUMERIC_POINTS_SYSPROP - Static variable in class org.apache.solr.SolrTestCaseJ4
-
The name of a sysprop that will either
true
orfalse
indicating if numeric points fields are currently in use, depending on the user specified value ofSolrTestCaseJ4.USE_NUMERIC_POINTS_SYSPROP
and/or theSolrTestCaseJ4.SuppressPointFields
annotation and/or randomization. - numValues - Variable in class org.apache.solr.SolrTestCaseJ4.FldType
- NvlValueSourceParser - Class in org.apache.solr.search.function
-
A sample ValueSourceParser for testing.
- NvlValueSourceParser() - Constructor for class org.apache.solr.search.function.NvlValueSourceParser
O
- offer(TrackingShardHandlerFactory.ShardRequestAndParams) - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory.RequestTrackingQueue
- ONE_ONE - Static variable in class org.apache.solr.SolrTestCaseJ4
- onlyHttp1 - Variable in class org.apache.solr.embedded.JettyConfig
- optimize(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
- optimize(String...) - Static method in class org.apache.solr.util.BaseTestHarness
-
Helper that returns an <optimize> String with optional key/val pairs.
- order - Variable in class org.apache.solr.SolrTestCaseJ4.Doc
- ORDERED - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- org.apache.solr - package org.apache.solr
-
Common base classes for implementing tests.
- org.apache.solr.analysis - package org.apache.solr.analysis
-
Factories for Mock analysis classes that can be used in test configurations.
- org.apache.solr.cloud - package org.apache.solr.cloud
-
Base classes and utilities for creating and testing Solr Cloud clusters.
- org.apache.solr.cloud.api.collections - package org.apache.solr.cloud.api.collections
- org.apache.solr.cluster.placement - package org.apache.solr.cluster.placement
-
Utility classes to test placement plugins.
- org.apache.solr.common.cloud - package org.apache.solr.common.cloud
- org.apache.solr.core - package org.apache.solr.core
-
Factories for Mock classes that can be used in test configurations
- org.apache.solr.embedded - package org.apache.solr.embedded
-
Classes for running embedded Solr Jetty Servers in tests.
- org.apache.solr.handler - package org.apache.solr.handler
-
Concrete implementations of org.apache.solr.request.SolrRequestHandler
- org.apache.solr.handler.component - package org.apache.solr.handler.component
-
Class for tracking shard requests
- org.apache.solr.schema - package org.apache.solr.schema
- org.apache.solr.search - package org.apache.solr.search
-
Mock classes for testing search.
- org.apache.solr.search.facet - package org.apache.solr.search.facet
- org.apache.solr.search.function - package org.apache.solr.search.function
- org.apache.solr.search.similarities - package org.apache.solr.search.similarities
- org.apache.solr.spelling - package org.apache.solr.spelling
-
Mock classes for testing spelling.
- org.apache.solr.update.processor - package org.apache.solr.update.processor
-
Mock classes for testing Update Processor chains.
- org.apache.solr.util - package org.apache.solr.util
-
Misc utilities useful when implementing test cases.
- outputMetrics(File, String) - Method in class org.apache.solr.embedded.JettySolrRunner
- outputsCreated() - Static method in class org.apache.solr.core.TrackingBackupRepository
P
- params - Variable in class org.apache.solr.handler.component.TrackingShardHandlerFactory.ShardRequestAndParams
- params(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates the correct SolrParams from an even list of strings.
- params(SolrParams, String...) - Static method in class org.apache.solr.SolrTestCaseHS
- parse(FunctionQParser) - Method in class org.apache.solr.search.function.NvlValueSourceParser
- parseHostPortList(String) - Static method in class org.apache.solr.cloud.ZkTestServer
- persist(CoreContainer, CoreDescriptor...) - Method in class org.apache.solr.util.ReadOnlyCoresLocator
- phraseQuery(String, String) - Static method in class org.apache.solr.util.QueryMatchers
-
Create a phrase query matcher with a whitespace delimited sequence of terms
- pickRandom(T...) - Static method in class org.apache.solr.SolrTestCaseJ4
- pollMessage() - Method in class org.apache.solr.util.LogListener
-
Convinience method for tests that want to assert things about the (formated) message string at the head of the queue, w/o needing to know/call methods on the underlying
LogEvent
class. - port - Variable in class org.apache.solr.embedded.JettyConfig
- portRetryTime - Variable in class org.apache.solr.embedded.JettyConfig
- post(String, String) - Method in class org.apache.solr.util.RestTestHarness
-
Processes a POST request using a URL path (with no context path) + optional query params, e.g.
- postSetUp() - Method in class org.apache.solr.SolrTestCaseJ4
-
Subclasses that override setUp can optionally call this method to log the fact that their setUp process has ended.
- preTearDown() - Method in class org.apache.solr.SolrTestCaseJ4
-
Subclasses that override tearDown can optionally call this method to log the fact that the tearDown process has started.
- printClusterStateInfo() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- printClusterStateInfo(String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- printLayout() - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- printLayout() - Method in class org.apache.solr.cloud.ZkTestServer
- printLayoutOnTearDown - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- processAdd(String, SolrParams, SolrInputDocument) - Method in class org.apache.solr.update.processor.UpdateProcessorTestBase
-
Runs a document through the specified chain, and returns the final document used when the chain is completed (NOTE: some chains may modify the document in place
- processAdd(String, SolrInputDocument) - Method in class org.apache.solr.update.processor.UpdateProcessorTestBase
-
Runs a document through the specified chain, and returns the final document used when the chain is completed (NOTE: some chains may modify the document in place
- processAdd(AddUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
- processCommit(String) - Method in class org.apache.solr.update.processor.UpdateProcessorTestBase
- processCommit(CommitUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
- processDelete(DeleteUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
- processDeleteById(String, String) - Method in class org.apache.solr.update.processor.UpdateProcessorTestBase
- processRollback(RollbackUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
- put(String, String) - Method in class org.apache.solr.util.RestTestHarness
-
Processes a PUT request using a URL path (with no context path) + optional query params, e.g.
- putConfig(String, SolrZkClient, String, Path, String, String) - Static method in class org.apache.solr.cloud.ZkTestServer
- putConfig(String, SolrZkClient, Path, String) - Static method in class org.apache.solr.cloud.ZkTestServer
- putConfig(String, SolrZkClient, Path, String, String) - Static method in class org.apache.solr.cloud.ZkTestServer
Q
- qtype - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
- query(boolean, Object[]) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Returns the QueryResponse from
BaseDistributedSearchTestCase.queryServer(org.apache.solr.common.params.ModifiableSolrParams)
- query(boolean, SolrParams) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Returns the QueryResponse from
BaseDistributedSearchTestCase.queryServer(org.apache.solr.common.params.ModifiableSolrParams)
- query(Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Sets distributed params.
- query(String) - Method in class org.apache.solr.util.RestTestHarness
-
Processes a "query" using a URL path (with no context path) + optional query params, e.g.
- query(String, SolrQueryRequest) - Method in class org.apache.solr.util.TestHarness
-
Processes a "query" using a user constructed SolrQueryRequest, and closes the request at the end.
- query(SolrParams) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Sets distributed params.
- query(SolrQueryRequest) - Method in class org.apache.solr.util.TestHarness
-
Processes a "query" using a user constructed SolrQueryRequest
- queryAndCompare(SolrParams, Iterable<SolrClient>) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- queryAndCompare(SolrParams, SolrClient...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- queryAndCompareReplicas(SolrParams, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
Executes a query against each live and active replica of the specified shard and aserts that the results are identical.
- queryAndCompareShards(SolrParams) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
-
For each Shard, executes a query against each live and active replica of that shard and asserts that the results are identical for each replica of the same shard.
- queryAndResponse(String, SolrQueryRequest) - Method in class org.apache.solr.util.TestHarness
-
It is the users responsibility to close the request object when done with it.
- queryDefaults() - Method in class org.apache.solr.SolrTestCaseHS.Client
- QueryMatchers - Class in org.apache.solr.util
- queryServer(ModifiableSolrParams) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- queryServer(ModifiableSolrParams) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- queryServer(ModifiableSolrParams) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
R
- r - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- rand(T...) - Static method in class org.apache.solr.SolrTestCaseHS
- RandDate() - Constructor for class org.apache.solr.BaseDistributedSearchTestCase.RandDate
- randomConnectionLoss() - Method in class org.apache.solr.cloud.ChaosMonkey
- randomDate() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Returns a randomly generated Date in the appropriate Solr external (input) format
- RandomForceMergePolicy - Class in org.apache.solr.util
-
A
MergePolicy
with a no-arg constructor that proxies to aForceMergePolicy
wrapped instance retrieved fromLuceneTestCase.newMergePolicy(java.util.Random)
. - RandomForceMergePolicy() - Constructor for class org.apache.solr.util.RandomForceMergePolicy
- RandomForceMergePolicyFactory - Class in org.apache.solr.util
-
A
MergePolicyFactory
forRandomForceMergePolicy
. - RandomForceMergePolicyFactory(SolrResourceLoader, MergePolicyFactoryArgs, IndexSchema) - Constructor for class org.apache.solr.util.RandomForceMergePolicyFactory
- RANDOMIZED_NUMERIC_FIELDTYPES - Static variable in class org.apache.solr.SolrTestCaseJ4
-
A Map of "primitive" java "numeric" types and the string name of the
class
used in the corresponding schema fieldType declaration. - RandomizeSSL - Annotation Type in org.apache.solr.util
-
Marker annotation indicating when SSL Randomization should be used for a test class, and if so what the typical odds of using SSL should for that test class.
- RandomizeSSL.SSLRandomizer - Class in org.apache.solr.util
-
A simple data structure for encapsulating the effective values to be used when randomizing SSL in a test, based on the configured values in the
RandomizeSSL
annotation. - RandomizingCloudHttp2SolrClientBuilder(List<String>, Optional<String>) - Constructor for class org.apache.solr.SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder
- RandomizingCloudHttp2SolrClientBuilder(ClusterStateProvider) - Constructor for class org.apache.solr.SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder
- RandomizingCloudHttp2SolrClientBuilder(MiniSolrCloudCluster) - Constructor for class org.apache.solr.SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder
- RandomizingCloudSolrClientBuilder(List<String>, Optional<String>) - Constructor for class org.apache.solr.SolrTestCaseJ4.RandomizingCloudSolrClientBuilder
-
Deprecated.
- RandomizingCloudSolrClientBuilder(ClusterStateProvider) - Constructor for class org.apache.solr.SolrTestCaseJ4.RandomizingCloudSolrClientBuilder
-
Deprecated.
- RandomizingCloudSolrClientBuilder(MiniSolrCloudCluster) - Constructor for class org.apache.solr.SolrTestCaseJ4.RandomizingCloudSolrClientBuilder
-
Deprecated.
- randomlyEnableAutoSoftCommit() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- RandomMergePolicy - Class in org.apache.solr.util
-
A
MergePolicy
with a no-arg constructor that proxies to an instance retrieved fromLuceneTestCase.newMergePolicy(java.util.Random)
. - RandomMergePolicy() - Constructor for class org.apache.solr.util.RandomMergePolicy
- RandomMergePolicy(boolean) - Constructor for class org.apache.solr.util.RandomMergePolicy
-
Creates an instance.
- RandomMergePolicy(MergePolicy) - Constructor for class org.apache.solr.util.RandomMergePolicy
- RandomMergePolicyFactory - Class in org.apache.solr.util
-
A
MergePolicyFactory
forRandomMergePolicy
. - RandomMergePolicyFactory() - Constructor for class org.apache.solr.util.RandomMergePolicyFactory
- RandomNoReverseMergePolicyFactory - Class in org.apache.solr.util
-
A
MergePolicyFactory
forRandomMergePolicy
preventing random segment reversing. - RandomNoReverseMergePolicyFactory() - Constructor for class org.apache.solr.util.RandomNoReverseMergePolicyFactory
- randomRestTestHarness() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- randomRestTestHarness(Random) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- randomSkewedDate() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Returns a Date such that all results from this method always have the same values for year+month+day+hour+minute but the seconds are randomized.
- randomXmlUsableUnicodeString() - Static method in class org.apache.solr.SolrTestCaseJ4
-
We want "realistic" unicode strings beyond simple ascii, but because our updates use XML we need to ensure we don't get "special" code block.
- RandVal() - Constructor for class org.apache.solr.BaseDistributedSearchTestCase.RandVal
- randVals - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- randVals - Static variable in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- randVals - Static variable in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- randVals - Static variable in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- rdate - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- rdouble - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- ReadOnlyCoresLocator - Class in org.apache.solr.util
- ReadOnlyCoresLocator() - Constructor for class org.apache.solr.util.ReadOnlyCoresLocator
- reason() - Method in annotation type org.apache.solr.util.RandomizeSSL
-
Comment to inlcude when logging details of SSL randomization
- RecordingUpdateProcessorFactory - Class in org.apache.solr.update.processor
-
This Factory can optionally save references to the commands it receives in BlockingQueues that tests can poll from to observe that the expected commands are executed.
- RecordingUpdateProcessorFactory() - Constructor for class org.apache.solr.update.processor.RecordingUpdateProcessorFactory
- regex(String) - Static method in class org.apache.solr.util.ErrorLogMuter
-
Mutes ERROR log messages that partially match the specified regex.
- regex(String) - Method in class org.apache.solr.util.LogListener
-
Modifies this listener to filter the log events that are recorded to events that match the specified regex.
- regex(Pattern) - Static method in class org.apache.solr.util.ErrorLogMuter
-
Mutes ERROR log messages that partially match the specified regex.
- regex(Pattern) - Method in class org.apache.solr.util.LogListener
-
Modifies this listener to filter the log events that are recorded to events that match the specified regex.
- registerDocCollectionWatcher(String, DocCollectionWatcher) - Method in class org.apache.solr.cloud.MockZkStateReader
- reject(Thread) - Method in class org.apache.solr.SolrIgnoredThreadsFilter
- reject(Thread) - Method in class org.apache.solr.util.BadZookeeperThreadsFilter
- reload() - Method in class org.apache.solr.schema.MockExchangeRateProvider
- reload() - Method in class org.apache.solr.util.BaseTestHarness
-
Reloads the core
- reload() - Method in class org.apache.solr.util.RestTestHarness
-
Reloads the first core listed in the response to the core admin handler STATUS command
- reload() - Method in class org.apache.solr.util.TestHarness
- reload(CoreDescriptor, CoreContainer) - Method in class org.apache.solr.util.ReadOnlyCoresLocator
- reload(SolrCore, SolrIndexSearcher) - Method in class org.apache.solr.handler.component.DummyCustomParamSpellChecker
- reloadCollection(Replica, String) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- rename(CoreContainer, CoreDescriptor, CoreDescriptor) - Method in class org.apache.solr.util.ReadOnlyCoresLocator
- repeatRule - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- REPL_FACTOR - Static variable in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- ReplicaBuilder() - Constructor for class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- REPORT - org.apache.solr.cloud.ZkTestServer.LimitViolationAction
- req - Variable in class org.apache.solr.core.MockQuerySenderListenerReqHandler
- req(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a SolrQueryRequest using the LocalRequestFactory
- req(String[], String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a SolrQueryRequest using the LocalRequestFactory
- req(SolrParams, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Generates a SolrQueryRequest
- REQUEST_COUNT - Static variable in class org.apache.solr.update.processor.TrackingUpdateProcessorFactory
- REQUEST_NODE - Static variable in class org.apache.solr.update.processor.TrackingUpdateProcessorFactory
- requestCollectionMetrics(SolrCollection, Set<ReplicaMetric<?>>) - Method in class org.apache.solr.cluster.placement.AttributeFetcherForTest
- requestNodeMetric(NodeMetric<?>) - Method in class org.apache.solr.cluster.placement.AttributeFetcherForTest
- requestNodeSystemProperty(String) - Method in class org.apache.solr.cluster.placement.AttributeFetcherForTest
- RequestTrackingQueue() - Constructor for class org.apache.solr.handler.component.TrackingShardHandlerFactory.RequestTrackingQueue
- reseed() - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
- reseed(SecureRandomParameters) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
- reset() - Method in class org.apache.solr.util.SolrJettyTestRule
-
Deprecated.
- resetExceptionIgnores() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.use a
ErrorLogMuter
instead - resetFactory() - Static method in class org.apache.solr.SolrTestCaseJ4
- resetGlobalTracer() - Static method in class org.apache.solr.SolrTestCaseJ4
-
GlobalTracer is initialized by org.apache.solr.core.TracerConfigurator by org.apache.solr.core.CoreContainer.
- restartZk(int) - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- RESTfulServerProvider - Interface in org.apache.solr.util
- restoreLogLevels(Map<String, Level>) - Static method in class org.apache.solr.util.LogLevel.Configurer
- restoreMethodLogLevels() - Method in class org.apache.solr.SolrTestCaseJ4
- RestTestBase - Class in org.apache.solr.util
- RestTestBase() - Constructor for class org.apache.solr.util.RestTestBase
- restTestHarness - Static variable in class org.apache.solr.util.RestTestBase
- RestTestHarness - Class in org.apache.solr.util
-
Facilitates testing Solr's REST API via a provided embedded Jetty
- RestTestHarness(RESTfulServerProvider) - Constructor for class org.apache.solr.util.RestTestHarness
- RevertDefaultThreadHandlerRule - Class in org.apache.solr.util
- RevertDefaultThreadHandlerRule() - Constructor for class org.apache.solr.util.RevertDefaultThreadHandlerRule
- rfloat - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- rint - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- rlong - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- rollbackCommands - Variable in class org.apache.solr.update.processor.BufferingRequestProcessor
- rootClient - Variable in class org.apache.solr.cloud.ZkTestServer
- rsp - Variable in class org.apache.solr.core.MockQuerySenderListenerReqHandler
- run() - Method in class org.apache.solr.cloud.StoppableCommitThread
- run() - Method in class org.apache.solr.cloud.StoppableIndexingThread
- run() - Method in class org.apache.solr.cloud.ZkTestServer
- run(boolean) - Method in class org.apache.solr.cloud.ZkTestServer
- runCoreAdminCommand(String, String, String, Map<String, String>) - Static method in class org.apache.solr.handler.BackupRestoreUtils
- runReplicationHandlerCommand(String, String, String, String, String) - Static method in class org.apache.solr.handler.BackupRestoreUtils
S
- safeStop() - Method in class org.apache.solr.cloud.StoppableCommitThread
- safeStop() - Method in class org.apache.solr.cloud.StoppableIndexingThread
- SampleComparator - Class in org.apache.solr.spelling
-
Comparator for testing purposes
- SampleComparator() - Constructor for class org.apache.solr.spelling.SampleComparator
- schemaString - Static variable in class org.apache.solr.SolrTestCaseJ4
- sdoc(Object...) - Static method in class org.apache.solr.SolrTestCaseJ4
- sdocs(SolrInputDocument...) - Static method in class org.apache.solr.SolrTestCaseJ4
- sdocWithChildren(Integer, String, int) - Method in class org.apache.solr.SolrTestCaseJ4
- sdocWithChildren(String, String) - Method in class org.apache.solr.SolrTestCaseJ4
- sdocWithChildren(String, String, int) - Method in class org.apache.solr.SolrTestCaseJ4
- seedDocGenerator() - Static method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- seedSolrHome(File) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Given a directory that will be used as the SOLR_HOME for a jetty instance, seeds that directory with the contents of
BaseDistributedSearchTestCase.getSolrHome()
and ensures that the properBaseDistributedSearchTestCase.getSolrXml()
file is in place. - send4LetterWord(String, int, String) - Static method in class org.apache.solr.cloud.ZkTestServer
-
Send the 4letterword
- sendDocsWithRetry(String, List<SolrInputDocument>, int, int, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- sendDocsWithRetry(CloudSolrClient, String, List<SolrInputDocument>, int, int, int) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- SERVER_HOME - Static variable in class org.apache.solr.util.ExternalPaths
- service(HttpServletRequest, HttpServletResponse) - Method in class org.apache.solr.embedded.JettySolrRunner.Servlet404
- Servlet404() - Constructor for class org.apache.solr.embedded.JettySolrRunner.Servlet404
- set(T...) - Static method in class org.apache.solr.SolrTestCaseHS
- setAuthorizationHeader(AbstractHttpMessage, String) - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
- setContext(String) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- setCoreCount(Integer) - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- setCoreName(String) - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- setDistributedParams(ModifiableSolrParams) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- setDistributedParams(ModifiableSolrParams) - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- setDistributedParams(ModifiableSolrParams) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- setErrorHook() - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- setFreeDiskGB(Double) - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- setLeader(Builders.ReplicaBuilder) - Method in class org.apache.solr.cluster.placement.Builders.ShardBuilder
- setLevels(String) - Static method in class org.apache.solr.util.LogLevel.Configurer
- setMaxSessionTimeout(int) - Method in class org.apache.solr.cloud.ZkTestServer
- setMetric(NodeMetric<?>, Object) - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- setMinSessionTimeout(int) - Method in class org.apache.solr.cloud.ZkTestServer
- setNodeName(String) - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- setPort(int) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- setPort(int) - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
-
If it needs to change
- setProxyPort(int) - Method in class org.apache.solr.embedded.JettySolrRunner
-
Sets the port of a local socket proxy that sits infront of this server; if set then all client traffic will flow through the proxy, giving us the ability to simulate network partitions very easily.
- setQueue(Queue<LogEvent>) - Method in class org.apache.solr.util.LogListener
-
Changes the queue that will be used to record any future events that match
- setReplicaBuilders(List<Builders.ReplicaBuilder>) - Method in class org.apache.solr.cluster.placement.Builders.ShardBuilder
- setReplicaMetric(ReplicaMetric<?>, Object) - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- setReplicaName(String) - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- setReplicaNode(Builders.NodeBuilder) - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- setReplicaState(Replica.ReplicaState) - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- setReplicaType(Replica.ReplicaType) - Method in class org.apache.solr.cluster.placement.Builders.ReplicaBuilder
- setSeed(byte[]) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
-
NOOP
- setSeed(long) - Method in class org.apache.solr.util.NotSecurePseudoRandomSpi
-
NOOP
- setServerProvider(RESTfulServerProvider) - Method in class org.apache.solr.util.RestTestHarness
- setShardName(String) - Method in class org.apache.solr.cluster.placement.Builders.ShardBuilder
- setSliceState(MiniSolrCloudCluster, String, String, Slice.State) - Static method in class org.apache.solr.cloud.ShardTestUtil
- setSolrDisableShardsWhitelist() - Static method in class org.apache.solr.BaseDistributedSearchTestCase
- setSysprop(String, String) - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- setTestSuffix(String) - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- setTestSuffix(String) - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- setTheTickTime(int) - Method in class org.apache.solr.cloud.ZkTestServer
- setTotalDiskGB(Double) - Method in class org.apache.solr.cluster.placement.Builders.NodeBuilder
- setTrackingQueue(List<JettySolrRunner>, Queue<TrackingShardHandlerFactory.ShardRequestAndParams>) - Static method in class org.apache.solr.handler.component.TrackingShardHandlerFactory
-
Sets the tracking queue for all nodes participating in this cluster.
- setTrackingQueue(Queue<TrackingShardHandlerFactory.ShardRequestAndParams>) - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory
-
Set the tracking queue for this factory.
- setTrackingQueue(MiniSolrCloudCluster, Queue<TrackingShardHandlerFactory.ShardRequestAndParams>) - Static method in class org.apache.solr.handler.component.TrackingShardHandlerFactory
-
Sets the tracking queue for all nodes participating in this cluster.
- setUp() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- setUp() - Method in class org.apache.solr.SolrTestCaseJ4
- setUp() - Method in class org.apache.solr.util.DOMUtilTestBase
- setupCluster() - Static method in class org.apache.solr.cloud.AbstractRecoveryZkTestBase
- setupCluster() - Static method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- setupJettySolrHome(File) - Method in class org.apache.solr.BaseDistributedSearchTestCase
- setupJettyTestHome(File, String) - Static method in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- setupNoCoreTest(Path, String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Call this from @BeforeClass to set up the test harness and update handler with no cores.
- setupRestTestHarnesses() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- setupTestCases() - Static method in class org.apache.solr.SolrTestCaseJ4
- setUpTrackingRepo() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- setViolationReportAction(ZkTestServer.LimitViolationAction) - Method in class org.apache.solr.cloud.ZkTestServer
- setZKDatabase(ZKDatabase) - Method in class org.apache.solr.cloud.ZkTestServer
- shard - Variable in class org.apache.solr.handler.component.TrackingShardHandlerFactory.ShardRequestAndParams
- SHARD1 - Static variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- SHARD2 - Static variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- ShardBuilder() - Constructor for class org.apache.solr.cluster.placement.Builders.ShardBuilder
- ShardRequestAndParams(ShardRequest, String, ModifiableSolrParams) - Constructor for class org.apache.solr.handler.component.TrackingShardHandlerFactory.ShardRequestAndParams
- shards - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- shardsArr - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- ShardsRepeatRule() - Constructor for class org.apache.solr.BaseDistributedSearchTestCase.ShardsRepeatRule
- ShardTestUtil - Class in org.apache.solr.cloud
- ShardTestUtil() - Constructor for class org.apache.solr.cloud.ShardTestUtil
- shardToJetty - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- shardToLeaderJetty - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- showCounts() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- showDiff(SolrDocumentList, SolrDocumentList, String, String) - Static method in class org.apache.solr.cloud.CloudInspectUtil
-
Shows the difference between two lists of documents.
- shutdown() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Shut down the cluster, including all Solr nodes and ZooKeeper
- shutdown() - Method in class org.apache.solr.cloud.ZkTestServer
- shutdownCluster() - Static method in class org.apache.solr.cloud.MultiSolrCloudTestCase
- shutdownCluster() - Static method in class org.apache.solr.cloud.SolrCloudTestCase
- simpleTag(String, String...) - Static method in class org.apache.solr.util.BaseTestHarness
- skewed(Object, Object) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Returns
likely
most (1/10) of the time, otherwiseunlikely
- SKIP - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- SKIPVAL - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- sliceCount - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- slist - Variable in class org.apache.solr.SolrTestCaseHS.SolrInstances
- SOLR_TESTS_ALLOW_READING_FILES_STILL_OPEN_FOR_WRITE - Static variable in class org.apache.solr.core.MockDirectoryFactory
- SOLR_TESTS_USING_MOCK_DIRECTORY_WRAPPER - Static variable in class org.apache.solr.core.MockDirectoryFactory
- solrClassRules - Static variable in class org.apache.solr.SolrTestCase
- solrClientByCollection - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- solrClientTestRule - Static variable in class org.apache.solr.EmbeddedSolrServerTestBase
-
Deprecated.
- solrClientTestRule - Static variable in class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- SolrClientTestRule - Class in org.apache.solr.util
-
Provides access to a
SolrClient
instance and a running Solr in tests. - SolrClientTestRule() - Constructor for class org.apache.solr.util.SolrClientTestRule
- SolrClientTestRule.NewCollectionBuilder - Class in org.apache.solr.util
- SolrCloudAuthTestCase - Class in org.apache.solr.cloud
-
Base test class for cloud tests wanting to track authentication metrics.
- SolrCloudAuthTestCase() - Constructor for class org.apache.solr.cloud.SolrCloudAuthTestCase
- SolrCloudTestCase - Class in org.apache.solr.cloud
-
Base class for SolrCloud tests
- SolrCloudTestCase() - Constructor for class org.apache.solr.cloud.SolrCloudTestCase
- solrConfig - Static variable in class org.apache.solr.SolrTestCaseJ4
- SOLRHOME - Static variable in class org.apache.solr.cloud.AbstractZkTestCase
- SOLRHOME - Static variable in class org.apache.solr.cloud.ZkTestServer
- SolrIgnoredThreadsFilter - Class in org.apache.solr
-
This ignores those threads in Solr for which there is no way to clean up after a suite.
- SolrIgnoredThreadsFilter() - Constructor for class org.apache.solr.SolrIgnoredThreadsFilter
- SolrInstance(File, String, String) - Constructor for class org.apache.solr.SolrTestCaseHS.SolrInstance
- SolrInstances(int, String, String) - Constructor for class org.apache.solr.SolrTestCaseHS.SolrInstances
- SolrJettyTestBase - Class in org.apache.solr
-
Deprecated.
- SolrJettyTestBase() - Constructor for class org.apache.solr.SolrJettyTestBase
-
Deprecated.
- SolrJettyTestRule - Class in org.apache.solr.util
-
A
SolrClientTestRule
that provides a Solr instance running in Jetty, an HTTP server. - SolrJettyTestRule() - Constructor for class org.apache.solr.util.SolrJettyTestRule
- SolrTestCase - Class in org.apache.solr
-
All Solr test cases should derive from this class eventually.
- SolrTestCase() - Constructor for class org.apache.solr.SolrTestCase
- SolrTestCaseHS - Class in org.apache.solr
- SolrTestCaseHS() - Constructor for class org.apache.solr.SolrTestCaseHS
- SolrTestCaseHS.Client - Class in org.apache.solr
- SolrTestCaseHS.Client.Tester - Class in org.apache.solr
- SolrTestCaseHS.ClientProvider - Class in org.apache.solr
- SolrTestCaseHS.SolrInstance - Class in org.apache.solr
- SolrTestCaseHS.SolrInstances - Class in org.apache.solr
- SolrTestCaseJ4 - Class in org.apache.solr
-
A junit4 Solr test harness that extends SolrTestCase and, by extension, LuceneTestCase.
- SolrTestCaseJ4() - Constructor for class org.apache.solr.SolrTestCaseJ4
- SolrTestCaseJ4.BVal - Class in org.apache.solr
- SolrTestCaseJ4.Doc - Class in org.apache.solr
- SolrTestCaseJ4.Fld - Class in org.apache.solr
- SolrTestCaseJ4.FldType - Class in org.apache.solr
- SolrTestCaseJ4.FVal - Class in org.apache.solr
- SolrTestCaseJ4.IRange - Class in org.apache.solr
- SolrTestCaseJ4.IVals - Class in org.apache.solr
- SolrTestCaseJ4.IValsPercent - Class in org.apache.solr
- SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder - Class in org.apache.solr
-
A variant of
CloudHttp2SolrClient.Builder
that will randomize some internal settings. - SolrTestCaseJ4.RandomizingCloudSolrClientBuilder - Class in org.apache.solr
-
Deprecated.
- SolrTestCaseJ4.SuppressPointFields - Annotation Type in org.apache.solr
-
Annotation for test classes that want to disable PointFields.
- SolrTestCaseJ4.SuppressSSL - Annotation Type in org.apache.solr
-
Annotation for test classes that want to disable SSL
- SolrTestCaseJ4.SVal - Class in org.apache.solr
- SolrTestCaseJ4.Vals - Class in org.apache.solr
- SolrTestCaseJ4.XmlDoc - Class in org.apache.solr
-
Necessary to make method signatures un-ambiguous
- SolrTestNonSecureRandomProvider - Class in org.apache.solr.util
- SolrTestNonSecureRandomProvider() - Constructor for class org.apache.solr.util.SolrTestNonSecureRandomProvider
- solrTestRules - Variable in class org.apache.solr.SolrTestCaseJ4
- SortableBinaryField - Class in org.apache.solr.schema
-
Custom field representing a
BinaryField
that's sortable. - SortableBinaryField() - Constructor for class org.apache.solr.schema.SortableBinaryField
- SOURCE_HOME - Static variable in class org.apache.solr.util.ExternalPaths
-
The main directory path for the solr source being built if it can be determined.
- sreq - Variable in class org.apache.solr.handler.component.TrackingShardHandlerFactory.ShardRequestAndParams
- ssl - Variable in class org.apache.solr.util.RandomizeSSL.SSLRandomizer
- ssl() - Method in annotation type org.apache.solr.util.RandomizeSSL
-
Odds (as ratio relative to 1) that SSL should be selected in a typical run.
- sslConfig - Variable in class org.apache.solr.embedded.JettyConfig
- sslConfig - Static variable in class org.apache.solr.SolrTestCaseJ4
- SSLRandomizer(double, double, String) - Constructor for class org.apache.solr.util.RandomizeSSL.SSLRandomizer
- SSLTestConfig - Class in org.apache.solr.util
-
An SSLConfig that provides
SSLConfig
andHttpClientUtil.SocketFactoryRegistryProvider
for both clients and servers that supports reading key/trust store information directly from resource files provided with the Solr test-framework classes - SSLTestConfig() - Constructor for class org.apache.solr.util.SSLTestConfig
-
Creates an SSLTestConfig that does not use SSL or client authentication
- SSLTestConfig(boolean, boolean) - Constructor for class org.apache.solr.util.SSLTestConfig
-
Create an SSLTestConfig based on a few caller specified options, implicitly assuming
checkPeerName=false
. - SSLTestConfig(boolean, boolean, boolean) - Constructor for class org.apache.solr.util.SSLTestConfig
-
Create an SSLTestConfig based on a few caller specified options.
- start - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
- start() - Method in class org.apache.solr.embedded.JettySolrRunner
-
Start the Jetty server
- start() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- start(boolean) - Method in class org.apache.solr.embedded.JettySolrRunner
-
Start the Jetty server
- start(List<JettySolrRunner>) - Static method in class org.apache.solr.cloud.ChaosMonkey
- startAll() - Method in class org.apache.solr.cloud.ChaosMonkey
- startJettySolrRunner() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Start a new Solr instance, using the default config
- startJettySolrRunner(String, String, SortedMap<ServletHolder, String>, SortedMap<Class<? extends Filter>, String>) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Start a new Solr instance
- startJettySolrRunner(String, String, SortedMap<ServletHolder, String>, SortedMap<Class<? extends Filter>, String>, SSLConfig) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Start a new Solr instance
- startJettySolrRunner(String, String, JettyConfig) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Start a new Solr instance on a particular servlet context
- startJettySolrRunner(JettySolrRunner) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Add a previously stopped node back to the cluster
- startRecording() - Method in class org.apache.solr.update.processor.RecordingUpdateProcessorFactory
- startRecording(String) - Static method in class org.apache.solr.update.processor.TrackingUpdateProcessorFactory
- startSolr() - Method in class org.apache.solr.util.SolrClientTestRule
-
Starts the Solr server with empty solrHome.
- startSolr(Path) - Method in class org.apache.solr.util.EmbeddedSolrServerTestRule
-
Starts the Solr server with the given solrHome.
- startSolr(Path) - Method in class org.apache.solr.util.SolrClientTestRule
-
Starts the Solr server with the given solrHome.
- startSolr(Path) - Method in class org.apache.solr.util.SolrJettyTestRule
- startSolr(Path, Properties, JettyConfig) - Method in class org.apache.solr.util.SolrJettyTestRule
- startSolr(NodeConfig) - Method in class org.apache.solr.util.EmbeddedSolrServerTestRule
-
Starts Solr with custom NodeConfig
- startTheMonkey(boolean, int) - Method in class org.apache.solr.cloud.ChaosMonkey
- startTrackingSearchers() - Static method in class org.apache.solr.SolrTestCaseJ4
- stop() - Method in class org.apache.solr.embedded.JettySolrRunner
-
Stop the Jetty server
- stop() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- stop() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstances
- stop(List<JettySolrRunner>) - Static method in class org.apache.solr.cloud.ChaosMonkey
- stopAll(int) - Method in class org.apache.solr.cloud.ChaosMonkey
- stopAndStartAllReplicas() - Method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- stopAtShutdown - Variable in class org.apache.solr.embedded.JettyConfig
- stopAtShutdown(boolean) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- stopJetty(AbstractFullDistribZkTestBase.CloudJettyRunner) - Method in class org.apache.solr.cloud.ChaosMonkey
- stopJettySolrRunner(int) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Stop a Solr instance
- stopJettySolrRunner(JettySolrRunner) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Stop the given Solr instance.
- StoppableCommitThread - Class in org.apache.solr.cloud
- StoppableCommitThread(SolrClient, long, boolean) - Constructor for class org.apache.solr.cloud.StoppableCommitThread
- StoppableIndexingThread - Class in org.apache.solr.cloud
- StoppableIndexingThread(SolrClient, SolrClient, String, boolean) - Constructor for class org.apache.solr.cloud.StoppableIndexingThread
- StoppableIndexingThread(SolrClient, SolrClient, String, boolean, int, int, boolean) - Constructor for class org.apache.solr.cloud.StoppableIndexingThread
- stopRandomShard() - Method in class org.apache.solr.cloud.ChaosMonkey
- stopRandomShard(String) - Method in class org.apache.solr.cloud.ChaosMonkey
- stopRecording() - Method in class org.apache.solr.update.processor.RecordingUpdateProcessorFactory
- stopRecording(String) - Static method in class org.apache.solr.update.processor.TrackingUpdateProcessorFactory
- stopShard(String) - Method in class org.apache.solr.cloud.ChaosMonkey
- stopShard(String, int) - Method in class org.apache.solr.cloud.ChaosMonkey
- stopShardExcept(String, String) - Method in class org.apache.solr.cloud.ChaosMonkey
- stopTheMonkey() - Method in class org.apache.solr.cloud.ChaosMonkey
- stopThreads() - Method in class org.apache.solr.cloud.AbstractRecoveryZkTestBase
- stress - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- stringQuery(String) - Static method in class org.apache.solr.util.QueryMatchers
-
Matches is a Query object's toString result is equal to this query string.
- substring(String) - Static method in class org.apache.solr.util.ErrorLogMuter
-
Mutes ERROR log messages that contain the input as a substring
- substring(String) - Method in class org.apache.solr.util.LogListener
-
Modifies this listener to filter the log events that are recorded to events that match the specified substring.
- SVal() - Constructor for class org.apache.solr.SolrTestCaseJ4.SVal
- SVal(char, char, int, int) - Constructor for class org.apache.solr.SolrTestCaseJ4.SVal
- swap(CoreContainer, CoreDescriptor, CoreDescriptor) - Method in class org.apache.solr.util.ReadOnlyCoresLocator
- SYSTEM_PROPERTY_SOLR_TESTS_MERGEPOLICYFACTORY - Static variable in class org.apache.solr.SolrTestCaseJ4
- systemClearPropertySolrDisableUrlAllowList() - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.
- systemClearPropertySolrTestsMergePolicyFactory() - Static method in class org.apache.solr.SolrTestCaseJ4
- systemSetPropertySolrDisableUrlAllowList(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.
- systemSetPropertySolrTestsMergePolicyFactory(String) - Static method in class org.apache.solr.SolrTestCaseJ4
T
- tearDown() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- tearDown() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- tearDown() - Method in class org.apache.solr.SolrTestCaseHS.SolrInstance
- tearDown() - Method in class org.apache.solr.SolrTestCaseJ4
- teardownTestCases() - Static method in class org.apache.solr.SolrTestCaseJ4
- TECHPRODUCTS_CONFIGSET - Static variable in class org.apache.solr.util.ExternalPaths
- termQuery(String, String) - Static method in class org.apache.solr.util.QueryMatchers
- test() - Method in class org.apache.solr.cloud.AbstractBasicDistributedZk2TestBase
- test() - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- test() - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- test() - Method in class org.apache.solr.cloud.AbstractChaosMonkeySafeLeaderTestBase
- test() - Method in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- test() - Method in class org.apache.solr.cloud.AbstractRecoveryZkTestBase
- test() - Method in class org.apache.solr.cloud.AbstractRestartWhileUpdatingTestBase
- test() - Method in class org.apache.solr.cloud.AbstractSyncSliceTestBase
- test() - Method in class org.apache.solr.cloud.AbstractTlogReplayBufferedWhileIndexingTestBase
- test() - Method in class org.apache.solr.cloud.AbstractUnloadDistributedZkTestBase
- test() - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- TEST_COLL1_CONF() - Static method in class org.apache.solr.SolrTestCaseJ4
- TEST_HOME() - Static method in class org.apache.solr.SolrTestCaseJ4
- TEST_PATH() - Static method in class org.apache.solr.SolrTestCaseJ4
- TEST_URL_ALLOW_LIST - Static variable in class org.apache.solr.cloud.MiniSolrCloudCluster
- TEST_URL_ALLOW_LIST - Static variable in class org.apache.solr.SolrTestCaseJ4
- testAllCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- testArbitraryFileDataCanBeStoredAndRetrieved() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testBackupIncremental() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- testBackupProperties() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- testBadActionNames() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testCanChooseDefaultOrOverrideLocationValue() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCanDeleteEmptyOrFullDirectories() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCanDeleteIndividualFiles() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCanDetermineWhetherFilesAndDirectoriesExist() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCanDisableChecksumVerification() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCanDistinguishBetweenFilesAndDirectories() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCanListFullOrEmptyDirectories() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCanReadProvidedConfigValues() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testCollectionReload() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testCollectionsAPI() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testConfigBackupOnly(String, String) - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
-
This test validates the backup of collection configuration using CollectionAdminParams.NO_INDEX_BACKUP_STRATEGY.
- TestConnectionStrategy - Class in org.apache.solr.cloud
-
Connection strategy that creates instances of
TestableZooKeeper
instead of plainZooKeeper
objects. - TestConnectionStrategy() - Constructor for class org.apache.solr.cloud.TestConnectionStrategy
- testCoresAreDistributedAcrossNodes() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- TestCoresLocator(String, String, String, String) - Constructor for class org.apache.solr.util.TestHarness.TestCoresLocator
- testCreateNodeSet() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testCreateShouldFailOnExistingCore() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testCreationAndDeletion() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testDeleteNonExistentCollection() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testDir - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- testDirectoryCreationFailsIfParentDoesntExist() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- testDirectoryExistsWithDirectoryUri() - Method in class org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest
- tester - Variable in class org.apache.solr.SolrTestCaseHS.Client
- Tester() - Constructor for class org.apache.solr.SolrTestCaseHS.Client.Tester
- testExecutor - Static variable in class org.apache.solr.SolrTestCaseJ4
- testFailedMove() - Method in class org.apache.solr.cloud.AbstractMoveReplicaTestBase
- TestHarness - Class in org.apache.solr.util
-
This class provides a simple harness that may be useful when writing testcases.
- TestHarness(String, String, String, String) - Constructor for class org.apache.solr.util.TestHarness
- TestHarness(String, String, SolrConfig, String) - Constructor for class org.apache.solr.util.TestHarness
- TestHarness(String, String, SolrConfig, IndexSchema) - Constructor for class org.apache.solr.util.TestHarness
- TestHarness(String, SolrConfig, String) - Constructor for class org.apache.solr.util.TestHarness
- TestHarness(String, SolrConfig, IndexSchema) - Constructor for class org.apache.solr.util.TestHarness
- TestHarness(Path, String) - Constructor for class org.apache.solr.util.TestHarness
-
Create a TestHarness using a specific solr home directory and solr xml
- TestHarness(CoreContainer) - Constructor for class org.apache.solr.util.TestHarness
- TestHarness(NodeConfig) - Constructor for class org.apache.solr.util.TestHarness
- TestHarness(NodeConfig, CoresLocator) - Constructor for class org.apache.solr.util.TestHarness
-
Create a TestHarness using a specific config
- TestHarness.LocalRequestFactory - Class in org.apache.solr.util
-
A Factory that generates LocalSolrQueryRequest objects using a specified set of default options.
- TestHarness.TestCoresLocator - Class in org.apache.solr.util
- testInjectors(List<AbstractDigestZkACLAndCredentialsProvidersTestBase.TestZkCredentialsInjector>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- testInstallFailsIfCollectionIsNotInReadOnlyMode() - Method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- testInstallReportsErrorsAppropriately() - Method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- testInstallToSingleShardCollection() - Method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- testJQ(SolrParams, String...) - Method in class org.apache.solr.SolrTestCaseHS.Client
- testMissingNumShards() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testMissingRequiredParameters() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testNoConfigSetExist() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testNoCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- testParallelInstallToMultiShardCollection() - Method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- testReadonlyCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- testRepairACL() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- TestRestoreCoreUtil - Class in org.apache.solr.handler
- TestRestoreCoreUtil() - Constructor for class org.apache.solr.handler.TestRestoreCoreUtil
- testRestoreFailure() - Method in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- testRestoreToOriginalCollection() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- testSerialInstallToMultiShardCollection() - Method in class org.apache.solr.cloud.api.collections.AbstractInstallShardTest
- testSimple() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- testSkipConfigset() - Method in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- testSolrHome - Static variable in class org.apache.solr.SolrTestCaseJ4
- testSpecificConfigsets() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- testSuffix - Variable in class org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase
- testSuffix - Variable in class org.apache.solr.cloud.api.collections.AbstractIncrementalBackupTest
- testVMParamsAllCredentialsFromFile() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- testVMParamsReadonlyCredentialsFromFile() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- testWrongCredentials() - Method in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- testXQ(SolrParams, String...) - Method in class org.apache.solr.SolrTestCaseHS.Client
-
tests are validated against xml response
- testZeroNumShards() - Method in class org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase
- TICK_TIME - Static variable in class org.apache.solr.cloud.ZkTestServer
- TIMEOUT - Static variable in class org.apache.solr.cloud.AbstractZkTestCase
- TIMEOUT - Static variable in class org.apache.solr.cloud.ZkTestServer
- toJSON(Comparable) - Method in class org.apache.solr.SolrTestCaseJ4.Vals
- toJSON(SolrTestCaseJ4.Doc) - Static method in class org.apache.solr.SolrTestCaseJ4
- toObject(IndexSchema) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
- toObject(SolrTestCaseJ4.Doc, IndexSchema, Collection<String>) - Static method in class org.apache.solr.SolrTestCaseHS
- toString() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- toString() - Method in class org.apache.solr.handler.component.TrackingShardHandlerFactory.ShardRequestAndParams
- toString() - Method in class org.apache.solr.SolrTestCaseJ4.Doc
- toString() - Method in class org.apache.solr.SolrTestCaseJ4.Fld
- toString() - Method in class org.apache.solr.SolrTestCaseJ4.XmlDoc
- TrackingBackupRepository - Class in org.apache.solr.core
- TrackingBackupRepository() - Constructor for class org.apache.solr.core.TrackingBackupRepository
- TrackingShardHandlerFactory - Class in org.apache.solr.handler.component
-
A ShardHandlerFactory that extends HttpShardHandlerFactory and tracks requests made to nodes/shards such that interested parties can watch such requests and make assertions inside tests
- TrackingShardHandlerFactory() - Constructor for class org.apache.solr.handler.component.TrackingShardHandlerFactory
- TrackingShardHandlerFactory.RequestTrackingQueue - Class in org.apache.solr.handler.component
-
A queue having helper methods to select requests by shard and purpose.
- TrackingShardHandlerFactory.ShardRequestAndParams - Class in org.apache.solr.handler.component
- TrackingUpdateProcessorFactory - Class in org.apache.solr.update.processor
-
This Factory is similar to
RecordingUpdateProcessorFactory
, but with the goal of tracking requests across multiple collections/shards/replicas in aSolrCloudTestCase
. - TrackingUpdateProcessorFactory() - Constructor for class org.apache.solr.update.processor.TrackingUpdateProcessorFactory
- tryCleanSolrZkNode() - Method in class org.apache.solr.cloud.ZkTestServer
U
- unblockAllPorts() - Static method in class org.apache.solr.cloud.IpTables
- unblockPort(int) - Static method in class org.apache.solr.cloud.IpTables
- unIgnoreException(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Deprecated.use a
ErrorLogMuter
instead - uniqueValues - Static variable in class org.apache.solr.BaseDistributedSearchTestCase.RandVal
- unmarshalSortValue(Object) - Method in class org.apache.solr.schema.SortableBinaryField
- UNORDERED - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
- unsetDelay() - Method in class org.apache.solr.embedded.JettySolrRunner.DebugFilter
-
Remove any delay introduced before.
- update(String) - Method in class org.apache.solr.util.BaseTestHarness
-
Processes an "update" (add, commit or optimize) and returns the response as a String.
- update(String) - Method in class org.apache.solr.util.RestTestHarness
-
Processes an "update" (add, commit or optimize) and returns the response as a String.
- update(String) - Method in class org.apache.solr.util.TestHarness
-
Processes an "update" (add, commit or optimize) and returns the response as a String.
- updateJ(String, SolrParams) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Send JSON update commands
- UPDATELOG_SYSPROP - Static variable in class org.apache.solr.SolrTestCaseJ4
- updateMappingsFromZk(List<JettySolrRunner>, List<SolrClient>) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- updateMappingsFromZk(List<JettySolrRunner>, List<SolrClient>, boolean) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- UpdateProcessorTestBase - Class in org.apache.solr.update.processor
- UpdateProcessorTestBase() - Constructor for class org.apache.solr.update.processor.UpdateProcessorTestBase
- updater - Variable in class org.apache.solr.util.TestHarness
- uploadConfigSet(Path, String) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Upload a config set
- url - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase.CloudJettyRunner
- USE_NUMERIC_POINTS_SYSPROP - Static variable in class org.apache.solr.SolrTestCaseJ4
-
The name of a sysprop that can be set by users when running tests to force the types of numerics used for test classes that do not have the
SolrTestCaseJ4.SuppressPointFields
annotation: If unset, then a random variable will be used to decide the type of numerics. - USE_PER_REPLICA_STATE - Static variable in class org.apache.solr.cloud.SolrCloudTestCase
- useExplicitNodeNames - Variable in class org.apache.solr.BaseDistributedSearchTestCase
- useFactory(String) - Static method in class org.apache.solr.SolrTestCaseJ4
-
Use a different directory factory.
- useJettyDataDir - Variable in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- useOnlyHttp1(boolean) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- useOtherCollectionConfigSetExecution() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
This method makes the MiniSolrCloudCluster use the "other" Collection API execution strategy than it normally would.
- useTlogReplicas() - Method in class org.apache.solr.cloud.AbstractBasicDistributedZk2TestBase
- useTlogReplicas() - Method in class org.apache.solr.cloud.AbstractBasicDistributedZkTestBase
- useTlogReplicas() - Method in class org.apache.solr.cloud.AbstractChaosMonkeyNothingIsSafeTestBase
- useTlogReplicas() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- uval() - Method in class org.apache.solr.BaseDistributedSearchTestCase.RandVal
V
- val() - Method in class org.apache.solr.BaseDistributedSearchTestCase.RandDate
- val() - Method in class org.apache.solr.BaseDistributedSearchTestCase.RandVal
- validateControlData(QueryResponse) - Method in class org.apache.solr.BaseDistributedSearchTestCase
-
Implementations can pre-test the control data for basic correctness before using it as a check for the shard data.
- validateErrorUpdate(String) - Method in class org.apache.solr.util.BaseTestHarness
-
Validates that an "update" (add, commit or optimize) results in success.
- validatePut(String, String, String...) - Method in class org.apache.solr.util.RestTestHarness
-
Validates an XML PUT response against an array of XPath test strings
- validateQuery(String, String...) - Method in class org.apache.solr.util.RestTestHarness
-
Validates an XML "query" response against an array of XPath test strings
- validateQuery(SolrQueryRequest, String...) - Method in class org.apache.solr.util.TestHarness
-
Validates a "query" response against an array of XPath test strings
- validateUpdate(String) - Method in class org.apache.solr.util.BaseTestHarness
-
Validates that an "update" (add, commit or optimize) results in success.
- validateXPath(String, String...) - Static method in class org.apache.solr.util.BaseTestHarness
-
A helper method which validates a String against an array of XPath test strings.
- vals - Variable in class org.apache.solr.SolrTestCaseJ4.Fld
- vals - Variable in class org.apache.solr.SolrTestCaseJ4.FldType
- Vals() - Constructor for class org.apache.solr.SolrTestCaseJ4.Vals
- value() - Method in annotation type org.apache.solr.util.LogLevel
-
A log-level definition string
- value() - Method in annotation type org.apache.solr.util.RandomizeSSL
-
A shorthand option for controlling both
RandomizeSSL.ssl()
andRandomizeSSL.clientAuth()
with a single numeric value, For example:@RandomizeSSL(0.5)
. - valueOf(String) - Static method in enum org.apache.solr.cloud.ZkTestServer.LimitViolationAction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.solr.cloud.ZkTestServer.LimitViolationAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyDocs(int, SolrClient, String) - Static method in class org.apache.solr.handler.BackupRestoreUtils
- verifyReplicaStatus(ZkStateReader, String, String, String, Replica.State) - Static method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- verifySecurityStatus(HttpClient, String, String, Object, int) - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
- verifySecurityStatus(HttpClient, String, String, Object, int, String) - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
- verifySecurityStatus(HttpClient, String, String, Object, int, String, String) - Static method in class org.apache.solr.cloud.SolrCloudAuthTestCase
- verifyStress - Variable in class org.apache.solr.BaseDistributedSearchTestCase
W
- wait(long, String, ZkStateReader) - Static method in class org.apache.solr.cloud.ChaosMonkey
-
You can call this method to wait while the ChaosMonkey is running, it waits approximately the specified time, and periodically logs the status of the collection
- waitForActiveCollection(String, int, int) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- waitForActiveCollection(String, long, TimeUnit) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- waitForActiveCollection(String, long, TimeUnit, int, int) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- waitForActiveReplicaCount(CloudSolrClient, String, int) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForAllActiveAndLiveReplicas(ZkStateReader, int) - Static method in class org.apache.solr.common.cloud.ClusterStateUtil
-
Wait to see *all* cores live and active.
- waitForAllActiveAndLiveReplicas(ZkStateReader, String, int) - Static method in class org.apache.solr.common.cloud.ClusterStateUtil
-
Wait to see *all* cores live and active.
- waitForAllNodes(int) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
This method wait till all Solr JVMs ( Jettys ) are running .
- waitForAllReplicasNotLive(ZkStateReader, int) - Static method in class org.apache.solr.common.cloud.ClusterStateUtil
- waitForAllReplicasNotLive(ZkStateReader, String, int) - Static method in class org.apache.solr.common.cloud.ClusterStateUtil
- waitForAllWarmingSearchers() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForBackupDeletionSuccess(String, int) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Convinience wrapper
- waitForBackupDeletionSuccess(String, TimeOut) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Polls the replication handler's status until the it reports that the specified backupName is deleted or either
"Unable to delete"
status is reported or thetimeOut
expires (in either case an assertion is thrown) - waitForBackupSuccess(String, int) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Convinience wrapper
- waitForBackupSuccess(String, TimeOut) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Polls the replication handler's status until the it reports that the specified backupName is completed as a
"success"
(in which case the method returns the directoryName of the backup) or either"exception"
is reported or thetimeOut
expires (in either case an assertion is thrown) - waitForCollection(ZkStateReader, String, int) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForCollectionToDisappear(String, ZkStateReader, boolean, int) - Static method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- waitForDifferentBackupDir(String, int) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Convinience wrapper
- waitForDifferentBackupDir(String, TimeOut) - Method in class org.apache.solr.handler.BackupStatusChecker
-
Polls the replication handler's status until the it reports that any backup has completed as a
"success"
with a different"directoryName"
then the one specified (in which case the method returns the new directoryName) or either an"exception"
is reported or thetimeOut
expires (in either case an assertion is thrown) - waitForJettyToStop(JettySolrRunner) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- waitForLiveAndActiveReplicaCount(ZkStateReader, String, int, int) - Static method in class org.apache.solr.common.cloud.ClusterStateUtil
- waitForLiveNode(JettySolrRunner) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForLoadingCoresToFinish(Long) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- waitForLoadingCoresToFinishMs - Variable in class org.apache.solr.embedded.JettyConfig
- waitForNode(JettySolrRunner, int) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
- waitForNon403or404or503(SolrClient, String) - Static method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForNoShardInconsistency() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForRecoveriesToFinish(boolean) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForRecoveriesToFinish(boolean, long) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForRecoveriesToFinish(String, boolean) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForRecoveriesToFinish(String, ZkStateReader, boolean) - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- waitForRecoveriesToFinish(String, ZkStateReader, boolean, boolean) - Method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- waitForRecoveriesToFinish(String, ZkStateReader, boolean, boolean, long) - Static method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- waitForRecoveriesToFinish(String, ZkStateReader, boolean, boolean, long, TimeUnit) - Static method in class org.apache.solr.cloud.AbstractDistribZkTestBase
- waitForReplicationFromReplicas(String, ZkStateReader, TimeOut) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForResponse(Predicate<NamedList>, SolrRequest, int, int, String) - Method in class org.apache.solr.cloud.SolrCloudTestCase
- waitForState(String, String, CollectionStatePredicate) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
- waitForState(String, String, CollectionStatePredicate, int, TimeUnit) - Static method in class org.apache.solr.cloud.SolrCloudTestCase
-
Wait for a particular collection state to appear in the cluster client's state reader
- waitForThingsToLevelOut() - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForThingsToLevelOut(int, TimeUnit) - Method in class org.apache.solr.cloud.AbstractFullDistribZkTestBase
- waitForWarming() - Method in class org.apache.solr.SolrTestCaseJ4
- waitForWarming(SolrCore) - Static method in class org.apache.solr.SolrTestCaseJ4
- waitToSeeLiveReplica(ZkStateReader, String, String, String, int) - Static method in class org.apache.solr.common.cloud.ClusterStateUtil
-
Wait to see an entry in the ClusterState with a specific coreNodeName and baseUrl.
- warn() - Static method in class org.apache.solr.util.LogListener
-
Listens for WARN log messages at the ROOT logger
- warn(Class<?>) - Static method in class org.apache.solr.util.LogListener
-
Listens for WARN log messages for the specified logger
- warn(String) - Static method in class org.apache.solr.util.LogListener
-
Listens for WARN log messages for the specified logger
- WEBAPP_HOME - Static variable in class org.apache.solr.util.ExternalPaths
- whitespaceMockTokenizer(Reader) - Static method in class org.apache.solr.SolrTestCaseJ4
- whitespaceMockTokenizer(String) - Static method in class org.apache.solr.SolrTestCaseJ4
- withBasicAuthCredentials(String, String) - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- withConfigFile(String) - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- withConfigSet(String) - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- withDefaultClusterProperty(String, String) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
- withDistributedClusterStateUpdates(boolean, boolean) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Force the cluster Collection and config state API execution as well as the cluster state update strategy to be either Overseer based or distributed.
- withFilter(Class<? extends Filter>, String) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- withFilters(Map<Class<? extends Filter>, String>) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- withJettyConfig(Consumer<JettyConfig.Builder>) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Use a JettyConfig.Builder to configure the cluster's jetty servers
- withMetrics(boolean) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
- withPortRetryTime(int) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- withProperty(String, String) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Set a cluster property
- withSchemaFile(String) - Method in class org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
- withSecurityJson(String) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Configure the specified security.json for the MiniSolrCloudCluster
- withSecurityJson(Path) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Configure the specified security.json for the MiniSolrCloudCluster
- withServlet(ServletHolder, String) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- withServlets(Map<ServletHolder, String>) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- withSolrXml(String) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Use the provided string as solr.xml content
- withSolrXml(Path) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Read solr.xml from the provided path
- withSSLConfig(SSLConfig) - Method in class org.apache.solr.embedded.JettyConfig.Builder
- withTraceIdGenerationDisabled() - Method in class org.apache.solr.cloud.MiniSolrCloudCluster.Builder
-
Disables the default/built-in simple trace ID generation/propagation.
- writeCoreProperties(Path, String) - Method in class org.apache.solr.SolrTestCaseJ4
- writeCoreProperties(Path, Properties, String) - Static method in class org.apache.solr.SolrTestCaseJ4
- WrongAllCredentialZkCredentialsInjector() - Constructor for class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.WrongAllCredentialZkCredentialsInjector
X
- xml - Variable in class org.apache.solr.SolrTestCaseJ4.XmlDoc
- XmlDoc() - Constructor for class org.apache.solr.SolrTestCaseJ4.XmlDoc
Z
- ZERO_ONE - Static variable in class org.apache.solr.SolrTestCaseJ4
- ZERO_TWO - Static variable in class org.apache.solr.SolrTestCaseJ4
- zkClient() - Static method in class org.apache.solr.cloud.SolrCloudTestCase
- zkDir - Variable in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- zkDir - Static variable in class org.apache.solr.cloud.AbstractZkTestCase
- zkServer - Variable in class org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase
- zkServer - Variable in class org.apache.solr.cloud.AbstractDistribZkTestBase
- zkServer - Static variable in class org.apache.solr.cloud.AbstractZkTestCase
- zkServer - Variable in class org.apache.solr.cloud.ZkTestServer
- zkSetData(String, byte[], boolean) - Method in class org.apache.solr.cloud.MiniSolrCloudCluster
-
Set data in zk without exposing caller to the ZK API, i.e.
- ZkTestServer - Class in org.apache.solr.cloud
- ZkTestServer(Path) - Constructor for class org.apache.solr.cloud.ZkTestServer
- ZkTestServer(Path, int) - Constructor for class org.apache.solr.cloud.ZkTestServer
- ZkTestServer.HostPort - Class in org.apache.solr.cloud
- ZkTestServer.LimitViolationAction - Enum in org.apache.solr.cloud
All Classes All Packages