- 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.
- 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
This analyzer is a replacement for Whitespace/Simple/KeywordAnalyzers
for unit tests.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.