public abstract class BaseDistributedSearchTestCase extends SolrTestCaseJ4
Modifier and Type | Class and Description |
---|---|
static class |
BaseDistributedSearchTestCase.RandDate |
static class |
BaseDistributedSearchTestCase.RandVal |
static interface |
BaseDistributedSearchTestCase.ShardsFixed |
static interface |
BaseDistributedSearchTestCase.ShardsRepeat |
class |
BaseDistributedSearchTestCase.ShardsRepeatRule |
SolrTestCaseJ4.CloudSolrClientBuilder, SolrTestCaseJ4.Doc, SolrTestCaseJ4.Fld, SolrTestCaseJ4.FldType, SolrTestCaseJ4.FVal, SolrTestCaseJ4.IRange, SolrTestCaseJ4.IVals, SolrTestCaseJ4.IValsPercent, SolrTestCaseJ4.SuppressObjectReleaseTracker, SolrTestCaseJ4.SuppressSSL, SolrTestCaseJ4.SVal, SolrTestCaseJ4.Vals, SolrTestCaseJ4.XmlDoc
org.apache.lucene.util.LuceneTestCase.AwaitsFix, org.apache.lucene.util.LuceneTestCase.BadApple, org.apache.lucene.util.LuceneTestCase.Monster, org.apache.lucene.util.LuceneTestCase.Nightly, org.apache.lucene.util.LuceneTestCase.Slow, org.apache.lucene.util.LuceneTestCase.SuppressCodecs, org.apache.lucene.util.LuceneTestCase.SuppressFileSystems, org.apache.lucene.util.LuceneTestCase.SuppressFsync, org.apache.lucene.util.LuceneTestCase.SuppressReproduceLine, org.apache.lucene.util.LuceneTestCase.SuppressSysoutChecks, org.apache.lucene.util.LuceneTestCase.SuppressTempFileChecks, org.apache.lucene.util.LuceneTestCase.ThrowingRunnable, org.apache.lucene.util.LuceneTestCase.Weekly
Modifier and Type | Field and Description |
---|---|
protected int |
clientConnectionTimeout |
protected List<org.apache.solr.client.solrj.SolrClient> |
clients |
protected int |
clientSoTimeout |
protected String |
context |
protected org.apache.solr.client.solrj.SolrClient |
controlClient |
protected org.apache.solr.client.solrj.embedded.JettySolrRunner |
controlJetty |
protected String[] |
deadServers |
static String[] |
fieldNames |
protected int |
flags |
static int |
FUZZY
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
|
protected Map<String,Integer> |
handle |
protected String |
id |
protected List<org.apache.solr.client.solrj.embedded.JettySolrRunner> |
jettys |
protected int |
nThreads |
static int |
ORDERED |
static Random |
r |
static BaseDistributedSearchTestCase.RandVal[] |
randVals |
static BaseDistributedSearchTestCase.RandVal |
rdate |
static BaseDistributedSearchTestCase.RandVal |
rdouble |
BaseDistributedSearchTestCase.ShardsRepeatRule |
repeatRule |
static BaseDistributedSearchTestCase.RandVal |
rfloat |
static BaseDistributedSearchTestCase.RandVal |
rint |
static BaseDistributedSearchTestCase.RandVal |
rlong |
protected String |
shards |
protected String[] |
shardsArr |
static int |
SKIP |
static int |
SKIPVAL |
protected int |
stress |
protected File |
testDir |
static int |
UNORDERED |
protected boolean |
useExplicitNodeNames |
protected boolean |
verifyStress |
configString, CORE_PROPERTIES_FILENAME, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_TEST_COLLECTION_NAME, DEFAULT_TEST_CORENAME, h, hdfsDataDir, initCoreDataDir, lrf, ONE_ONE, schemaString, solrClassRules, solrConfig, solrTestRules, sslConfig, SYSTEM_PROPERTY_SOLR_TESTS_MERGEPOLICY, SYSTEM_PROPERTY_SOLR_TESTS_MERGEPOLICYFACTORY, SYSTEM_PROPERTY_SOLR_TESTS_USEMERGEPOLICY, SYSTEM_PROPERTY_SOLR_TESTS_USEMERGEPOLICYFACTORY, testSolrHome, ZERO_ONE, ZERO_TWO
assertsAreEnabled, classRules, DEFAULT_LINE_DOCS_FILE, INFOSTREAM, JENKINS_LARGE_LINE_DOCS_FILE, LEAVE_TEMPORARY, MAYBE_CACHE_POLICY, RANDOM_MULTIPLIER, ruleChain, suiteFailureMarker, SYSPROP_AWAITSFIX, SYSPROP_BADAPPLES, SYSPROP_FAILFAST, SYSPROP_MAXFAILURES, SYSPROP_MONSTER, SYSPROP_NIGHTLY, SYSPROP_SLOW, SYSPROP_WEEKLY, TEST_ASSERTS_ENABLED, TEST_AWAITSFIX, TEST_CODEC, TEST_DIRECTORY, TEST_DOCVALUESFORMAT, TEST_LINE_DOCS_FILE, TEST_NIGHTLY, TEST_POSTINGSFORMAT, TEST_SLOW, TEST_THROTTLING, TEST_WEEKLY, VERBOSE
Modifier | Constructor and Description |
---|---|
protected |
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.
|
protected |
BaseDistributedSearchTestCase(String context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.solr.client.solrj.response.UpdateResponse |
add(org.apache.solr.client.solrj.SolrClient client,
org.apache.solr.common.params.SolrParams params,
org.apache.solr.common.SolrInputDocument... sdocs) |
protected void |
addFields(org.apache.solr.common.SolrInputDocument doc,
Object... fields) |
protected org.apache.solr.common.SolrInputDocument |
addRandFields(org.apache.solr.common.SolrInputDocument sdoc) |
protected String |
buildUrl(int port) |
static void |
clearHostContext()
Clears the "hostContext" system property
|
protected void |
commit() |
static String |
compare(Map a,
Map b,
int flags,
Map<String,Integer> handle) |
static String |
compare(org.apache.solr.common.util.NamedList a,
org.apache.solr.common.util.NamedList b,
int flags,
Map<String,Integer> handle) |
static String |
compare(Object[] a,
Object[] b,
int flags,
Map<String,Integer> handle) |
static String |
compare(Object a,
Object b,
int flags,
Map<String,Integer> handle) |
static String |
compare(org.apache.solr.common.SolrDocumentList a,
org.apache.solr.common.SolrDocumentList b,
int flags,
Map<String,Integer> handle) |
static String |
compare(org.apache.solr.common.SolrDocument a,
org.apache.solr.common.SolrDocument b,
int flags,
Map<String,Integer> handle) |
static String |
compare1(Map a,
Map b,
int flags,
Map<String,Integer> handle) |
protected void |
compareResponses(org.apache.solr.client.solrj.response.QueryResponse a,
org.apache.solr.client.solrj.response.QueryResponse b) |
protected void |
compareSolrResponses(org.apache.solr.client.solrj.SolrResponse a,
org.apache.solr.client.solrj.SolrResponse b) |
protected org.apache.solr.client.solrj.embedded.JettySolrRunner |
createControlJetty() |
org.apache.solr.client.solrj.embedded.JettySolrRunner |
createJetty(File solrHome,
String dataDir) |
org.apache.solr.client.solrj.embedded.JettySolrRunner |
createJetty(File solrHome,
String dataDir,
String shardId) |
org.apache.solr.client.solrj.embedded.JettySolrRunner |
createJetty(File solrHome,
String dataDir,
String shardList,
String solrConfigOverride,
String schemaOverride) |
org.apache.solr.client.solrj.embedded.JettySolrRunner |
createJetty(File solrHome,
String dataDir,
String shardList,
String solrConfigOverride,
String schemaOverride,
boolean explicitCoreNodeName) |
protected org.apache.solr.client.solrj.SolrClient |
createNewSolrClient(int port) |
protected void |
createServers(int numShards) |
protected org.apache.solr.client.solrj.response.UpdateResponse |
del(org.apache.solr.client.solrj.SolrClient client,
org.apache.solr.common.params.SolrParams params,
Object... ids) |
protected void |
del(String q) |
protected org.apache.solr.client.solrj.response.UpdateResponse |
delQ(org.apache.solr.client.solrj.SolrClient client,
org.apache.solr.common.params.SolrParams params,
String... queries) |
protected void |
destroyServers() |
void |
distribSetUp() |
void |
distribTearDown() |
static boolean |
eq(String a,
String b) |
void |
fixShardCount(int count) |
static int |
flags(Map<String,Integer> handle,
Object key) |
SortedMap<Class<? extends javax.servlet.Filter>,String> |
getExtraRequestFilters()
Override this method to insert extra filters into the JettySolrRunners that are created using createJetty()
|
SortedMap<org.eclipse.jetty.servlet.ServletHolder,String> |
getExtraServlets()
Override this method to insert extra servlets into the JettySolrRunners that are created using createJetty()
|
protected String[] |
getFieldNames() |
static Object[] |
getRandFields(String[] fields,
BaseDistributedSearchTestCase.RandVal[] randVals) |
protected BaseDistributedSearchTestCase.RandVal[] |
getRandValues() |
int |
getShardCount() |
protected String |
getShardsString() |
String |
getSolrHome()
Subclasses can override this to change a test's solr home
(default is in test-files)
|
protected String |
getSolrXml() |
protected void |
index_specific(int serverNumber,
Object... fields) |
protected void |
index(Object... fields) |
protected org.apache.solr.client.solrj.response.UpdateResponse |
indexDoc(org.apache.solr.client.solrj.SolrClient client,
org.apache.solr.common.params.SolrParams params,
org.apache.solr.common.SolrInputDocument... sdocs)
Indexes the document in both the control client and the specified client asserting
that the respones are equivilent
|
protected void |
indexDoc(org.apache.solr.common.SolrInputDocument doc)
Indexes the document in both the control client, and a randomly selected client
|
protected void |
indexr(Object... fields) |
static void |
initHostContext()
Set's the value of the "hostContext" system property to a random path
like string (which may or may not contain sub-paths).
|
static void |
initialize() |
protected org.apache.solr.client.solrj.response.QueryResponse |
query(boolean setDistribParams,
Object[] q)
Returns the QueryResponse from
queryServer(org.apache.solr.common.params.ModifiableSolrParams) |
protected org.apache.solr.client.solrj.response.QueryResponse |
query(boolean setDistribParams,
org.apache.solr.common.params.SolrParams p)
Returns the QueryResponse from
queryServer(org.apache.solr.common.params.ModifiableSolrParams) |
protected org.apache.solr.client.solrj.response.QueryResponse |
query(Object... q)
Sets distributed params.
|
protected org.apache.solr.client.solrj.response.QueryResponse |
query(org.apache.solr.common.params.SolrParams params)
Sets distributed params.
|
org.apache.solr.client.solrj.response.QueryResponse |
queryAndCompare(org.apache.solr.common.params.SolrParams params,
Iterable<org.apache.solr.client.solrj.SolrClient> clients) |
org.apache.solr.client.solrj.response.QueryResponse |
queryAndCompare(org.apache.solr.common.params.SolrParams params,
org.apache.solr.client.solrj.SolrClient... clients) |
protected org.apache.solr.client.solrj.response.QueryResponse |
queryServer(org.apache.solr.common.params.ModifiableSolrParams params) |
protected void |
seedSolrHome(File jettyHome)
Given a directory that will be used as the SOLR_HOME for a jetty instance, seeds that
directory with the contents of
getSolrHome() and ensures that the proper getSolrXml()
file is in place. |
protected void |
setDistributedParams(org.apache.solr.common.params.ModifiableSolrParams params) |
protected void |
setupJettySolrHome(File jettyHome) |
void |
validateControlData(org.apache.solr.client.solrj.response.QueryResponse control)
Implementations can pre-test the control data for basic correctness before using it
as a check for the shard data.
|
add, addAndGetVersion, adoc, adoc, assertFailedU, assertFailedU, assertFieldValues, assertJQ, assertJQ, assertQ, assertQ, assertQEx, assertQEx, assertQEx, assertSolrInputFieldEquals, assertU, assertU, assertXmlFile, buildJettyConfig, buildUrl, chooseMPForMP, clearIndex, commit, compareSolrDocument, compareSolrDocumentList, compareSolrInputDocument, configset, copyMinConf, copyMinConf, copyMinFullSetup, copySolrHomeToTemp, createComparator, createComparator, createCore, createCoreContainer, createCoreContainer, createCoreContainer, createDefaultCoreContainer, createDoc, createSort, deleteAndGetVersion, deleteByQueryAndGetVersion, deleteCore, delI, delQ, doc, endTrackingSearchers, getClassName, getCloudSolrClient, getCloudSolrClient, getCloudSolrClient, getCloudSolrClient, getConcurrentUpdateSolrClient, getConcurrentUpdateSolrClient, getFile, getHttpSolrClient, getHttpSolrClient, getHttpSolrClient, getHttpSolrClient, getLBHttpSolrClient, getLBHttpSolrClient, getRootCause, getSchemaFile, getSimpleClassName, getSolrConfigFile, getWrappedException, hasInitException, hasInitException, ignoreException, indexDocs, initClassLogLevels, initCore, initCore, initCore, initCore, initMethodLogLevels, invertField, isSSLMode, JQ, json, json, json, jsonAdd, jsonDelId, jsonDelQ, map, newRandomConfig, optimize, params, postSetUp, preTearDown, randomDate, randomSkewedDate, randomXmlUsableUnicodeString, req, req, req, resetExceptionIgnores, resetFactory, restoreMethodLogLevels, sdoc, sdocs, setUp, setupNoCoreTest, setupTestCases, skewed, startTrackingSearchers, systemClearPropertySolrTestsMergePolicy, systemClearPropertySolrTestsMergePolicyFactory, systemSetPropertySolrTestsMergePolicy, systemSetPropertySolrTestsMergePolicyFactory, tearDown, teardownTestCases, TEST_HOME, TEST_PATH, toJSON, unchooseMPForMP, unIgnoreException, updateJ, useFactory, waitForWarming, whitespaceMockTokenizer, whitespaceMockTokenizer, writeCoreProperties, writeCoreProperties
addVirusChecker, assertDeletedDocsEquals, assertDocsAndPositionsEnumEquals, assertDocsEnumEquals, assertDocsSkippingEquals, assertDocValuesEquals, assertDocValuesEquals, assertFieldInfosEquals, assertFieldsEquals, assertFieldStatisticsEquals, assertNormsEquals, assertPointsEquals, assertPositionsSkippingEquals, assertReaderEquals, assertReaderStatisticsEquals, assertStoredFieldEquals, assertStoredFieldsEquals, assertTermsEnumEquals, assertTermsEquals, assertTermsStatisticsEquals, assertTermStatsEquals, assertTermVectorsEquals, asSet, assumeFalse, assumeNoException, assumeTrue, atLeast, atLeast, closeAfterSuite, closeAfterTest, collate, createTempDir, createTempDir, createTempFile, createTempFile, dumpArray, dumpIterator, expectThrows, getBaseTempDirForTestClass, getDataInputStream, getDataPath, getOnlyLeafReader, getTestClass, getTestName, isTestThread, localeForLanguageTag, maybeChangeLiveIndexWriterConfig, maybeWrapReader, newAlcoholicMergePolicy, newAlcoholicMergePolicy, newDirectory, newDirectory, newDirectory, newDirectory, newDirectory, newField, newField, newFSDirectory, newFSDirectory, newIndexWriterConfig, newIndexWriterConfig, newIndexWriterConfig, newIOContext, newIOContext, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newMaybeVirusCheckingDirectory, newMaybeVirusCheckingFSDirectory, newMergePolicy, newMergePolicy, newMockDirectory, newMockDirectory, newMockDirectory, newMockFSDirectory, newMockFSDirectory, newSearcher, newSearcher, newSearcher, newStringField, newStringField, newStringField, newStringField, newTextField, newTextField, newTieredMergePolicy, newTieredMergePolicy, overrideDefaultQueryCache, overrideTestDefaultQueryCache, random, randomLocale, randomTimeZone, rarely, rarely, replaceMaxFailureRule, resetDefaultQueryCache, restoreCPUCoreCount, restoreIndexWriterMaxDocs, restoreSpins, runWithRestrictedPermissions, setIndexWriterMaxDocs, setupCPUCoreCount, setupSpins, slowFileExists, usually, usually, wrapReader
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
public static Random r
protected boolean useExplicitNodeNames
protected org.apache.solr.client.solrj.embedded.JettySolrRunner controlJetty
protected List<org.apache.solr.client.solrj.SolrClient> clients
protected List<org.apache.solr.client.solrj.embedded.JettySolrRunner> jettys
protected String context
protected String[] deadServers
protected String shards
protected String[] shardsArr
protected File testDir
protected org.apache.solr.client.solrj.SolrClient controlClient
protected int stress
protected boolean verifyStress
protected int nThreads
protected int clientConnectionTimeout
protected int clientSoTimeout
public static int ORDERED
public static int SKIP
public static int SKIPVAL
public static int UNORDERED
public static int FUZZY
protected int flags
protected String id
public static BaseDistributedSearchTestCase.RandVal rint
public static BaseDistributedSearchTestCase.RandVal rlong
public static BaseDistributedSearchTestCase.RandVal rfloat
public static BaseDistributedSearchTestCase.RandVal rdouble
public static BaseDistributedSearchTestCase.RandVal rdate
public static String[] fieldNames
public static BaseDistributedSearchTestCase.RandVal[] randVals
public BaseDistributedSearchTestCase.ShardsRepeatRule repeatRule
protected BaseDistributedSearchTestCase()
If the system property is not set, or is set to the empty string
(neither of which should normally happen unless a subclass explicitly
modifies the property set by initHostContext()
prior to calling
this constructor) a servlet context of "/solr" is used. (this is for
consistency with the default behavior of solr.xml parsing when using
hostContext="${hostContext:}"
If the system property is set to a value which does not begin with a
"/" (which should normally happen unless a subclass explicitly
modifies the property set by initHostContext()
prior to calling
this constructor) a leading "/" will be prepended.
initHostContext()
protected BaseDistributedSearchTestCase(String context)
context
- explicit servlet context path to use (eg: "/solr")public static void initialize()
public static void initHostContext()
Test configs may use the ${hostContext}
variable to access
this system property.
public static void clearHostContext() throws Exception
Exception
initHostContext()
public int getShardCount()
public void fixShardCount(int count)
protected String[] getFieldNames()
protected BaseDistributedSearchTestCase.RandVal[] getRandValues()
public String getSolrHome()
protected org.apache.solr.client.solrj.embedded.JettySolrRunner createControlJetty() throws Exception
Exception
protected void setDistributedParams(org.apache.solr.common.params.ModifiableSolrParams params)
protected String getShardsString()
public org.apache.solr.client.solrj.embedded.JettySolrRunner createJetty(File solrHome, String dataDir) throws Exception
Exception
public org.apache.solr.client.solrj.embedded.JettySolrRunner createJetty(File solrHome, String dataDir, String shardId) throws Exception
Exception
public org.apache.solr.client.solrj.embedded.JettySolrRunner createJetty(File solrHome, String dataDir, String shardList, String solrConfigOverride, String schemaOverride) throws Exception
Exception
public org.apache.solr.client.solrj.embedded.JettySolrRunner createJetty(File solrHome, String dataDir, String shardList, String solrConfigOverride, String schemaOverride, boolean explicitCoreNodeName) throws Exception
Exception
public SortedMap<org.eclipse.jetty.servlet.ServletHolder,String> getExtraServlets()
public SortedMap<Class<? extends javax.servlet.Filter>,String> getExtraRequestFilters()
protected org.apache.solr.client.solrj.SolrClient createNewSolrClient(int port)
protected String buildUrl(int port)
protected void addFields(org.apache.solr.common.SolrInputDocument doc, Object... fields)
protected org.apache.solr.common.SolrInputDocument addRandFields(org.apache.solr.common.SolrInputDocument sdoc)
protected void indexDoc(org.apache.solr.common.SolrInputDocument doc) throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
protected org.apache.solr.client.solrj.response.UpdateResponse indexDoc(org.apache.solr.client.solrj.SolrClient client, org.apache.solr.common.params.SolrParams params, org.apache.solr.common.SolrInputDocument... sdocs) throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
protected org.apache.solr.client.solrj.response.UpdateResponse add(org.apache.solr.client.solrj.SolrClient client, org.apache.solr.common.params.SolrParams params, org.apache.solr.common.SolrInputDocument... sdocs) throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
protected org.apache.solr.client.solrj.response.UpdateResponse del(org.apache.solr.client.solrj.SolrClient client, org.apache.solr.common.params.SolrParams params, Object... ids) throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
protected org.apache.solr.client.solrj.response.UpdateResponse delQ(org.apache.solr.client.solrj.SolrClient client, org.apache.solr.common.params.SolrParams params, String... queries) throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
protected void index_specific(int serverNumber, Object... fields) throws Exception
Exception
protected org.apache.solr.client.solrj.response.QueryResponse queryServer(org.apache.solr.common.params.ModifiableSolrParams params) throws org.apache.solr.client.solrj.SolrServerException, IOException
org.apache.solr.client.solrj.SolrServerException
IOException
protected org.apache.solr.client.solrj.response.QueryResponse query(Object... q) throws Exception
queryServer(org.apache.solr.common.params.ModifiableSolrParams)
,Exception
protected org.apache.solr.client.solrj.response.QueryResponse query(org.apache.solr.common.params.SolrParams params) throws Exception
queryServer(org.apache.solr.common.params.ModifiableSolrParams)
,Exception
protected org.apache.solr.client.solrj.response.QueryResponse query(boolean setDistribParams, Object[] q) throws Exception
queryServer(org.apache.solr.common.params.ModifiableSolrParams)
Exception
protected org.apache.solr.client.solrj.response.QueryResponse query(boolean setDistribParams, org.apache.solr.common.params.SolrParams p) throws Exception
queryServer(org.apache.solr.common.params.ModifiableSolrParams)
Exception
public org.apache.solr.client.solrj.response.QueryResponse queryAndCompare(org.apache.solr.common.params.SolrParams params, org.apache.solr.client.solrj.SolrClient... clients) throws org.apache.solr.client.solrj.SolrServerException, IOException
org.apache.solr.client.solrj.SolrServerException
IOException
public org.apache.solr.client.solrj.response.QueryResponse queryAndCompare(org.apache.solr.common.params.SolrParams params, Iterable<org.apache.solr.client.solrj.SolrClient> clients) throws org.apache.solr.client.solrj.SolrServerException, IOException
org.apache.solr.client.solrj.SolrServerException
IOException
public static String compare(org.apache.solr.common.util.NamedList a, org.apache.solr.common.util.NamedList b, int flags, Map<String,Integer> handle)
public static String compare(org.apache.solr.common.SolrDocument a, org.apache.solr.common.SolrDocument b, int flags, Map<String,Integer> handle)
public static String compare(org.apache.solr.common.SolrDocumentList a, org.apache.solr.common.SolrDocumentList b, int flags, Map<String,Integer> handle)
protected void compareSolrResponses(org.apache.solr.client.solrj.SolrResponse a, org.apache.solr.client.solrj.SolrResponse b)
protected void compareResponses(org.apache.solr.client.solrj.response.QueryResponse a, org.apache.solr.client.solrj.response.QueryResponse b)
public static Object[] getRandFields(String[] fields, BaseDistributedSearchTestCase.RandVal[] randVals)
public void validateControlData(org.apache.solr.client.solrj.response.QueryResponse control) throws Exception
Exception
protected String getSolrXml()
protected void seedSolrHome(File jettyHome) throws IOException
getSolrHome()
and ensures that the proper getSolrXml()
file is in place.IOException
protected void setupJettySolrHome(File jettyHome) throws IOException
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.