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

## A

acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.CheckHits.ExplanationAsserter
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.CheckHits.SetCollector
add(AttributeSource.State) - Method in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
addCount - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
addDocument(Document) - Method in class org.apache.lucene.index.RandomIndexWriter
  Adds a Document.
addDocument(Term, Document) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
addDocuments(Collection<Document>) - Method in class org.apache.lucene.index.RandomIndexWriter
addDocuments(Term, Collection<Document>) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
addError(Test, Throwable) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  A test caused an error.
addFailure(Test, Throwable) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  Interface TestListener for JUnit <= 3.4.
addFailure(Test, AssertionFailedError) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  Interface TestListener for JUnit > 3.4.
addIndexes(Directory...) - Method in class org.apache.lucene.index.RandomIndexWriter
addIndexes(IndexReader...) - Method in class org.apache.lucene.index.RandomIndexWriter
addOffCorrectMap(int, int) - Method in class org.apache.lucene.analysis.MockCharFilter
afterClass() - Static method in class org.apache.lucene.search.SearchEquivalenceTestBase
afterClassLuceneTestCaseJ4() - Static method in class org.apache.lucene.util.LuceneTestCase
afterPosition() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
  This is called when all input tokens leaving a given position have been returned.
afterPosition() - Method in class org.apache.lucene.analysis.MockGraphTokenFilter
afterPosition() - Method in class org.apache.lucene.analysis.MockRandomLookaheadTokenFilter
alwaysIgnoredTestMethod() - Method in class org.apache.lucene.util.LuceneTestCase
analyzer - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
anyFilesExceptWriteLock(Directory) - Static method in class org.apache.lucene.util._TestUtil
append(String) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
append(long) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
apply(Statement, Description) - Method in class org.apache.lucene.util.StoreClassNameRule
apply(Statement, Description) - Method in class org.apache.lucene.util.SystemPropertiesInvariantRule
apply(Statement, Description) - Method in class org.apache.lucene.util.SystemPropertiesRestoreRule
apply(Statement, Description) - Method in class org.apache.lucene.util.UncaughtExceptionsRule
arrayToString(int[]) - Static method in class org.apache.lucene.util._TestUtil
  Deprecated. -- in 3.0 we can use Arrays.toString instead
arrayToString(Object[]) - Static method in class org.apache.lucene.util._TestUtil
  Deprecated. -- in 3.0 we can use Arrays.toString instead
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[], int[], boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesTo(Analyzer, String, String[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesTo(Analyzer, String, String[], String[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesTo(Analyzer, String, String[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesTo(Analyzer, String, String[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesTo(Analyzer, String, String[], int[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesToPositions(Analyzer, String, String[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesToReuse(Analyzer, String, String[], int[], int[], String[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesToReuse(Analyzer, String, String[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesToReuse(Analyzer, String, String[], String[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesToReuse(Analyzer, String, String[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesToReuse(Analyzer, String, String[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAnalyzesToReuse(Analyzer, String, String[], int[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertAttributeReflection(AttributeImpl, Map<String, T>) - Static method in class org.apache.lucene.util._TestUtil
  Checks some basic behaviour of an AttributeImpl
assertDateRangeQueryEquals(QueryParser, String, String, String, Date, DateTools.Resolution) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
assertEquals(TopDocs, TopDocs) - Static method in class org.apache.lucene.util._TestUtil
assertEquals(double, double) - Static method in class org.apache.lucene.util.LuceneTestCase
  Deprecated.
assertEquals(String, double, double) - Static method in class org.apache.lucene.util.LuceneTestCase
  Deprecated.
assertEquals(float, float) - Static method in class org.apache.lucene.util.LuceneTestCase
  Deprecated.
assertEquals(String, float, float) - Static method in class org.apache.lucene.util.LuceneTestCase
  Deprecated.
assertEscapedQueryEquals(String, Analyzer, String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
AssertingIndexSearcher - Class in org.apache.lucene.search
  Helper class that adds some extra checks to ensure correct usage of `IndexSearcher` and `Weight`.
AssertingIndexSearcher(IndexReader) - Constructor for class org.apache.lucene.search.AssertingIndexSearcher
AssertingIndexSearcher(IndexReader, ExecutorService) - Constructor for class org.apache.lucene.search.AssertingIndexSearcher
assertParseException(String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
assertQueryEquals(String, Analyzer, String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
assertQueryEquals(QueryParser, String, String, String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
assertQueryEqualsDOA(String, Analyzer, String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
assertSameSet(Query, Query) - Method in class org.apache.lucene.search.SearchEquivalenceTestBase
  Asserts that the documents returned by `q1` are the same as of those returned by `q2`
assertSaneFieldCaches(String) - Method in class org.apache.lucene.util.LuceneTestCase
  Asserts that FieldCacheSanityChecker does not detect any problems with FieldCache.DEFAULT.
assertSubsetOf(Query, Query) - Method in class org.apache.lucene.search.SearchEquivalenceTestBase
  Asserts that the documents returned by `q1` are a subset of those returned by `q2`
assertSubsetOf(Query, Query, Filter) - Method in class org.apache.lucene.search.SearchEquivalenceTestBase
  Asserts that the documents returned by `q1` are a subset of those returned by `q2`.
assertThreadSafe(Analyzer) - Method in class org.apache.lucene.analysis.CollationTestBase
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], Integer) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], String[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[], Integer) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[], int[]) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[], int[], Integer) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertTokenStreamContents(TokenStream, String[], int[], int[], int[], int[], Integer) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
assertVocabulary(Analyzer, InputStream, InputStream) - Static method in class org.apache.lucene.analysis.VocabularyAssert
  Run a vocabulary test against two data files.
assertVocabulary(Analyzer, InputStream) - Static method in class org.apache.lucene.analysis.VocabularyAssert
  Run a vocabulary test against one file: tab separated.
assertVocabulary(Analyzer, File, String, String) - Static method in class org.apache.lucene.analysis.VocabularyAssert
  Run a vocabulary test against two data files inside a zip file
assertVocabulary(Analyzer, File, String) - Static method in class org.apache.lucene.analysis.VocabularyAssert
  Run a vocabulary test against a tab-separated data file inside a zip file
assertWildcardQueryEquals(String, boolean, String, boolean) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
assertWildcardQueryEquals(String, boolean, String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
assertWildcardQueryEquals(String, String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
asSet(T...) - Static method in class org.apache.lucene.util.LuceneTestCase
assumeFalse(String, boolean) - Static method in class org.apache.lucene.util.LuceneTestCase
assumeNoException(String, Exception) - Static method in class org.apache.lucene.util.LuceneTestCase
assumeTrue(String, boolean) - Static method in class org.apache.lucene.util.LuceneTestCase
atLeast(Random, int) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a number of at least `i`
atLeast(int) - Static method in class org.apache.lucene.util.LuceneTestCase

## B

BaseTokenStreamTestCase - Class in org.apache.lucene.analysis
  Base class for all Lucene unit tests that use TokenStreams.
BaseTokenStreamTestCase() - Constructor for class org.apache.lucene.analysis.BaseTokenStreamTestCase
BaseTokenStreamTestCase.CheckClearAttributesAttribute - Interface in org.apache.lucene.analysis
  Attribute that records if it was cleared or not.
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl - Class in org.apache.lucene.analysis
  Attribute that records if it was cleared or not.
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl() - Constructor for class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
beforeClass() - Static method in class org.apache.lucene.search.SearchEquivalenceTestBase
beforeClassLuceneTestCaseJ4() - Static method in class org.apache.lucene.util.LuceneTestCase
bytesToCharSequence(BytesRef, Random) - Static method in class org.apache.lucene.util._TestUtil

## C

CachingWrapperFilterHelper - Class in org.apache.lucene.search
  A unit test helper class to test when the filter is getting cached and when it is not.
CachingWrapperFilterHelper(Filter) - Constructor for class org.apache.lucene.search.CachingWrapperFilterHelper
CannedTokenStream - Class in org.apache.lucene.analysis
  TokenStream from a canned list of Tokens.
CannedTokenStream(Token...) - Constructor for class org.apache.lucene.analysis.CannedTokenStream
check(Query) - Static method in class org.apache.lucene.search.QueryUtils
  Check the types of things query objects should be able to do.
check(Random, Query, Searcher) - Static method in class org.apache.lucene.search.QueryUtils
  Various query sanity checks on a searcher, some checks are only done for instanceof IndexSearcher.
check(Random, Query, Searcher, boolean) - Static method in class org.apache.lucene.search.QueryUtils
checkAnalysisConsistency(Random, Analyzer, boolean, String) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
checkAnalysisConsistency(Random, Analyzer, boolean, String, boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
checkDocIds(String, int[], ScoreDoc[]) - Static method in class org.apache.lucene.search.CheckHits
  Tests that a Hits has an expected order of documents
checkEqual(Query, ScoreDoc[], ScoreDoc[]) - Static method in class org.apache.lucene.search.CheckHits
checkEqual(Query, Query) - Static method in class org.apache.lucene.search.QueryUtils
checkExplanations(Query, String, Searcher) - Static method in class org.apache.lucene.search.CheckHits
  Asserts that the explanation value for every document matching a query corresponds with the true score.
checkExplanations(Query, String, Searcher, boolean) - Static method in class org.apache.lucene.search.CheckHits
  Asserts that the explanation value for every document matching a query corresponds with the true score.
checkExplanations(Query) - Method in class org.apache.lucene.search.CheckHits.ExplanationAssertingSearcher
checkExplanations(Query, Searcher) - Static method in class org.apache.lucene.search.QueryUtils
  deep check that explanations of a query 'score' correctly
checkHashEquals(Query) - Static method in class org.apache.lucene.search.QueryUtils
  check very basic hashCode and equals
checkHitCollector(Random, Query, String, Searcher, int[]) - Static method in class org.apache.lucene.search.CheckHits
  Tests that a query matches the an expected set of documents using a HitCollector.
CheckHits - Class in org.apache.lucene.search
  Utility class for asserting expected hits in tests.
CheckHits() - Constructor for class org.apache.lucene.search.CheckHits
checkHits(Random, Query, String, Searcher, int[]) - Static method in class org.apache.lucene.search.CheckHits
  Tests that a query matches the an expected set of documents using Hits.
CheckHits.ExplanationAsserter - Class in org.apache.lucene.search
  Asserts that the score explanation for every document matching a query corresponds with the true score.
CheckHits.ExplanationAsserter(Query, String, Searcher) - Constructor for class org.apache.lucene.search.CheckHits.ExplanationAsserter
  Constructs an instance which does shallow tests on the Explanation
CheckHits.ExplanationAsserter(Query, String, Searcher, boolean) - Constructor for class org.apache.lucene.search.CheckHits.ExplanationAsserter
CheckHits.ExplanationAssertingSearcher - Class in org.apache.lucene.search
  an IndexSearcher that implicitly checks hte explanation of every match whenever it executes a search.
CheckHits.ExplanationAssertingSearcher(IndexReader) - Constructor for class org.apache.lucene.search.CheckHits.ExplanationAssertingSearcher
CheckHits.SetCollector - Class in org.apache.lucene.search
  Just collects document ids into a set.
CheckHits.SetCollector(Set<Integer>) - Constructor for class org.apache.lucene.search.CheckHits.SetCollector
checkHitsQuery(Query, ScoreDoc[], ScoreDoc[], int[]) - Static method in class org.apache.lucene.search.CheckHits
  Tests that two queries have an expected order of documents, and that the two queries have the same score values.
checkIndex(Directory) - Static method in class org.apache.lucene.util._TestUtil
  This runs the CheckIndex tool on the index in.
checkNoMatchExplanations(Query, String, Searcher, int[]) - Static method in class org.apache.lucene.search.CheckHits
  Tests that all documents up to maxDoc which are *not* in the expected result set, have an explanation which indicates that the document does not match
checkOneTerm(Analyzer, String, String) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
checkOneTermReuse(Analyzer, String, String) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
checkRandomData(Random, Analyzer, int) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
  utility method for blasting tokenstreams with data to make sure they don't do anything crazy
checkRandomData(Random, Analyzer, int, int) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
  utility method for blasting tokenstreams with data to make sure they don't do anything crazy
checkRandomData(Random, Analyzer, int, boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
  utility method for blasting tokenstreams with data to make sure they don't do anything crazy
checkRandomData(Random, Analyzer, int, int, boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
checkRandomData(Random, Analyzer, int, int, boolean, boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
checkSkipTo(Query, IndexSearcher) - Static method in class org.apache.lucene.search.QueryUtils
  alternate scorer skipTo(),skipTo(),next(),next(),skipTo(),skipTo(), etc and ensure a hitcollector receives same docs and scores
checkUnequal(Query, Query) - Static method in class org.apache.lucene.search.QueryUtils
classRules - Static variable in class org.apache.lucene.util.LuceneTestCase
  This controls how suite-level rules are nested.
clear() - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
clearCrash() - Method in class org.apache.lucene.store.MockDirectoryWrapper
clearDoFail() - Method in class org.apache.lucene.store.MockDirectoryWrapper.Failure
clearLock(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
clearLock(String) - Method in class org.apache.lucene.store.MockLockFactoryWrapper
clone() - Method in class org.apache.lucene.store.MockIndexInputWrapper
cloneDocument(Document) - Static method in class org.apache.lucene.util._TestUtil
close() - Method in class org.apache.lucene.analysis.MockCharFilter
close() - Method in class org.apache.lucene.analysis.MockReaderWrapper
close() - Method in class org.apache.lucene.analysis.MockTokenizer
close() - Method in class org.apache.lucene.index.MockIndexInput
close() - Method in class org.apache.lucene.index.MockRandomMergePolicy
close() - Method in class org.apache.lucene.index.RandomIndexWriter
  Close this writer.
close() - Method in class org.apache.lucene.store.MockDirectoryWrapper
close() - Method in class org.apache.lucene.store.MockIndexInputWrapper
close() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
close() - Method in class org.apache.lucene.util.LineFileDocs
close() - Method in class org.apache.lucene.util.ThrottledIndexOutput
CollationTestBase - Class in org.apache.lucene.analysis
  Base test class for testing Unicode collation.
CollationTestBase() - Constructor for class org.apache.lucene.analysis.CollationTestBase
collect(int) - Method in class org.apache.lucene.search.CheckHits.ExplanationAsserter
collect(int) - Method in class org.apache.lucene.search.CheckHits.SetCollector
commit() - Method in class org.apache.lucene.index.RandomIndexWriter
computeTestMethods() - Method in class org.apache.lucene.util.LuceneTestCaseRunner
copy(Directory, String, String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
copyBytes(IndexOutput, long) - Method in class org.apache.lucene.store.MockIndexInputWrapper
copyBytes(DataInput, long) - Method in class org.apache.lucene.store.MockIndexOutputWrapper
copyBytes(DataInput, long) - Method in class org.apache.lucene.util.ThrottledIndexOutput
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
correctOffset(int) - Method in class org.apache.lucene.analysis.MockCharFilter
crash() - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Simulates a crash of OS or machine by overwriting unsynced files.
createNormalizedWeight(Query) - Method in class org.apache.lucene.search.AssertingIndexSearcher
  Ensures, that the returned `Weight` is not normalized again, which may produce wrong scores.
createOutput(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
createTempFile(String, String, File) - Static method in class org.apache.lucene.util._TestUtil
  insecure, fast version of File.createTempFile uses Random instead of SecureRandom.

## D

DEFAULT_MAX_TOKEN_LENGTH - Static variable in class org.apache.lucene.analysis.MockTokenizer
DEFAULT_MIN_WRITTEN_BYTES - Static variable in class org.apache.lucene.util.ThrottledIndexOutput
delCount - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
deleteAll() - Method in class org.apache.lucene.index.RandomIndexWriter
deleteDocuments(Term) - Method in class org.apache.lucene.index.RandomIndexWriter
deleteDocuments(Query) - Method in class org.apache.lucene.index.RandomIndexWriter
deleteDocuments(Term) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
deleteFile(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
dir - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
directory - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
doAfterIndexingThreadDone() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
doAfterWriter(ExecutorService) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
doClose() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
doFail - Variable in class org.apache.lucene.store.MockDirectoryWrapper.Failure
doSearching(ExecutorService, long) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
dumpArray(String, Object[], PrintStream) - Static method in class org.apache.lucene.util.LuceneTestCase
  Convenience method for logging an array.
dumpIterator(String, Iterator<?>, PrintStream) - Static method in class org.apache.lucene.util.LuceneTestCase
  Convenience method for logging an iterator.

## E

EmptyTokenizer - Class in org.apache.lucene.analysis
  Emits no tokens
EmptyTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.EmptyTokenizer
encodeCollationKey(byte[]) - Method in class org.apache.lucene.analysis.CollationTestBase
  Convenience method to perform the same function as CollationKeyFilter.
end - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
end() - Method in class org.apache.lucene.analysis.MockTokenizer
end() - Method in class org.apache.lucene.analysis.ValidatingTokenFilter
endOffset - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
endTest(Test) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  A test ended.
endTestSuite(JUnitTest) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  The whole testsuite ended.
English - Class in org.apache.lucene.util
equals(Object) - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
equals(Object) - Method in class org.apache.lucene.search.CachingWrapperFilterHelper
escape(String) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
eval(MockDirectoryWrapper) - Method in class org.apache.lucene.store.MockDirectoryWrapper.Failure
  eval is called on the first write of every new file.
exception - Variable in class org.apache.lucene.util.UncaughtExceptionsRule.UncaughtExceptionEntry
EXPLAIN_SCORE_TOLERANCE_DELTA - Static variable in class org.apache.lucene.search.CheckHits
  Some explains methods calculate their values though a slightly different order of operations from the actual scoring method ...

## F

failed - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
failOn(MockDirectoryWrapper.Failure) - Method in class org.apache.lucene.store.MockDirectoryWrapper
  add a Failure object to the list of objects to be evaluated at every potential failure point
fileExists(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
fileLength(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
fileModified(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.MockRandomMergePolicy
findForcedMerges(SegmentInfos, int, Map<SegmentInfo, Boolean>) - Method in class org.apache.lucene.index.MockRandomMergePolicy
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.MockRandomMergePolicy
firstRangeBeginningOriginal - Variable in class org.apache.lucene.analysis.CollationTestBase
firstRangeEndOriginal - Variable in class org.apache.lucene.analysis.CollationTestBase
flush() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
flush() - Method in class org.apache.lucene.util.ThrottledIndexOutput
forceMerge(int) - Method in class org.apache.lucene.index.RandomIndexWriter
  Forces a forceMerge.
forceMergeDeletes(boolean) - Method in class org.apache.lucene.index.RandomIndexWriter
forceMergeDeletes() - Method in class org.apache.lucene.index.RandomIndexWriter
formatError(String, Test, Throwable) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  Format an error and print it.
formatTest(Test) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  Format the test for printing..
freeBefore(int) - Method in class org.apache.lucene.util.RollingBuffer

## G

get(int) - Method in class org.apache.lucene.util.RollingBuffer
  Get T instance for this absolute position; this is allowed to be arbitrarily far "in the future" but cannot be before the last freeBefore.
getAndResetClearCalled() - Method in interface org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttribute
getAndResetClearCalled() - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
getCheckIndexOnClose() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getCurrentSearcher() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
getDataFile(String) - Method in class org.apache.lucene.util.LuceneTestCase
  Gets a resource from the classpath as `File`.
getDelay(boolean) - Method in class org.apache.lucene.util.ThrottledIndexOutput
getDirectory(Directory) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.CachingWrapperFilterHelper
getFieldInfos() - Method in class org.apache.lucene.index.SlowMultiReaderWrapper
getFilePointer() - Method in class org.apache.lucene.store.MockIndexInputWrapper
getFilePointer() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
getFilePointer() - Method in class org.apache.lucene.util.ThrottledIndexOutput
getFinalSearcher() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
getFuzzyQuery(String, String, float) - Method in class org.apache.lucene.queryParser.QueryParserTestBase.QPTestParser
getInputCloneCount() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getLockFactory() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getLockID() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getLockPrefix() - Method in class org.apache.lucene.store.MockLockFactoryWrapper
getMaxSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getMaxUsedSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Returns the peek actual storage used (bytes) in this directory.
getName() - Method in class org.apache.lucene.util.LuceneTestCase
getNoDeleteOpenFile() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getOpenDeletedFiles() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getParser(Analyzer) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
getPositionIncrementGap(String) - Method in class org.apache.lucene.analysis.MockAnalyzer
getQuery(String, Analyzer) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
getQueryDOA(String, Analyzer) - Method in class org.apache.lucene.queryParser.QueryParserTestBase
getRandomIOExceptionRate() - Method in class org.apache.lucene.store.MockDirectoryWrapper
getReader() - Method in class org.apache.lucene.index.RandomIndexWriter
getReader(boolean) - Method in class org.apache.lucene.index.RandomIndexWriter
getRecomputedActualSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Like getRecomputedSizeInBytes(), but, uses actual file lengths rather than buffer allocations (which are quantized up to nearest RAMOutputStream.BUFFER_SIZE (now 1024) bytes.
getRecomputedSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Provided for testing purposes.
getSequentialSubReaders() - Method in class org.apache.lucene.index.SlowMultiReaderWrapper
getTempDir(String) - Static method in class org.apache.lucene.util._TestUtil
  Returns temp dir, based on String arg in its name; does not create the directory.
getTestClass() - Static method in class org.apache.lucene.util.LuceneTestCase
  Return the current class being tested.
getTestClass() - Method in class org.apache.lucene.util.StoreClassNameRule
  Returns the test class currently executing in this rule.
getTestLabel() - Method in class org.apache.lucene.util.LuceneTestCase
getWildcardQuery(String, String) - Method in class org.apache.lucene.queryParser.QueryParserTestBase.QPTestParser

## H

hashCode() - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
hashCode() - Method in class org.apache.lucene.search.CachingWrapperFilterHelper
hasUncaughtExceptions() - Method in class org.apache.lucene.util.UncaughtExceptionsRule
  Just a check if anything's been caught.
hits2str(ScoreDoc[], ScoreDoc[], int, int) - Static method in class org.apache.lucene.search.CheckHits

## I

incrementToken() - Method in class org.apache.lucene.analysis.CannedTokenStream
incrementToken() - Method in class org.apache.lucene.analysis.EmptyTokenizer
incrementToken() - Method in class org.apache.lucene.analysis.MockFixedLengthPayloadFilter
incrementToken() - Method in class org.apache.lucene.analysis.MockGraphTokenFilter
incrementToken() - Method in class org.apache.lucene.analysis.MockHoleInjectingTokenFilter
incrementToken() - Method in class org.apache.lucene.analysis.MockRandomLookaheadTokenFilter
incrementToken() - Method in class org.apache.lucene.analysis.MockTokenizer
incrementToken() - Method in class org.apache.lucene.analysis.MockVariableLengthPayloadFilter
incrementToken() - Method in class org.apache.lucene.analysis.ValidatingTokenFilter
incrementToken() - Method in class org.apache.lucene.queryParser.QueryParserTestBase.QPTestFilter
inputPos - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
inputTokens - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
insertToken() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
  Call this only from within afterPosition, to insert a new token.
intToEnglish(int) - Static method in class org.apache.lucene.util.English
intToEnglish(int, StringBuilder) - Static method in class org.apache.lucene.util.English
isMyEvilException(Throwable) - Static method in class org.apache.lucene.analysis.MockReaderWrapper
isOpen() - Method in class org.apache.lucene.store.MockDirectoryWrapper
isSelected(File, String, File) - Method in class org.apache.lucene.util.LuceneJUnitDividingSelector
isSimpleFSIndexInput(IndexInput) - Static method in class org.apache.lucene.store._TestHelper
  Returns true if the instance of the provided input stream is actually an SimpleFSIndexInput.
isSimpleFSIndexInputClone(IndexInput) - Static method in class org.apache.lucene.store._TestHelper
  Returns true if the provided input stream is an SimpleFSIndexInput and is a clone, that is it does not own its underlying file descriptor.
isSimpleFSIndexInputOpen(IndexInput) - Static method in class org.apache.lucene.store._TestHelper
  Given an instance of SimpleFSDirectory.SimpleFSIndexInput, this method returns true if the underlying file descriptor is valid, and false otherwise.
isTestThread() - Method in class org.apache.lucene.util.LuceneTestCase
  Returns true if and only if the calling thread is the primary thread executing the test case.
isTokenChar(int) - Method in class org.apache.lucene.analysis.MockTokenizer

## K

keepFullyDeletedSegments(IndexWriter) - Static method in class org.apache.lucene.util._TestUtil
KEYWORD - Static variable in class org.apache.lucene.analysis.MockTokenizer
  Acts Similar to KeywordTokenizer.

## L

length() - Method in class org.apache.lucene.index.MockIndexInput
length() - Method in class org.apache.lucene.store.MockIndexInputWrapper
length() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
length() - Method in class org.apache.lucene.util.ThrottledIndexOutput
LineFileDocs - Class in org.apache.lucene.util
  Minimal port of contrib/benchmark's LneDocSource + DocMaker, so tests can enum docs from a line file created by contrib/benchmark's WriteLineDoc task
LineFileDocs(Random, String) - Constructor for class org.apache.lucene.util.LineFileDocs
  If forever is true, we rewind the file at EOF (repeat the docs over and over)
LineFileDocs(Random) - Constructor for class org.apache.lucene.util.LineFileDocs
listAll() - Method in class org.apache.lucene.store.MockDirectoryWrapper
localeForName(String) - Static method in class org.apache.lucene.util.LuceneTestCase
  return a Locale object equivalent to its programmatic name
longToEnglish(long) - Static method in class org.apache.lucene.util.English
longToEnglish(long, StringBuilder) - Static method in class org.apache.lucene.util.English
LookaheadTokenFilter<T extends LookaheadTokenFilter.Position> - Class in org.apache.lucene.analysis
  An abstract TokenFilter to make it easier to build graph token filters requiring some lookahead.
LookaheadTokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.LookaheadTokenFilter
LookaheadTokenFilter.Position - Class in org.apache.lucene.analysis
  Holds all state for a single position; subclass this to record other state at each position.
LookaheadTokenFilter.Position() - Constructor for class org.apache.lucene.analysis.LookaheadTokenFilter.Position
LuceneJUnitDividingSelector - Class in org.apache.lucene.util
  Divides filesets into equal groups
LuceneJUnitDividingSelector() - Constructor for class org.apache.lucene.util.LuceneJUnitDividingSelector
LuceneJUnitResultFormatter - Class in org.apache.lucene.util
  Just like BriefJUnitResultFormatter "brief" bundled with ant, except all formatted text is buffered until the test suite is finished.
LuceneJUnitResultFormatter() - Constructor for class org.apache.lucene.util.LuceneJUnitResultFormatter
  Constructor for LuceneJUnitResultFormatter.
LuceneTestCase - Class in org.apache.lucene.util
  Base class for all Lucene unit tests, Junit3 or Junit4 variant.
LuceneTestCase() - Constructor for class org.apache.lucene.util.LuceneTestCase
LuceneTestCase.Nightly - Annotation Type in org.apache.lucene.util
  Annotation for tests that should only be run during nightly builds.
LuceneTestCaseRunner - Class in org.apache.lucene.util
  optionally filters the tests to be run by TEST_METHOD
LuceneTestCaseRunner(Class<?>) - Constructor for class org.apache.lucene.util.LuceneTestCaseRunner

## M

makeLock(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
makeLock(String) - Method in class org.apache.lucene.store.MockLockFactoryWrapper
markSupported() - Method in class org.apache.lucene.analysis.MockReaderWrapper
maxDoc() - Method in class org.apache.lucene.index.RandomIndexWriter
mBitsToBytes(int) - Static method in class org.apache.lucene.util.ThrottledIndexOutput
MockAnalyzer - Class in org.apache.lucene.analysis
  Analyzer for testing
MockAnalyzer(Random, int, boolean, CharArraySet, boolean) - Constructor for class org.apache.lucene.analysis.MockAnalyzer
  Creates a new MockAnalyzer.
MockAnalyzer(Random, int, boolean) - Constructor for class org.apache.lucene.analysis.MockAnalyzer
  Calls `MockAnalyzer(random, pattern, lowerCase, CharArraySet.EMPTY_STOPSET, true`).
MockAnalyzer(Random) - Constructor for class org.apache.lucene.analysis.MockAnalyzer
  Create a Whitespace-lowercasing analyzer with no stopwords removal.
MockCharFilter - Class in org.apache.lucene.analysis
  the purpose of this charfilter is to send offsets out of bounds if the analyzer doesn't use correctOffset or does incorrect offset math.
MockCharFilter(Reader, int) - Constructor for class org.apache.lucene.analysis.MockCharFilter
MockCharFilter(Reader) - Constructor for class org.apache.lucene.analysis.MockCharFilter
MockDirectoryWrapper - Class in org.apache.lucene.store
  This is a Directory Wrapper that adds methods intended to be used only by unit tests.
MockDirectoryWrapper(Random, Directory) - Constructor for class org.apache.lucene.store.MockDirectoryWrapper
MockDirectoryWrapper.Failure - Class in org.apache.lucene.store
  Objects that represent fail-able conditions.
MockDirectoryWrapper.Failure() - Constructor for class org.apache.lucene.store.MockDirectoryWrapper.Failure
MockDirectoryWrapper.Throttling - Enum in org.apache.lucene.store
MockFixedLengthPayloadFilter - Class in org.apache.lucene.analysis
  TokenFilter that adds random fixed-length payloads.
MockFixedLengthPayloadFilter(Random, TokenStream, int) - Constructor for class org.apache.lucene.analysis.MockFixedLengthPayloadFilter
MockGraphTokenFilter - Class in org.apache.lucene.analysis
  Randomly inserts overlapped (posInc=0) tokens with posLength sometimes > 1.
MockGraphTokenFilter(Random, TokenStream) - Constructor for class org.apache.lucene.analysis.MockGraphTokenFilter
MockHoleInjectingTokenFilter - Class in org.apache.lucene.analysis
MockHoleInjectingTokenFilter(Random, TokenStream) - Constructor for class org.apache.lucene.analysis.MockHoleInjectingTokenFilter
MockIndexInput - Class in org.apache.lucene.index
  IndexInput backed by a byte[] for testing.
MockIndexInput(byte[]) - Constructor for class org.apache.lucene.index.MockIndexInput
MockIndexInputWrapper - Class in org.apache.lucene.store
  Used by MockDirectoryWrapper to create an input stream that keeps track of when it's been closed.
MockIndexInputWrapper(MockDirectoryWrapper, String, IndexInput) - Constructor for class org.apache.lucene.store.MockIndexInputWrapper
  Construct an empty output buffer.
MockIndexOutputWrapper - Class in org.apache.lucene.store
  Used by MockRAMDirectory to create an output stream that will throw an IOException on fake disk full, track max disk space actually used, and maybe throw random IOExceptions.
MockIndexOutputWrapper(MockDirectoryWrapper, IndexOutput, String) - Constructor for class org.apache.lucene.store.MockIndexOutputWrapper
  Construct an empty output buffer.
MockLockFactoryWrapper - Class in org.apache.lucene.store
  Used by MockDirectoryWrapper to wrap another factory and track open locks.
MockLockFactoryWrapper(MockDirectoryWrapper, LockFactory) - Constructor for class org.apache.lucene.store.MockLockFactoryWrapper
MockRandomLookaheadTokenFilter - Class in org.apache.lucene.analysis
  Uses `LookaheadTokenFilter` to randomly peek at future tokens.
MockRandomLookaheadTokenFilter(Random, TokenStream) - Constructor for class org.apache.lucene.analysis.MockRandomLookaheadTokenFilter
MockRandomMergePolicy - Class in org.apache.lucene.index
  MergePolicy that makes random decisions for testing.
MockRandomMergePolicy(Random) - Constructor for class org.apache.lucene.index.MockRandomMergePolicy
MockReaderWrapper - Class in org.apache.lucene.analysis
  Wraps a Reader, and can throw random or fixed exceptions, and spoon feed read chars.
MockReaderWrapper(Random, Reader) - Constructor for class org.apache.lucene.analysis.MockReaderWrapper
MockTokenizer - Class in org.apache.lucene.analysis
  Tokenizer for testing.
MockTokenizer(AttributeSource.AttributeFactory, Reader, int, boolean, int) - Constructor for class org.apache.lucene.analysis.MockTokenizer
MockTokenizer(Reader, int, boolean, int) - Constructor for class org.apache.lucene.analysis.MockTokenizer
MockTokenizer(Reader, int, boolean) - Constructor for class org.apache.lucene.analysis.MockTokenizer
MockTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.MockTokenizer
  Calls `MockTokenizer(Reader, WHITESPACE, true)`
MockVariableLengthPayloadFilter - Class in org.apache.lucene.analysis
  TokenFilter that adds random variable-length payloads.
MockVariableLengthPayloadFilter(Random, TokenStream) - Constructor for class org.apache.lucene.analysis.MockVariableLengthPayloadFilter

## N

newDirectory() - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new Directory instance.
newDirectory(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new Directory instance, using the specified random.
newDirectory(Directory) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new Directory instance, with contents copied from the provided directory.
newDirectory(Random, Directory) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new Directory instance, using the specified random with contents copied from the provided directory.
newField(String, String, Field.Index) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new field instance.
newField(String, String, Field.Store, Field.Index) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new field instance.
newField(String, String, Field.Store, Field.Index, Field.TermVector) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new Field instance.
newField(Random, String, String, Field.Index) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new field instance, using the specified random.
newField(Random, String, String, Field.Store, Field.Index) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new field instance, using the specified random.
newField(Random, String, String, Field.Store, Field.Index, Field.TermVector) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new field instance, using the specified random.
newFromDelegate(IndexOutput) - Method in class org.apache.lucene.util.ThrottledIndexOutput
newFSDirectory(File) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new FSDirectory instance over the given file, which must be a folder.
newFSDirectory(File, LockFactory) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns a new FSDirectory instance over the given file, which must be a folder.
newIndexWriterConfig(Version, Analyzer) - Static method in class org.apache.lucene.util.LuceneTestCase
  create a new index writer config with random defaults
newIndexWriterConfig(Random, Version, Analyzer) - Static method in class org.apache.lucene.util.LuceneTestCase
  create a new index writer config with random defaults using the specified random
newInstance() - Method in class org.apache.lucene.util.RollingBuffer
newLogMergePolicy() - Static method in class org.apache.lucene.util.LuceneTestCase
newLogMergePolicy(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
newLogMergePolicy(boolean) - Static method in class org.apache.lucene.util.LuceneTestCase
newLogMergePolicy(boolean, int) - Static method in class org.apache.lucene.util.LuceneTestCase
newLogMergePolicy(int) - Static method in class org.apache.lucene.util.LuceneTestCase
newPosition() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
newPosition() - Method in class org.apache.lucene.analysis.MockGraphTokenFilter
newPosition() - Method in class org.apache.lucene.analysis.MockRandomLookaheadTokenFilter
newSearcher(IndexReader) - Static method in class org.apache.lucene.util.LuceneTestCase
  create a new searcher over the reader.
newSearcher(IndexReader, boolean) - Static method in class org.apache.lucene.util.LuceneTestCase
  create a new searcher over the reader.
newTieredMergePolicy() - Static method in class org.apache.lucene.util.LuceneTestCase
newTieredMergePolicy(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
next(int) - Method in class org.apache.lucene.util.SmartRandom
nextDoc() - Method in class org.apache.lucene.util.LineFileDocs
  Note: Document instance is re-used per-thread
nextInt(Random, int, int) - Static method in class org.apache.lucene.util._TestUtil
  start and end are BOTH inclusive
nextRead - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
nextState() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
nextToken() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
  Call this when you are done looking ahead; it will set the next token to return.
normalize(int) - Method in class org.apache.lucene.analysis.MockTokenizer
numDocs() - Method in class org.apache.lucene.index.RandomIndexWriter

## O

offsetAtt - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
openInput(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
org.apache.lucene.analysis - package org.apache.lucene.analysis
org.apache.lucene.index - package org.apache.lucene.index
org.apache.lucene.queryParser - package org.apache.lucene.queryParser
org.apache.lucene.search - package org.apache.lucene.search
org.apache.lucene.store - package org.apache.lucene.store
org.apache.lucene.util - package org.apache.lucene.util
out - Variable in class org.apache.lucene.analysis.TokenStreamToDot
outputPos - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter

## P

packCount - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
peekToken() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
  Returns true if there is a new token.
posIncAtt - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
positions - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
posLenAtt - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
purgeFieldCache(FieldCache) - Method in class org.apache.lucene.util.LuceneTestCase
  Forcible purges all cache entries from the FieldCache.

## Q

qpAnalyzer - Static variable in class org.apache.lucene.queryParser.QueryParserTestBase
QueryParserTestBase - Class in org.apache.lucene.queryParser
  Base Test class for QueryParser subclasses
QueryParserTestBase() - Constructor for class org.apache.lucene.queryParser.QueryParserTestBase
QueryParserTestBase.QPTestAnalyzer - Class in org.apache.lucene.queryParser
  Filters LowerCaseTokenizer with QPTestFilter.
QueryParserTestBase.QPTestAnalyzer() - Constructor for class org.apache.lucene.queryParser.QueryParserTestBase.QPTestAnalyzer
QueryParserTestBase.QPTestFilter - Class in org.apache.lucene.queryParser
  Filter which discards the token 'stop' and which expands the token 'phrase' into 'phrase1 phrase2'
QueryParserTestBase.QPTestFilter(TokenStream) - Constructor for class org.apache.lucene.queryParser.QueryParserTestBase.QPTestFilter
QueryParserTestBase.QPTestParser - Class in org.apache.lucene.queryParser
  Test QueryParser that does not allow fuzzy or wildcard queries.
QueryParserTestBase.QPTestParser(String, Analyzer) - Constructor for class org.apache.lucene.queryParser.QueryParserTestBase.QPTestParser
QueryUtils - Class in org.apache.lucene.search
  Utility class for sanity-checking queries.
QueryUtils() - Constructor for class org.apache.lucene.search.QueryUtils

## R

random - Static variable in class org.apache.lucene.util.LuceneTestCase
RANDOM_MULTIPLIER - Static variable in class org.apache.lucene.util.LuceneTestCase
  A random multiplier which you should use when writing random tests: multiply it by the number of iterations
randomDirectory(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
randomFilter() - Method in class org.apache.lucene.search.SearchEquivalenceTestBase
  Returns a random filter over the document set
randomFixedByteLengthUnicodeString(Random, int) - Static method in class org.apache.lucene.util._TestUtil
  Returns random string, with a given UTF-8 byte length
randomFixedLengthUnicodeString(Random, char[], int, int) - Static method in class org.apache.lucene.util._TestUtil
  Fills provided char[] with valid random unicode code unit sequence.
randomHtmlishString(Random, int) - Static method in class org.apache.lucene.util._TestUtil
RandomIndexWriter - Class in org.apache.lucene.index
  Silly class that randomizes the indexing experience.
RandomIndexWriter(Random, Directory) - Constructor for class org.apache.lucene.index.RandomIndexWriter
  create a RandomIndexWriter with a random config: Uses TEST_VERSION_CURRENT and Whitespace+LowercasingAnalyzer
RandomIndexWriter(Random, Directory, Analyzer) - Constructor for class org.apache.lucene.index.RandomIndexWriter
  create a RandomIndexWriter with a random config: Uses TEST_VERSION_CURRENT
RandomIndexWriter(Random, Directory, Version, Analyzer) - Constructor for class org.apache.lucene.index.RandomIndexWriter
  create a RandomIndexWriter with a random config
RandomIndexWriter(Random, Directory, IndexWriterConfig) - Constructor for class org.apache.lucene.index.RandomIndexWriter
  create a RandomIndexWriter with the provided config
randomLocale(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
  return a random Locale from the available locales on the system
randomlyRecaseCodePoints(Random, String) - Static method in class org.apache.lucene.util._TestUtil
  Randomly upcases, downcases, or leaves intact each code point in the given string
randomRealisticUnicodeString(Random) - Static method in class org.apache.lucene.util._TestUtil
  Returns random string of length between 0-20 codepoints, all codepoints within the same unicode block.
randomRealisticUnicodeString(Random, int) - Static method in class org.apache.lucene.util._TestUtil
  Returns random string of length up to maxLength codepoints , all codepoints within the same unicode block.
randomRealisticUnicodeString(Random, int, int) - Static method in class org.apache.lucene.util._TestUtil
  Returns random string of length between min and max codepoints, all codepoints within the same unicode block.
randomRegexpishString(Random) - Static method in class org.apache.lucene.util._TestUtil
  Returns a String thats "regexpish" (contains lots of operators typically found in regular expressions) If you call this enough times, you might get a valid regex!
randomRegexpishString(Random, int) - Static method in class org.apache.lucene.util._TestUtil
  Returns a String thats "regexpish" (contains lots of operators typically found in regular expressions) If you call this enough times, you might get a valid regex!
randomSimpleString(Random, int) - Static method in class org.apache.lucene.util._TestUtil
randomSimpleString(Random) - Static method in class org.apache.lucene.util._TestUtil
randomTerm() - Method in class org.apache.lucene.search.SearchEquivalenceTestBase
  returns a term suitable for searching.
randomTimeZone(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
  return a random TimeZone from the available timezones on the system
randomUnicodeString(Random) - Static method in class org.apache.lucene.util._TestUtil
  Returns random string, including full unicode range.
randomUnicodeString(Random, int) - Static method in class org.apache.lucene.util._TestUtil
  Returns a random string up to a certain length.
rarely(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
  Returns true if something should happen rarely,
rarely() - Static method in class org.apache.lucene.util.LuceneTestCase
read() - Method in class org.apache.lucene.analysis.MockCharFilter
read(char[], int, int) - Method in class org.apache.lucene.analysis.MockCharFilter
read(char[], int, int) - Method in class org.apache.lucene.analysis.MockReaderWrapper
readByte() - Method in class org.apache.lucene.store.MockIndexInputWrapper
readBytes(byte[], int, int) - Method in class org.apache.lucene.store.MockIndexInputWrapper
readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.store.MockIndexInputWrapper
readChars(char[], int, int) - Method in class org.apache.lucene.store.MockIndexInputWrapper
readCodePoint() - Method in class org.apache.lucene.analysis.MockTokenizer
reader - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
readInt() - Method in class org.apache.lucene.store.MockIndexInputWrapper
readInternal(byte[], int, int) - Method in class org.apache.lucene.index.MockIndexInput
readLong() - Method in class org.apache.lucene.store.MockIndexInputWrapper
readString() - Method in class org.apache.lucene.store.MockIndexInputWrapper
readStringStringMap() - Method in class org.apache.lucene.store.MockIndexInputWrapper
readVInt() - Method in class org.apache.lucene.store.MockIndexInputWrapper
readVLong() - Method in class org.apache.lucene.store.MockIndexInputWrapper
ready() - Method in class org.apache.lucene.analysis.MockReaderWrapper
reduceOpenFiles(IndexWriter) - Static method in class org.apache.lucene.util._TestUtil
  just tries to configure things to keep the open file count lowish
releaseSearcher(IndexSearcher) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
removeIndexInput(IndexInput, String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
removeIndexOutput(IndexOutput, String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
reportAdditionalFailureInfo() - Method in class org.apache.lucene.util.LuceneTestCase
reportPartialFailureInfo() - Static method in class org.apache.lucene.util.LuceneTestCase
reset() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
reset() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
reset() - Method in class org.apache.lucene.analysis.MockGraphTokenFilter
reset() - Method in class org.apache.lucene.analysis.MockHoleInjectingTokenFilter
reset() - Method in class org.apache.lucene.analysis.MockRandomLookaheadTokenFilter
reset() - Method in class org.apache.lucene.analysis.MockTokenizer
reset(Reader) - Method in class org.apache.lucene.analysis.MockTokenizer
reset() - Method in class org.apache.lucene.analysis.ValidatingTokenFilter
reset() - Method in class org.apache.lucene.store.MockDirectoryWrapper.Failure
  reset should set the state of the failure to its default (freshly constructed) state.
reset(Random) - Method in class org.apache.lucene.util.LineFileDocs
reset() - Method in class org.apache.lucene.util.RollingBuffer
reset() - Method in interface org.apache.lucene.util.RollingBuffer.Resettable
resetMaxUsedSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
Rethrow - Class in org.apache.lucene.util
  Sneaky: rethrowing checked exceptions as unchecked ones.
Rethrow() - Constructor for class org.apache.lucene.util.Rethrow
rethrow(Throwable) - Static method in class org.apache.lucene.util.Rethrow
  Rethrows `t` (identical object).
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.MockAnalyzer
rmDir(File) - Static method in class org.apache.lucene.util._TestUtil
  Deletes a directory and everything underneath it.
RollingBuffer<T extends RollingBuffer.Resettable> - Class in org.apache.lucene.util
  Acts like forever growing T[], but internally uses a circular buffer to reuse instances of T.
RollingBuffer() - Constructor for class org.apache.lucene.util.RollingBuffer
RollingBuffer.Resettable - Interface in org.apache.lucene.util
ruleChain - Variable in class org.apache.lucene.util.LuceneTestCase
  This controls how individual test rules are nested.
runChild(FrameworkMethod, RunNotifier) - Method in class org.apache.lucene.util.LuceneTestCaseRunner
runSearchThreads(long) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
runTest(String) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase

## S

s1 - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
s2 - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
SCORE_TOLERANCE_DELTA - Static variable in class org.apache.lucene.search.CheckHits.ExplanationAsserter
  Deprecated.
search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.CheckHits.ExplanationAssertingSearcher
search(Query, Collector) - Method in class org.apache.lucene.search.CheckHits.ExplanationAssertingSearcher
search(Query, Filter, Collector) - Method in class org.apache.lucene.search.CheckHits.ExplanationAssertingSearcher
search(Query, Filter, int) - Method in class org.apache.lucene.search.CheckHits.ExplanationAssertingSearcher
SearchEquivalenceTestBase - Class in org.apache.lucene.search
  Simple base class for checking search equivalence.
SearchEquivalenceTestBase() - Constructor for class org.apache.lucene.search.SearchEquivalenceTestBase
secondRangeBeginningOriginal - Variable in class org.apache.lucene.analysis.CollationTestBase
secondRangeEndOriginal - Variable in class org.apache.lucene.analysis.CollationTestBase
seek(long) - Method in class org.apache.lucene.store.MockIndexInputWrapper
seek(long) - Method in class org.apache.lucene.store.MockIndexOutputWrapper
seek(long) - Method in class org.apache.lucene.util.ThrottledIndexOutput
seekInternal(long) - Method in class org.apache.lucene.index.MockIndexInput
setAssertNoUnrefencedFilesOnClose(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
setCheckIndexOnClose(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Set whether or not checkindex should be run on close
setDoFail() - Method in class org.apache.lucene.store.MockDirectoryWrapper.Failure
setDoRandomForceMerge(boolean) - Method in class org.apache.lucene.index.RandomIndexWriter
setDoRandomForceMergeAssert(boolean) - Method in class org.apache.lucene.index.RandomIndexWriter
setEnableChecks(boolean) - Method in class org.apache.lucene.analysis.MockAnalyzer
  Toggle consumer workflow checking: if your test consumes tokenstreams normally you should leave this enabled.
setEnableChecks(boolean) - Method in class org.apache.lucene.analysis.MockTokenizer
  Toggle consumer workflow checking: if your test consumes tokenstreams normally you should leave this enabled.
setFailOnCreateOutput(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
setFailOnOpenInput(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
setLength(long) - Method in class org.apache.lucene.store.MockIndexOutputWrapper
setLength(long) - Method in class org.apache.lucene.util.ThrottledIndexOutput
setLockFactory(LockFactory) - Method in class org.apache.lucene.store.MockDirectoryWrapper
setLockPrefix(String) - Method in class org.apache.lucene.store.MockLockFactoryWrapper
setMaxSizeInBytes(long) - Method in class org.apache.lucene.store.MockDirectoryWrapper
setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.MockAnalyzer
  Toggle maxTokenLength for MockTokenizer
setMergeFactor(MergePolicy, int) - Static method in class org.apache.lucene.util.LuceneTestCase
setModifiedUTF8StringsMode() - Method in class org.apache.lucene.store.MockIndexInputWrapper
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.CheckHits.ExplanationAsserter
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.CheckHits.SetCollector
setNoDeleteOpenFile(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Emulate windows whereby deleting an open file is not allowed (raise IOException).
setOutput(OutputStream) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  Sets the stream the formatter is supposed to write its results to.
setParameters(Parameter[]) - Method in class org.apache.lucene.util.LuceneJUnitDividingSelector
setPositionIncrementGap(int) - Method in class org.apache.lucene.analysis.MockAnalyzer
setPreventDoubleWrite(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
  If set to true, we throw an IOException if the same file is opened by createOutput, ever.
setRandomIOExceptionRate(double) - Method in class org.apache.lucene.store.MockDirectoryWrapper
  If 0.0, no exceptions will be thrown.
setScorer(Scorer) - Method in class org.apache.lucene.search.CheckHits.ExplanationAsserter
setScorer(Scorer) - Method in class org.apache.lucene.search.CheckHits.SetCollector
setShouldHaveCache(boolean) - Method in class org.apache.lucene.search.CachingWrapperFilterHelper
setSystemError(String) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  .
setSystemOutput(String) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  .
setThrottling(MockDirectoryWrapper.Throttling) - Method in class org.apache.lucene.store.MockDirectoryWrapper
setTrackDiskUsage(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
setUp() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
setUp() - Method in class org.apache.lucene.util.LuceneTestCase
  For subclassing only.
setUseCompoundFile(MergePolicy, boolean) - Static method in class org.apache.lucene.util._TestUtil
setUseCompoundFile(MergePolicy, boolean) - Static method in class org.apache.lucene.util.LuceneTestCase
SIMPLE - Static variable in class org.apache.lucene.analysis.MockTokenizer
  Acts like LetterTokenizer.
sizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
skipChars(int) - Method in class org.apache.lucene.store.MockIndexInputWrapper
SlowMultiReaderWrapper - Class in org.apache.lucene.index
  Acts like Lucene 4.x's SlowMultiReaderWrapper for testing of top-level MultiTermEnum, MultiTermDocs, ...
SlowMultiReaderWrapper(IndexReader) - Constructor for class org.apache.lucene.index.SlowMultiReaderWrapper
SmartRandom - Class in org.apache.lucene.util
  A random that tracks if its been initialized properly, and throws an exception if it hasn't.
smokeTestSearcher(IndexSearcher) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
startOffset - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
startTest(Test) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  A test started.
startTestSuite(JUnitTest) - Method in class org.apache.lucene.util.LuceneJUnitResultFormatter
  The whole testsuite started.
stopword - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
StoreClassNameRule - Class in org.apache.lucene.util
StoreClassNameRule() - Constructor for class org.apache.lucene.util.StoreClassNameRule
stores - Static variable in class org.apache.lucene.util.LuceneTestCase
stringToCharSequence(String, Random) - Static method in class org.apache.lucene.util._TestUtil
sync(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Deprecated.
sync(Collection<String>) - Method in class org.apache.lucene.store.MockDirectoryWrapper
syncConcurrentMerges(IndexWriter) - Static method in class org.apache.lucene.util._TestUtil
syncConcurrentMerges(MergeScheduler) - Static method in class org.apache.lucene.util._TestUtil
SystemPropertiesInvariantRule - Class in org.apache.lucene.util
SystemPropertiesInvariantRule() - Constructor for class org.apache.lucene.util.SystemPropertiesInvariantRule
  Cares about all properties.
SystemPropertiesInvariantRule(String...) - Constructor for class org.apache.lucene.util.SystemPropertiesInvariantRule
  Don't care about the given set of properties.
SystemPropertiesInvariantRule(Set<String>) - Constructor for class org.apache.lucene.util.SystemPropertiesInvariantRule
  Don't care about the given set of properties.
SystemPropertiesRestoreRule - Class in org.apache.lucene.util
  Restore system properties from before the nested `Statement`.
SystemPropertiesRestoreRule() - Constructor for class org.apache.lucene.util.SystemPropertiesRestoreRule
  Restores all properties.
SystemPropertiesRestoreRule(Set<String>) - Constructor for class org.apache.lucene.util.SystemPropertiesRestoreRule
SystemPropertiesRestoreRule(String...) - Constructor for class org.apache.lucene.util.SystemPropertiesRestoreRule

## T

tearDown() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
tearDown() - Method in class org.apache.lucene.util.LuceneTestCase
  For subclassing only.
TEMP_DIR - Static variable in class org.apache.lucene.util.LuceneTestCase
  Create indexes in this directory, optimally use a subdir, named after the test
TEST_CLEAN_THREADS - Static variable in class org.apache.lucene.util.LuceneTestCase
  whether or not to clean threads between test invocations: "false", "perMethod", "perClass"
TEST_DIRECTORY - Static variable in class org.apache.lucene.util.LuceneTestCase
  Gets the directory to run tests with
TEST_ITER - Static variable in class org.apache.lucene.util.LuceneTestCase
  Get the number of times to run tests
TEST_ITER_MIN - Static variable in class org.apache.lucene.util.LuceneTestCase
  Get the minimum number of times to run tests until a failure happens
TEST_LINE_DOCS_FILE - Static variable in class org.apache.lucene.util.LuceneTestCase
  the line file used by LineFileDocs
TEST_LOCALE - Static variable in class org.apache.lucene.util.LuceneTestCase
  Gets the locale to run tests with
TEST_NIGHTLY - Static variable in class org.apache.lucene.util.LuceneTestCase
  whether or not nightly tests should run
TEST_SEED - Static variable in class org.apache.lucene.util.LuceneTestCase
  Get the random seed for tests
TEST_TIMEZONE - Static variable in class org.apache.lucene.util.LuceneTestCase
  Gets the timezone to run tests with
TEST_VERSION_CURRENT - Static variable in class org.apache.lucene.util.LuceneTestCase
  Use this constant when creating Analyzers and any other version-dependent stuff.
testAutoGeneratePhraseQueriesOn() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testBooleanQuery() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testBoost() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCJK() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCJKBoostedPhrase() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCJKBoostedTerm() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCJKPhrase() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCJKSloppyPhrase() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCJKTerm() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCollationKeySort(Analyzer, Analyzer, Analyzer, Analyzer, String, String, String, String) - Method in class org.apache.lucene.analysis.CollationTestBase
testCustomQueryParserFuzzy() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testCustomQueryParserWildcard() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testDateRange() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testEscaped() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testException() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testFarsiRangeCollating() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testFarsiRangeFilterCollating(Analyzer, String, String, String, String) - Method in class org.apache.lucene.analysis.CollationTestBase
testFarsiRangeQueryCollating(Analyzer, String, String, String, String) - Method in class org.apache.lucene.analysis.CollationTestBase
testFarsiTermRangeQuery(Analyzer, String, String, String, String) - Method in class org.apache.lucene.analysis.CollationTestBase
testLeadingWildcardType() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testLegacyDateRange() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
  for testing legacy DateField support
testLocalDateFormat() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testMatchAllDocs() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testNumber() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testPositionIncrement() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testPositionIncrements() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testPrecedence() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
  This test differs from TestPrecedenceQueryParser
testProtectedCtors() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testPunct() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testQPA() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testQueryStringEscaping() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testRange() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testsFailed - Static variable in class org.apache.lucene.util.LuceneTestCase
testSimple() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testSimpleDAO() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testSlop() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testStarParsing() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testStopwords() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testTabNewlineCarriageReturn() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
testWildcard() - Method in class org.apache.lucene.queryParser.QueryParserTestBase
thread - Variable in class org.apache.lucene.util.UncaughtExceptionsRule.UncaughtExceptionEntry
ThreadedIndexingAndSearchingTestCase - Class in org.apache.lucene.index
  Utility class that spawns multiple indexing and searching threads.
ThreadedIndexingAndSearchingTestCase() - Constructor for class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
ThrottledIndexOutput - Class in org.apache.lucene.util
  Intentionally slow IndexOutput for testing.
ThrottledIndexOutput(int, long, IndexOutput) - Constructor for class org.apache.lucene.util.ThrottledIndexOutput
ThrottledIndexOutput(int, long, int, IndexOutput) - Constructor for class org.apache.lucene.util.ThrottledIndexOutput
ThrottledIndexOutput(int, long, long, long, long, IndexOutput) - Constructor for class org.apache.lucene.util.ThrottledIndexOutput
throwExcAfterChar(int) - Method in class org.apache.lucene.analysis.MockReaderWrapper
  Throw an exception after reading this many chars.
throwExcNext() - Method in class org.apache.lucene.analysis.MockReaderWrapper
toDot(Analyzer, String) - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
toDot() - Method in class org.apache.lucene.analysis.TokenStreamToDot
toDotFile(Analyzer, String, String) - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.MockAnalyzer
tokenStream(String, Reader) - Method in class org.apache.lucene.queryParser.QueryParserTestBase.QPTestAnalyzer
TokenStreamToDot - Class in org.apache.lucene.analysis
  Consumes a TokenStream and outputs the dot (graphviz) string (graph).
TokenStreamToDot(String, TokenStream, PrintWriter) - Constructor for class org.apache.lucene.analysis.TokenStreamToDot
  If inputText is non-null, and the TokenStream has offsets, we include the surface form in each arc's label.
topdocsString(TopDocs, int, int) - Static method in class org.apache.lucene.search.CheckHits
toString() - Method in class org.apache.lucene.index.SlowMultiReaderWrapper
toString() - Method in class org.apache.lucene.search.CachingWrapperFilterHelper
toString() - Method in class org.apache.lucene.store.MockDirectoryWrapper
toString() - Method in class org.apache.lucene.store.MockLockFactoryWrapper
touchFile(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
  Deprecated.

## U

UncaughtExceptionsRule - Class in org.apache.lucene.util
  Subscribes to `Thread.setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler)` and causes test/ suite failures if uncaught exceptions are detected.
UncaughtExceptionsRule(LuceneTestCase) - Constructor for class org.apache.lucene.util.UncaughtExceptionsRule
UncaughtExceptionsRule.UncaughtExceptionEntry - Class in org.apache.lucene.util
UncaughtExceptionsRule.UncaughtExceptionEntry(Thread, Throwable) - Constructor for class org.apache.lucene.util.UncaughtExceptionsRule.UncaughtExceptionEntry
unzip(File, File) - Static method in class org.apache.lucene.util._TestUtil
  Convenience method: Unzip zipName + ".zip" under destDir, removing destDir first
updateDocument(Term, Document) - Method in class org.apache.lucene.index.RandomIndexWriter
  Updates a document.
updateDocument(Term, Document) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
updateDocuments(Term, Collection<Document>) - Method in class org.apache.lucene.index.RandomIndexWriter
updateDocuments(Term, Collection<Document>) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
useCompoundFile(SegmentInfos, SegmentInfo) - Method in class org.apache.lucene.index.MockRandomMergePolicy
usually(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
usually() - Static method in class org.apache.lucene.util.LuceneTestCase

## V

ValidatingTokenFilter - Class in org.apache.lucene.analysis
  A TokenFilter that checks consistency of the tokens (eg offsets are consistent with one another).
ValidatingTokenFilter(TokenStream, String, boolean) - Constructor for class org.apache.lucene.analysis.ValidatingTokenFilter
  The name arg is used to identify this stage when throwing exceptions (useful if you have more than one instance in your chain).
valueOf(String) - Static method in enum org.apache.lucene.store.MockDirectoryWrapper.Throttling
  Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.lucene.store.MockDirectoryWrapper.Throttling
  Returns an array containing the constants of this enum type, in the order they're declared.
VERBOSE - Static variable in class org.apache.lucene.util.LuceneTestCase
  true iff tests are run in verbose mode.
verifyExplanation(String, int, float, boolean, Explanation) - Static method in class org.apache.lucene.search.CheckHits
  Assert that an explanation has the expected score, and optionally that its sub-details max/sum/factor match to that score.
verifySettings() - Method in class org.apache.lucene.util.LuceneJUnitDividingSelector
VocabularyAssert - Class in org.apache.lucene.analysis
  Utility class for doing vocabulary-based stemming tests
VocabularyAssert() - Constructor for class org.apache.lucene.analysis.VocabularyAssert

## W

w - Variable in class org.apache.lucene.index.RandomIndexWriter
WHITESPACE - Static variable in class org.apache.lucene.analysis.MockTokenizer
  Acts Similar to WhitespaceTokenizer
wrapSearcher(Random, Searcher, int) - Static method in class org.apache.lucene.search.QueryUtils
  Given a Searcher, returns a new MultiSearcher wrapping the the original Searcher, as well as several "empty" IndexSearchers -- some of which will have deleted documents in them.
wrapUnderlyingReader(Random, IndexSearcher, int) - Static method in class org.apache.lucene.search.QueryUtils
  Given an IndexSearcher, returns a new IndexSearcher whose IndexReader is a MultiReader containing the Reader of the original IndexSearcher, as well as several "empty" IndexReaders -- some of which will have deleted documents in them.
writeArc(int, int, String, String) - Method in class org.apache.lucene.analysis.TokenStreamToDot
writeByte(byte) - Method in class org.apache.lucene.store.MockIndexOutputWrapper
writeByte(byte) - Method in class org.apache.lucene.util.ThrottledIndexOutput
writeBytes(byte[], int, int) - Method in class org.apache.lucene.store.MockIndexOutputWrapper
writeBytes(byte[], int, int) - Method in class org.apache.lucene.util.ThrottledIndexOutput
writeHeader() - Method in class org.apache.lucene.analysis.TokenStreamToDot
  Override to customize.
writeNode(int, String) - Method in class org.apache.lucene.analysis.TokenStreamToDot
writer - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
writeTrailer() - Method in class org.apache.lucene.analysis.TokenStreamToDot
  Override to customize.

## _

_TestHelper - Class in org.apache.lucene.store
  This class provides access to package-level features defined in the store package.
_TestHelper() - Constructor for class org.apache.lucene.store._TestHelper
_TestUtil - Class in org.apache.lucene.util
  General utility methods for Lucene unit tests.
_TestUtil() - Constructor for class org.apache.lucene.util._TestUtil

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