Index (Solr 3.6.2 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I J L M N O P Q R S T U V W X Z

## A

AbstractSolrTestCase - Class in org.apache.solr.util
  An Abstract base class that makes writing Solr JUnit tests "easier"
AbstractSolrTestCase() - Constructor for class org.apache.solr.util.AbstractSolrTestCase
AbstractSolrTestCase.Doc - Class in org.apache.solr.util
  Neccessary to make method signatures un-ambiguous
AbstractSolrTestCase.Doc() - Constructor for class org.apache.solr.util.AbstractSolrTestCase.Doc
add(SolrTestCaseJ4.XmlDoc, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
  Generates an <add><doc>...
add(AbstractSolrTestCase.Doc, String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates an <add><doc>...
addCommands - Variable in class org.apache.solr.update.processor.BufferingRequestProcessor
addFields(SolrInputDocument, Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
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>...
adoc(String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a simple <add><doc>...
adoc(int, String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a simple <add><doc>...
adoc(SolrInputDocument) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a simple <add><doc>...
afterClassAbstractSolrTestCase() - Static method in class org.apache.solr.util.AbstractSolrTestCase
afterClassSolrTestCase() - Static method in class org.apache.solr.SolrTestCaseJ4
afterSolrJettyTestBase() - Static method in class org.apache.solr.SolrJettyTestBase
appendSimpleDoc(StringBuilder, String...) - Method in class org.apache.solr.util.TestHarness
  A helper that adds an xml <doc> containing all of the fields and values specified (odds are fields, evens are values) to a StringBuilder
appendSimpleDoc(StringBuffer, String...) - Method in class org.apache.solr.util.TestHarness
  Deprecated. see `TestHarness.appendSimpleDoc(StringBuilder, String...)`
args - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
assertFailedU(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.SolrTestCaseJ4
  Validates an update XML String failed
assertFailedU(String) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Validates an update XML String failed
assertFailedU(String, String) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Validates an update XML String failed
assertJQ(SolrQueryRequest, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
  Validates a query matches some JSON test expressions using the default double delta tollerance.
assertJQ(SolrQueryRequest, double, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
  Validates a query matches some JSON test expressions and closes the query.
assertQ(SolrQueryRequest, String...) - Static method in class org.apache.solr.SolrTestCaseJ4
  Validates a query matches some XPath test expressions and closes the query
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(SolrQueryRequest, String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Validates a query matches some XPath test expressions and closes the query
assertQ(String, SolrQueryRequest, String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Validates a query matches some XPath test expressions and closes the query
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
assertQEx(String, SolrQueryRequest, int) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Makes sure a query throws a SolrException with the listed response code
assertQEx(String, SolrQueryRequest, SolrException.ErrorCode) - Method in class org.apache.solr.util.AbstractSolrTestCase
assertU(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.SolrTestCaseJ4
  Validates an update XML String is successful
assertU(String) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Validates an update XML String is successful
assertU(String, String) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Validates an update XML String is successful

## B

BaseDistributedSearchTestCase - Class in org.apache.solr
  Helper base class for distributed search test cases
BaseDistributedSearchTestCase() - Constructor for class org.apache.solr.BaseDistributedSearchTestCase
BaseDistributedSearchTestCase.RandDate - Class in org.apache.solr
BaseDistributedSearchTestCase.RandDate() - Constructor for class org.apache.solr.BaseDistributedSearchTestCase.RandDate
BaseDistributedSearchTestCase.RandVal - Class in org.apache.solr
BaseDistributedSearchTestCase.RandVal() - Constructor for class org.apache.solr.BaseDistributedSearchTestCase.RandVal
BaseTokenTestCase - Class in org.apache.solr.analysis
  General token testing helper functions
BaseTokenTestCase() - Constructor for class org.apache.solr.analysis.BaseTokenTestCase
beforeClassAbstractSolrTestCase() - Static method in class org.apache.solr.util.AbstractSolrTestCase
beforeClassSolrTestCase() - Static method in class org.apache.solr.SolrTestCaseJ4
between(int, int) - Method in class org.apache.solr.SolrTestCaseJ4.Vals
BufferingRequestProcessor - Class in org.apache.solr.update.processor
BufferingRequestProcessor(UpdateRequestProcessor) - Constructor for class org.apache.solr.update.processor.BufferingRequestProcessor

## C

checkUpdateStatus(String, String) - Method in class org.apache.solr.util.TestHarness
  Validates that an "update" (add, commit or optimize) results in success.
clearIndex() - Method in class org.apache.solr.SolrTestCaseJ4
clients - Variable in class org.apache.solr.BaseDistributedSearchTestCase
close() - Method in class org.apache.solr.util.TestHarness
  Shuts down and frees any resources
closeDirectories() - Static method in class org.apache.solr.SolrTestCaseJ4
commit() - Method in class org.apache.solr.BaseDistributedSearchTestCase
commit(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
commit(String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
commit(String...) - Static method in class org.apache.solr.util.TestHarness
  Helper that returns an <commit> String with optional key/val pairs.
commitCommands - Variable in class org.apache.solr.update.processor.BufferingRequestProcessor
compare(NamedList, NamedList, 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(SolrDocument, SolrDocument, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
compare(SolrDocumentList, SolrDocumentList, 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(Object, Object, int, Map<String, Integer>) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
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
compareTo(Object) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
configString - Static variable in class org.apache.solr.SolrTestCaseJ4
container - Variable in class org.apache.solr.util.TestHarness
context - Variable in class org.apache.solr.BaseDistributedSearchTestCase
context - Static variable in class org.apache.solr.SolrJettyTestBase
controlClient - Variable in class org.apache.solr.BaseDistributedSearchTestCase
controlJetty - Variable in class org.apache.solr.BaseDistributedSearchTestCase
create(Reader) - Method in class org.apache.solr.analysis.MockTokenizerFactory
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(String) - Static method in class org.apache.solr.util.TestHarness
createDoc(List<SolrTestCaseJ4.FldType>) - Static method in class org.apache.solr.SolrTestCaseJ4
createField() - Method in class org.apache.solr.SolrTestCaseJ4.FldType
createJetty(File, String) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
createJetty(String, String, String) - Static method in class org.apache.solr.SolrJettyTestBase
createNewSolrServer(int) - Method in class org.apache.solr.BaseDistributedSearchTestCase
createNewSolrServer() - Method in class org.apache.solr.SolrJettyTestBase
  Create a new solr server.
createSort(IndexSchema, List<SolrTestCaseJ4.FldType>, String[]) - Static method in class org.apache.solr.SolrTestCaseJ4
createTempDir() - Static method in class org.apache.solr.SolrTestCaseJ4
createValue() - Method in class org.apache.solr.SolrTestCaseJ4.FldType
createValues() - Method in class org.apache.solr.SolrTestCaseJ4.FldType

## D

dataDir - Static variable in class org.apache.solr.SolrTestCaseJ4
  The directory used to story the index managed by the TestHarness h
dataDir - Variable in class org.apache.solr.util.AbstractSolrTestCase
  The directory used to story the index managed by the TestHarness h
DEFAULT_DELTA - Static variable in class org.apache.solr.JSONTestUtil
  Default delta used in numeric equality comparisons for floats and doubles.
DEFAULT_VERSION - Static variable in class org.apache.solr.analysis.BaseTokenTestCase
  The default test version for easy testing
DEFAULT_VERSION_PARAM - Static variable in class org.apache.solr.analysis.BaseTokenTestCase
  a map containing the default test version param for easy testing
del(String) - Method in class org.apache.solr.BaseDistributedSearchTestCase
deleteById(String, String...) - Static method in class org.apache.solr.util.TestHarness
  Generates a delete by id xml string
deleteByQuery(String, String...) - Static method in class org.apache.solr.util.TestHarness
  Generates a delete by query xml string
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 makes the best attempt possible to delete dataDir, unless the system property "solr.test.leavedatadir" is set.
delI(String) - Static method in class org.apache.solr.SolrTestCaseJ4
  Generates a <delete>...
delI(String, String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a <delete>...
delQ(String) - Static method in class org.apache.solr.SolrTestCaseJ4
  Generates a <delete>...
delQ(String, String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a <delete>...
destroyServers() - Method in class org.apache.solr.BaseDistributedSearchTestCase
df - Static variable in class org.apache.solr.BaseDistributedSearchTestCase.RandDate
doc(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
  Generates a simple <doc>...
doc(String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a simple <doc>...
DOMUtilTestBase - Class in org.apache.solr.util
DOMUtilTestBase() - Constructor for class org.apache.solr.util.DOMUtilTestBase
doTest() - Method in class org.apache.solr.BaseDistributedSearchTestCase
  Perform the actual tests here

## E

endTrackingSearchers() - Static method in class org.apache.solr.SolrTestCaseJ4
eq(String, String) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
equals(Object) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
err(String) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
  This method is called for root level comparison errors and can be helpful to set a breakpoint in to debug comparison failures.
EXAMPLE_CONFIG - Static variable in class org.apache.solr.util.ExternalPaths
EXAMPLE_HOME - Static variable in class org.apache.solr.util.ExternalPaths
EXAMPLE_MULTICORE_HOME - Static variable in class org.apache.solr.util.ExternalPaths
EXAMPLE_SCHEMA - Static variable in class org.apache.solr.util.ExternalPaths
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

## F

fieldNames - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
fields - Variable in class org.apache.solr.SolrTestCaseJ4.Doc
finish() - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
fixShardCount - Variable in class org.apache.solr.BaseDistributedSearchTestCase
  Sub classes can set this flag in their constructor to true if they want to fix the number of shards to 'shardCount' The default is false which means that test will be executed with 1, 2, 3, ....shardCount number of shards repeatedly
flags - Variable in class org.apache.solr.BaseDistributedSearchTestCase
flags(Map<String, Integer>, Object) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
fname - Variable in class org.apache.solr.SolrTestCaseJ4.FldType
ftype - Variable in class org.apache.solr.SolrTestCaseJ4.Fld

## G

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.SVal
get() - Method in class org.apache.solr.SolrTestCaseJ4.Vals
getClassName() - Static method in class org.apache.solr.SolrTestCaseJ4
getCore() - Method in class org.apache.solr.util.TestHarness
getCoreContainer() - Method in class org.apache.solr.util.TestHarness
getDocument(String) - Method in class org.apache.solr.util.DOMUtilTestBase
getFieldNames() - Method in class org.apache.solr.BaseDistributedSearchTestCase
getFile(String) - Static method in class org.apache.solr.SolrTestCaseJ4
  Gets a resource from the context classloader as `File`.
getFile(String) - Static method in class org.apache.solr.util.AbstractSolrTestCase
getFirstValue(String) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
getFloat() - Method in class org.apache.solr.SolrTestCaseJ4.FVal
getInt() - Method in class org.apache.solr.SolrTestCaseJ4.IRange
getInt() - Method in class org.apache.solr.SolrTestCaseJ4.IVals
getNode(String, String) - Method in class org.apache.solr.util.DOMUtilTestBase
getNode(Document, String) - Method in class org.apache.solr.util.DOMUtilTestBase
getRandFields(String[], BaseDistributedSearchTestCase.RandVal[]) - Static method in class org.apache.solr.BaseDistributedSearchTestCase
getRandValues() - Method in class org.apache.solr.BaseDistributedSearchTestCase
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
getRootCause(Throwable) - Static 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.AbstractSolrTestCase
  Subclasses must define this method to return the name of the schema.xml they wish to use.
getSimpleClassName() - Static method in class org.apache.solr.SolrTestCaseJ4
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.
getSolrConfigFile() - Method in class org.apache.solr.util.AbstractSolrTestCase
  Subclasses must define this method to return the name of the solrconfig.xml they wish to use.
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.SolrJettyTestBase
getSolrHome() - Method in class org.apache.solr.util.AbstractSolrTestCase
  Subclasses can override this to change a test's solr home (default is in test-files)
getSolrServer() - Method in class org.apache.solr.SolrJettyTestBase
getValues(String) - Method in class org.apache.solr.SolrTestCaseJ4.Doc

## H

h - Static variable in class org.apache.solr.SolrTestCaseJ4
  Harness initialized by initTestHarness.
h - Variable in class org.apache.solr.util.AbstractSolrTestCase
  Harness initialized by initTestHarness.
handle - Variable in class org.apache.solr.BaseDistributedSearchTestCase
hashCode() - Method in class org.apache.solr.SolrTestCaseJ4.Doc

## I

id - Variable in class org.apache.solr.BaseDistributedSearchTestCase
id - Variable in class org.apache.solr.SolrTestCaseJ4.Doc
ignoreException(String) - Static method in class org.apache.solr.SolrTestCaseJ4
  Causes an exception matching the regex pattern to not be logged.
ignoreException(String) - Static method in class org.apache.solr.util.AbstractSolrTestCase
  Causes an exception matching the regex pattern to not be logged.
index(Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
index_specific(int, Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
indexDoc(SolrInputDocument) - Method in class org.apache.solr.BaseDistributedSearchTestCase
indexDocs(List<SolrTestCaseJ4.FldType>, Map<Comparable, SolrTestCaseJ4.Doc>, int) - Method in class org.apache.solr.SolrTestCaseJ4
indexr(Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
init(Map<String, String>) - Method in class org.apache.solr.analysis.MockTokenizerFactory
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() - Static method in class org.apache.solr.SolrTestCaseJ4

## J

jetty - Static variable in class org.apache.solr.SolrJettyTestBase
jettys - Variable in class org.apache.solr.BaseDistributedSearchTestCase
JSONTestUtil - Class in org.apache.solr
JSONTestUtil() - Constructor for class org.apache.solr.JSONTestUtil

## L

limit - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
log - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
log - Static variable in class org.apache.solr.SolrTestCaseJ4
  Initializes things your test might need Creates a dataDir in the "java.io.tmpdir" initializes the TestHarness h using this data directory, and getSchemaPath() initializes the LocalRequestFactory lrf using sensible defaults.
log - Static variable in class org.apache.solr.util.AbstractSolrTestCase
  Initializes things your test might need Creates a dataDir in the "java.io.tmpdir" initializes the TestHarness h using this data directory, and getSchemaPath() initializes the LocalRequestFactory lrf using sensible defaults.
lrf - Static variable in class org.apache.solr.SolrTestCaseJ4
  LocalRequestFactory initialized by initTestHarness using sensible defaults.
lrf - Variable in class org.apache.solr.util.AbstractSolrTestCase
  LocalRequestFactory initialized by initTestHarness using sensible defaults.

## M

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.TestHarness
  A helper that creates an xml <doc> containing all of the fields and values specified
match(String, String) - Static method in class org.apache.solr.JSONTestUtil
  comparison using default delta
match(String, 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, 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
MockDirectoryFactory - Class in org.apache.solr.core
  Opens a directory with `LuceneTestCase.newFSDirectory(File)`
MockDirectoryFactory() - Constructor for class org.apache.solr.core.MockDirectoryFactory
MockTokenizerFactory - Class in org.apache.solr.analysis
  Factory for `MockTokenizer` for testing purposes.
MockTokenizerFactory() - Constructor for class org.apache.solr.analysis.MockTokenizerFactory

## N

nThreads - Variable in class org.apache.solr.BaseDistributedSearchTestCase
numValues - Variable in class org.apache.solr.SolrTestCaseJ4.FldType

## O

ONE_ONE - Static variable in class org.apache.solr.SolrTestCaseJ4
open(String) - Method in class org.apache.solr.core.MockDirectoryFactory
optimize(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
optimize(String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
optimize(String...) - Static method in class org.apache.solr.util.TestHarness
  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
org.apache.solr.analysis - package org.apache.solr.analysis
org.apache.solr.core - package org.apache.solr.core
org.apache.solr.update.processor - package org.apache.solr.update.processor
org.apache.solr.util - package org.apache.solr.util

## P

params(String...) - Static method in class org.apache.solr.SolrTestCaseJ4
port - Static variable in class org.apache.solr.SolrJettyTestBase
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.
postSetUp() - Method in class org.apache.solr.util.AbstractSolrTestCase
  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.
preTearDown() - Method in class org.apache.solr.util.AbstractSolrTestCase
  Subclasses that override tearDown can optionally call this method to log the fact that the tearDown process has started.
processAdd(AddUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
processCommit(CommitUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
processDelete(DeleteUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor
processRollback(RollbackUpdateCommand) - Method in class org.apache.solr.update.processor.BufferingRequestProcessor

## Q

qtype - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
query(Object...) - Method in class org.apache.solr.BaseDistributedSearchTestCase
query(SolrQueryRequest) - Method in class org.apache.solr.util.TestHarness
  Processes a "query" using a user constructed SolrQueryRequest
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.
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.
queryServer(ModifiableSolrParams) - Method in class org.apache.solr.BaseDistributedSearchTestCase

## R

r - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
r - Static variable in class org.apache.solr.BaseDistributedSearchTestCase.RandVal
randVals - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
rdate - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
rdouble - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
recurseDelete(File) - Static method in class org.apache.solr.SolrTestCaseJ4
recurseDelete(File) - Static method in class org.apache.solr.util.AbstractSolrTestCase
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
req(String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a SolrQueryRequest using the LocalRequestFactory
req(String[], String...) - Method in class org.apache.solr.util.AbstractSolrTestCase
  Generates a SolrQueryRequest using the LocalRequestFactory
resetExceptionIgnores() - Static method in class org.apache.solr.SolrTestCaseJ4
resetExceptionIgnores() - Static method in class org.apache.solr.util.AbstractSolrTestCase
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

## S

schemaString - Static variable in class org.apache.solr.SolrTestCaseJ4
server - Static variable in class org.apache.solr.SolrJettyTestBase
setUp() - Method in class org.apache.solr.BaseDistributedSearchTestCase
setUp() - Method in class org.apache.solr.SolrTestCaseJ4
setUp() - Method in class org.apache.solr.util.AbstractSolrTestCase
setUp() - Method in class org.apache.solr.util.DOMUtilTestBase
shardCount - Variable in class org.apache.solr.BaseDistributedSearchTestCase
shards - Variable in class org.apache.solr.BaseDistributedSearchTestCase
SKIP - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
SKIPVAL - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
solrClassRules - Static variable in class org.apache.solr.SolrTestCaseJ4
solrClassRules - Static variable in class org.apache.solr.util.AbstractSolrTestCase
solrConfig - Static variable in class org.apache.solr.SolrTestCaseJ4
solrConfig - Variable in class org.apache.solr.util.AbstractSolrTestCase
SolrJettyTestBase - Class in org.apache.solr
SolrJettyTestBase() - Constructor for class org.apache.solr.SolrJettyTestBase
SolrTestCaseJ4 - Class in org.apache.solr
  A junit4 Solr test harness that extends LuceneTestCaseJ4.
SolrTestCaseJ4() - Constructor for class org.apache.solr.SolrTestCaseJ4
SolrTestCaseJ4.Doc - Class in org.apache.solr
SolrTestCaseJ4.Doc() - Constructor for class org.apache.solr.SolrTestCaseJ4.Doc
SolrTestCaseJ4.Fld - Class in org.apache.solr
SolrTestCaseJ4.Fld() - Constructor for class org.apache.solr.SolrTestCaseJ4.Fld
SolrTestCaseJ4.FldType - Class in org.apache.solr
SolrTestCaseJ4.FldType(String, SolrTestCaseJ4.Vals) - Constructor for class org.apache.solr.SolrTestCaseJ4.FldType
SolrTestCaseJ4.FldType(String, SolrTestCaseJ4.IRange, SolrTestCaseJ4.Vals) - Constructor for class org.apache.solr.SolrTestCaseJ4.FldType
SolrTestCaseJ4.FVal - Class in org.apache.solr
SolrTestCaseJ4.FVal(float, float) - Constructor for class org.apache.solr.SolrTestCaseJ4.FVal
SolrTestCaseJ4.IRange - Class in org.apache.solr
SolrTestCaseJ4.IRange(int, int) - Constructor for class org.apache.solr.SolrTestCaseJ4.IRange
SolrTestCaseJ4.IVals - Class in org.apache.solr
SolrTestCaseJ4.IVals() - Constructor for class org.apache.solr.SolrTestCaseJ4.IVals
SolrTestCaseJ4.SVal - Class in org.apache.solr
SolrTestCaseJ4.SVal() - Constructor for class org.apache.solr.SolrTestCaseJ4.SVal
SolrTestCaseJ4.SVal(char, char, int, int) - Constructor for class org.apache.solr.SolrTestCaseJ4.SVal
SolrTestCaseJ4.Vals - Class in org.apache.solr
SolrTestCaseJ4.Vals() - Constructor for class org.apache.solr.SolrTestCaseJ4.Vals
SolrTestCaseJ4.XmlDoc - Class in org.apache.solr
  Neccessary to make method signatures un-ambiguous
SolrTestCaseJ4.XmlDoc() - Constructor for class org.apache.solr.SolrTestCaseJ4.XmlDoc
solrTestRules - Variable in class org.apache.solr.SolrTestCaseJ4
solrTestRules - Variable in class org.apache.solr.util.AbstractSolrTestCase
start - Variable in class org.apache.solr.util.TestHarness.LocalRequestFactory
startTrackingSearchers() - Static method in class org.apache.solr.SolrTestCaseJ4
stress - Variable in class org.apache.solr.BaseDistributedSearchTestCase

## T

tearDown() - Method in class org.apache.solr.BaseDistributedSearchTestCase
tearDown() - Method in class org.apache.solr.SolrTestCaseJ4
tearDown() - Method in class org.apache.solr.util.AbstractSolrTestCase
  Shuts down the test harness, and makes the best attempt possible to delete dataDir, unless the system property "solr.test.leavedatadir" is set.
TEST_HOME() - Static method in class org.apache.solr.SolrTestCaseJ4
testDir - Variable in class org.apache.solr.BaseDistributedSearchTestCase
testDistribSearch() - Method in class org.apache.solr.BaseDistributedSearchTestCase
TestHarness - Class in org.apache.solr.util
  This class provides a simple harness that may be useful when writing testcases.
TestHarness(String) - Constructor for class org.apache.solr.util.TestHarness
  Assumes "solrconfig.xml" is the config file to use, and "schema.xml" is the schema path to use.
TestHarness(String, String) - Constructor for class org.apache.solr.util.TestHarness
  Assumes "solrconfig.xml" is the config file to use.
TestHarness(String, String, String) - 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(String, CoreContainer.Initializer) - Constructor for class org.apache.solr.util.TestHarness
TestHarness.LocalRequestFactory - Class in org.apache.solr.util
  A Factory that generates LocalSolrQueryRequest objects using a specified set of default options.
TestHarness.LocalRequestFactory() - Constructor for class org.apache.solr.util.TestHarness.LocalRequestFactory
toJSON(SolrTestCaseJ4.Doc) - Static method in class org.apache.solr.SolrTestCaseJ4
toJSON(Comparable) - Method in class org.apache.solr.SolrTestCaseJ4.Vals
toObject(IndexSchema) - Method in class org.apache.solr.SolrTestCaseJ4.Doc
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
toString() - Method in class org.apache.solr.util.AbstractSolrTestCase.Doc

## U

uniqueValues - Static variable in class org.apache.solr.BaseDistributedSearchTestCase.RandVal
UNORDERED - Static variable in class org.apache.solr.BaseDistributedSearchTestCase
update(String) - Method in class org.apache.solr.util.TestHarness
  Deprecated. The better approach is to instantiate an Updatehandler directly
updateJ(String, SolrParams) - Static method in class org.apache.solr.SolrTestCaseJ4
  Send JSON update commands
updater - Variable in class org.apache.solr.util.TestHarness
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
validateAddDoc(String...) - Method in class org.apache.solr.util.TestHarness
  Validates that an add of a single document results in success.
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.TestHarness
  Validates that an "update" (add, commit or optimize) results in success.
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.TestHarness
  Validates that an "update" (add, commit or optimize) results in success.
validateXPath(String, String...) - Method in class org.apache.solr.util.TestHarness
  A helper method which valides 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
verifyStress - Variable in class org.apache.solr.BaseDistributedSearchTestCase

## W

WEBAPP_HOME - Static variable in class org.apache.solr.util.ExternalPaths

## X

xml - Variable in class org.apache.solr.SolrTestCaseJ4.XmlDoc
xml - Variable in class org.apache.solr.util.AbstractSolrTestCase.Doc

## Z

ZERO_ONE - Static variable in class org.apache.solr.SolrTestCaseJ4
ZERO_TWO - Static variable in class org.apache.solr.SolrTestCaseJ4

A B C D E F G H I J L M N O P Q R S T U V W X Z

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES