- acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.CheckHits.ExplanationAsserter
-
- acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.CheckHits.SetCollector
-
- acquire() - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- acquire(long[]) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- add(AttributeSource.State) - Method in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
-
- addCount - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
-
- addDocument(Iterable<T>) - Method in class org.apache.lucene.index.RandomIndexWriter
-
Adds a Document.
- addDocument(Iterable<T>, Analyzer) - Method in class org.apache.lucene.index.RandomIndexWriter
-
- addDocument(Term, Iterable<? extends IndexableField>) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
-
- addDocuments(Iterable<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.index.RandomIndexWriter
-
- addDocuments(Term, List<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
-
- 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
-
- 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
-
- AlcoholicMergePolicy - Class in org.apache.lucene.index
-
Merge policy for testing, it is like an alcoholic.
- AlcoholicMergePolicy(TimeZone, Random) - Constructor for class org.apache.lucene.index.AlcoholicMergePolicy
-
- alwaysPostingsFormat(PostingsFormat) - Static method in class org.apache.lucene.util._TestUtil
-
Return a Codec that can read any of the
default codecs and formats, but always writes in the specified
format.
- analyzer - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
-
- anyFilesExceptWriteLock(Directory) - Static method in class org.apache.lucene.util._TestUtil
-
- apply(Statement, Description) - Method in class org.apache.lucene.util.TestRuleAssertionsRequired
-
- apply(Statement, Description) - Method in class org.apache.lucene.util.TestRuleFieldCacheSanity
-
- apply(Statement, Description) - Method in class org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures
-
- apply(Statement, Description) - Method in class org.apache.lucene.util.TestRuleIgnoreTestSuites
-
- apply(Statement, Description) - Method in class org.apache.lucene.util.TestRuleMarkFailure
-
- apply(Statement, Description) - Method in class org.apache.lucene.util.TestRuleStoreClassName
-
- 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
- assertEquals(TopDocs, TopDocs) - Static method in class org.apache.lucene.util._TestUtil
-
- AssertingAtomicReader - Class in org.apache.lucene.index
-
- AssertingAtomicReader(AtomicReader) - Constructor for class org.apache.lucene.index.AssertingAtomicReader
-
- AssertingAtomicReader.AssertingFields - Class in org.apache.lucene.index
-
Wraps a Fields but with additional asserts
- AssertingAtomicReader.AssertingFields(Fields) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingFields
-
- AssertingAtomicReader.AssertingTerms - Class in org.apache.lucene.index
-
Wraps a Terms but with additional asserts
- AssertingAtomicReader.AssertingTerms(Terms) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingTerms
-
- AssertingCodec - Class in org.apache.lucene.codecs.asserting
-
- AssertingCodec() - Constructor for class org.apache.lucene.codecs.asserting.AssertingCodec
-
- AssertingDirectoryReader - Class in org.apache.lucene.index
-
- AssertingDirectoryReader(DirectoryReader) - Constructor for class org.apache.lucene.index.AssertingDirectoryReader
-
- AssertingIndexSearcher - Class in org.apache.lucene.search
-
Helper class that adds some extra checks to ensure correct
usage of IndexSearcher
and Weight
.
- AssertingIndexSearcher(Random, IndexReader) - Constructor for class org.apache.lucene.search.AssertingIndexSearcher
-
- AssertingIndexSearcher(Random, IndexReaderContext) - Constructor for class org.apache.lucene.search.AssertingIndexSearcher
-
- AssertingIndexSearcher(Random, IndexReader, ExecutorService) - Constructor for class org.apache.lucene.search.AssertingIndexSearcher
-
- AssertingIndexSearcher(Random, IndexReaderContext, ExecutorService) - Constructor for class org.apache.lucene.search.AssertingIndexSearcher
-
- AssertingPostingsFormat - Class in org.apache.lucene.codecs.asserting
-
- AssertingPostingsFormat() - Constructor for class org.apache.lucene.codecs.asserting.AssertingPostingsFormat
-
- AssertingTermVectorsFormat - Class in org.apache.lucene.codecs.asserting
-
- AssertingTermVectorsFormat() - Constructor for class org.apache.lucene.codecs.asserting.AssertingTermVectorsFormat
-
- assertMergedSegmentsWarmed - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
-
- assertNoDetachedStates(Automaton) - Static method in class org.apache.lucene.util.automaton.AutomatonTestUtil
-
Checks that an automaton has no detached states that are unreachable
from the initial state.
- 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) - Static 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
- asSet(T...) - Static method in class org.apache.lucene.util.LuceneTestCase
-
Return
args
as a
Set
instance.
- 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
-
- AutomatonTestUtil - Class in org.apache.lucene.util.automaton
-
Utilities for testing automata.
- AutomatonTestUtil() - Constructor for class org.apache.lucene.util.automaton.AutomatonTestUtil
-
- AutomatonTestUtil.RandomAcceptedStrings - Class in org.apache.lucene.util.automaton
-
Lets you retrieve random strings accepted
by an Automaton.
- AutomatonTestUtil.RandomAcceptedStrings(Automaton) - Constructor for class org.apache.lucene.util.automaton.AutomatonTestUtil.RandomAcceptedStrings
-
- 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, IndexSearcher) - 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, IndexSearcher, 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
-
- checkExit(int) - Method in class org.apache.lucene.util.TestSecurityManager
- checkExplanations(Query, String, IndexSearcher) - 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, IndexSearcher, 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, IndexSearcher) - Static method in class org.apache.lucene.search.QueryUtils
-
deep check that explanations of a query 'score' correctly
- checkFirstSkipTo(Query, IndexSearcher) - Static method in class org.apache.lucene.search.QueryUtils
-
check that first skip on just created scorers always goes to the right doc
- checkHashEquals(Query) - Static method in class org.apache.lucene.search.QueryUtils
-
check very basic hashCode and equals
- checkHitCollector(Random, Query, String, IndexSearcher, 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, IndexSearcher, 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, IndexSearcher) - Constructor for class org.apache.lucene.search.CheckHits.ExplanationAsserter
-
Constructs an instance which does shallow tests on the Explanation
- CheckHits.ExplanationAsserter(Query, String, IndexSearcher, 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.
- checkIndex(Directory, boolean) - Static method in class org.apache.lucene.util._TestUtil
-
- checkNoMatchExplanations(Query, String, IndexSearcher, 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.BaseDirectoryWrapper
-
- 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.MockReaderWrapper
-
- close() - Method in class org.apache.lucene.analysis.MockTokenizer
-
- close() - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexInput
-
- close() - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexOutput
-
- 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.search.ShardSearchingTestBase.NodeState
-
- close() - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- 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.FailOnNonBulkMergesInfoStream
-
- close() - Method in class org.apache.lucene.util.LineFileDocs
-
- close() - Method in class org.apache.lucene.util.NullInfoStream
-
- close() - Method in class org.apache.lucene.util.ThrottledIndexOutput
-
- closeAfterSuite(T) - Static method in class org.apache.lucene.util.LuceneTestCase
-
Registers a
Closeable
resource that should be closed after the suite
completes.
- closeAfterTest(T) - Method in class org.apache.lucene.util.LuceneTestCase
-
Registers a
Closeable
resource that should be closed after the test
completes.
- 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
-
- collectionStatistics(String) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- commit() - Method in class org.apache.lucene.index.RandomIndexWriter
-
- coord(int, int) - Method in class org.apache.lucene.search.RandomSimilarityProvider
-
- copy(Directory, String, String, IOContext) - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- copy(Directory, String, String, IOContext) - Method in class org.apache.lucene.store.MockDirectoryWrapper
-
- 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
-
- correct(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.
- createAttributeInstance(Class<? extends Attribute>) - Method in class org.apache.lucene.analysis.MockBytesAttributeFactory
-
- createComponents(String, Reader) - Method in class org.apache.lucene.analysis.MockAnalyzer
-
- createComponents(String, Reader) - Method in class org.apache.lucene.analysis.MockBytesAnalyzer
-
- createComponents(String, Reader) - Method in class org.apache.lucene.analysis.MockPayloadAnalyzer
-
- 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(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat.MockIntFactory
-
- createOutput(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat.MockIntFactory
-
- createOutput(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntFactory
-
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.MockDirectoryWrapper
-
- createSlicer(String, IOContext) - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- createSlicer(String, IOContext) - 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.
- currentNodeVersions - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- makeLock(String) - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- makeLock(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
-
- makeLock(String) - Method in class org.apache.lucene.store.MockLockFactoryWrapper
-
- markFailed() - Method in class org.apache.lucene.util.TestRuleMarkFailure
-
Taints this object and any chained as having failures.
- markSupported() - Method in class org.apache.lucene.analysis.MockReaderWrapper
-
- maxDoc() - Method in class org.apache.lucene.index.RandomIndexWriter
-
- maybeWrapReader(IndexReader) - Static method in class org.apache.lucene.util.LuceneTestCase
-
Sometimes wrap the IndexReader as slow, parallel or filter reader (or
combinations of that)
- mBitsToBytes(int) - Static method in class org.apache.lucene.util.ThrottledIndexOutput
-
- message(String, String) - Method in class org.apache.lucene.util.FailOnNonBulkMergesInfoStream
-
- message(String, String) - Method in class org.apache.lucene.util.NullInfoStream
-
- mgr - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- minimizeSimple(Automaton) - Static method in class org.apache.lucene.util.automaton.AutomatonTestUtil
-
Simple, original brics implementation of Brzozowski minimize()
- MINUTE - Static variable in class org.apache.lucene.util.TimeUnits
-
1 minute in milliseconds
- MockAnalyzer - Class in org.apache.lucene.analysis
-
Analyzer for testing
- MockAnalyzer(Random, CharacterRunAutomaton, boolean, CharacterRunAutomaton, boolean) - Constructor for class org.apache.lucene.analysis.MockAnalyzer
-
Creates a new MockAnalyzer.
- MockAnalyzer(Random, CharacterRunAutomaton, 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.
- MockBytesAnalyzer - Class in org.apache.lucene.analysis
-
Analyzer for testing that encodes terms as UTF-16 bytes.
- MockBytesAnalyzer() - Constructor for class org.apache.lucene.analysis.MockBytesAnalyzer
-
- MockBytesAttributeFactory - Class in org.apache.lucene.analysis
-
- MockBytesAttributeFactory() - Constructor for class org.apache.lucene.analysis.MockBytesAttributeFactory
-
- 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
-
Enum for controlling hard disk throttling.
- MockFixedIntBlockPostingsFormat - Class in org.apache.lucene.codecs.mockintblock
-
A silly test codec to verify core support for fixed
sized int block encoders is working.
- MockFixedIntBlockPostingsFormat() - Constructor for class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat
-
- MockFixedIntBlockPostingsFormat(int) - Constructor for class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat
-
- MockFixedIntBlockPostingsFormat.MockIntFactory - Class in org.apache.lucene.codecs.mockintblock
-
Encodes blocks as vInts of a fixed block size.
- MockFixedIntBlockPostingsFormat.MockIntFactory(int) - Constructor for class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat.MockIntFactory
-
- 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
-
Randomly injects holes (similar to what a stopfilter would do)
- 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
-
- MockPayloadAnalyzer - Class in org.apache.lucene.analysis
-
Wraps a whitespace tokenizer with a filter that sets
the first token, and odd tokens to posinc=1, and all others
to 0, encoding the position as pos: XXX in the payload.
- MockPayloadAnalyzer() - Constructor for class org.apache.lucene.analysis.MockPayloadAnalyzer
-
- 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
-
- MockRandomPostingsFormat - Class in org.apache.lucene.codecs.mockrandom
-
Randomly combines terms index impl w/ postings impls.
- MockRandomPostingsFormat() - Constructor for class org.apache.lucene.codecs.mockrandom.MockRandomPostingsFormat
-
- MockRandomPostingsFormat(Random) - Constructor for class org.apache.lucene.codecs.mockrandom.MockRandomPostingsFormat
-
- 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
-
- MockSepDocValuesFormat - Class in org.apache.lucene.codecs.mocksep
-
Separate-file docvalues implementation
- MockSepDocValuesFormat() - Constructor for class org.apache.lucene.codecs.mocksep.MockSepDocValuesFormat
-
- MockSepPostingsFormat - Class in org.apache.lucene.codecs.mocksep
-
A silly codec that simply writes each file separately as
single vInts.
- MockSepPostingsFormat() - Constructor for class org.apache.lucene.codecs.mocksep.MockSepPostingsFormat
-
- MockSingleIntFactory - Class in org.apache.lucene.codecs.mocksep
-
- MockSingleIntFactory() - Constructor for class org.apache.lucene.codecs.mocksep.MockSingleIntFactory
-
- MockSingleIntIndexInput - Class in org.apache.lucene.codecs.mocksep
-
- MockSingleIntIndexInput(Directory, String, IOContext) - Constructor for class org.apache.lucene.codecs.mocksep.MockSingleIntIndexInput
-
- MockSingleIntIndexInput.Reader - Class in org.apache.lucene.codecs.mocksep
-
Just reads a vInt directly from the file.
- MockSingleIntIndexInput.Reader(IndexInput) - Constructor for class org.apache.lucene.codecs.mocksep.MockSingleIntIndexInput.Reader
-
- MockSingleIntIndexOutput - Class in org.apache.lucene.codecs.mocksep
-
Writes ints directly to the file (not in blocks) as
vInt.
- MockSingleIntIndexOutput(Directory, String, IOContext) - Constructor for class org.apache.lucene.codecs.mocksep.MockSingleIntIndexOutput
-
- MockTokenFilter - Class in org.apache.lucene.analysis
-
A tokenfilter for testing that removes terms accepted by a DFA.
- MockTokenFilter(TokenStream, CharacterRunAutomaton) - Constructor for class org.apache.lucene.analysis.MockTokenFilter
-
Create a new MockTokenFilter.
- MockTokenizer - Class in org.apache.lucene.analysis
-
Tokenizer for testing.
- MockTokenizer(AttributeSource.AttributeFactory, Reader, CharacterRunAutomaton, boolean, int) - Constructor for class org.apache.lucene.analysis.MockTokenizer
-
- MockTokenizer(Reader, CharacterRunAutomaton, boolean, int) - Constructor for class org.apache.lucene.analysis.MockTokenizer
-
- MockTokenizer(Reader, CharacterRunAutomaton, boolean) - Constructor for class org.apache.lucene.analysis.MockTokenizer
-
- MockTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.MockTokenizer
-
- MockUTF16TermAttributeImpl - Class in org.apache.lucene.analysis
-
- MockUTF16TermAttributeImpl() - Constructor for class org.apache.lucene.analysis.MockUTF16TermAttributeImpl
-
- MockVariableIntBlockPostingsFormat - Class in org.apache.lucene.codecs.mockintblock
-
A silly test codec to verify core support for variable
sized int block encoders is working.
- MockVariableIntBlockPostingsFormat() - Constructor for class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat
-
- MockVariableIntBlockPostingsFormat(int) - Constructor for class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat
-
- MockVariableIntBlockPostingsFormat.MockIntFactory - Class in org.apache.lucene.codecs.mockintblock
-
If the first value is <= 3, writes baseBlockSize vInts at once,
otherwise writes 2*baseBlockSize vInts.
- MockVariableIntBlockPostingsFormat.MockIntFactory(int) - Constructor for class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat.MockIntFactory
-
- 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
-
- myNodeID - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- myNodeID - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- NestedPulsingPostingsFormat - Class in org.apache.lucene.codecs.nestedpulsing
-
Pulsing(1, Pulsing(2, Lucene40))
- NestedPulsingPostingsFormat() - Constructor for class org.apache.lucene.codecs.nestedpulsing.NestedPulsingPostingsFormat
-
- newAlcoholicMergePolicy() - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newAlcoholicMergePolicy(Random, TimeZone) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- 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, FieldType) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newField(Random, String, String, FieldType) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- 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
-
- newIOContext(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
-
TODO: javadoc
- newIOContext(Random, IOContext) - Static method in class org.apache.lucene.util.LuceneTestCase
-
TODO: javadoc
- 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
-
- newMockDirectory() - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newMockDirectory(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newMockFSDirectory(File) - 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.
- newStringField(String, String, Field.Store) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newStringField(Random, String, String, Field.Store) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newTextField(String, String, Field.Store) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newTextField(Random, String, String, Field.Store) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newTieredMergePolicy() - Static method in class org.apache.lucene.util.LuceneTestCase
-
- newTieredMergePolicy(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
-
- next() - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexInput.Reader
-
Reads next single int
- 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
- nextLong(Random, long, long) - 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.
- nodes - Variable in class org.apache.lucene.search.ShardSearchingTestBase
-
- nodeVersions - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- normalize(int) - Method in class org.apache.lucene.analysis.MockTokenizer
-
- normsFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
-
- normValues(String) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
-
- NullInfoStream - Class in org.apache.lucene.util
-
Prints nothing.
- NullInfoStream() - Constructor for class org.apache.lucene.util.NullInfoStream
-
- numDocs() - Method in class org.apache.lucene.index.RandomIndexWriter
-
- RAMOnlyPostingsFormat - Class in org.apache.lucene.codecs.ramonly
-
Stores all postings data in RAM, but writes a small
token (header + single int) to identify which "slot" the
index is using in RAM HashMap.
- RAMOnlyPostingsFormat() - Constructor for class org.apache.lucene.codecs.ramonly.RAMOnlyPostingsFormat
-
- random() - Static method in class org.apache.lucene.util.LuceneTestCase
-
Access to the current RandomizedContext
's Random instance.
- 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 to scale your tests (for nightly builds).
- randomAutomaton(Random) - Static method in class org.apache.lucene.util.automaton.AutomatonTestUtil
-
return a random NFA/DFA for testing
- RandomCodec - Class in org.apache.lucene.index
-
Codec that assigns per-field random postings formats.
- RandomCodec(Random, Set<String>) - Constructor for class org.apache.lucene.index.RandomCodec
-
- RandomCodec(Random) - Constructor for class org.apache.lucene.index.RandomCodec
-
- 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 MockAnalyzer
- 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
- randomPattern(Random) - Static method in class org.apache.lucene.util._TestUtil
-
Returns a valid (compiling) Pattern instance with random stuff inside.
- 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.
- randomRegexp(Random) - Static method in class org.apache.lucene.util.automaton.AutomatonTestUtil
-
Returns random string, including full unicode range.
- 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!
- RandomSimilarityProvider - Class in org.apache.lucene.search
-
Similarity implementation that randomizes Similarity implementations
per-field.
- RandomSimilarityProvider(Random) - Constructor for class org.apache.lucene.search.RandomSimilarityProvider
-
- randomSimpleString(Random, int) - Static method in class org.apache.lucene.util._TestUtil
-
- randomSimpleString(Random) - Static method in class org.apache.lucene.util._TestUtil
-
- randomSimpleStringRange(Random, char, char, int) - 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.
- randomWhitespace(Random, int, int) - Static method in class org.apache.lucene.util._TestUtil
-
Returns a random string in the specified length range consisting
entirely of whitespace characters
- 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
-
- readChar() - Method in class org.apache.lucene.analysis.MockTokenizer
-
- readCodePoint() - Method in class org.apache.lucene.analysis.MockTokenizer
-
- reader() - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexInput
-
- 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
-
- readShort() - 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
- reject(Thread) - Method in class org.apache.lucene.util.QuickPatchThreadsFilter
-
- release(ShardSearchingTestBase.NodeState.ShardIndexSearcher) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- 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
-
- reopen() - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- 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() - 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
-
- resetSkip() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWSkipListWriter
-
- 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).
- rewrite(Query) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- 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
-
Implement to reset an instance
- ruleChain - Variable in class org.apache.lucene.util.LuceneTestCase
-
This controls how individual test rules are nested.
- RunListenerPrintReproduceInfo - Class in org.apache.lucene.util
-
A suite listener printing a "reproduce string".
- RunListenerPrintReproduceInfo() - Constructor for class org.apache.lucene.util.RunListenerPrintReproduceInfo
-
- 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
-
- 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
-
- search(Query, int) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- search(Query, int, Sort) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- searchAfter(ScoreDoc, Query, int) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- SearchEquivalenceTestBase - Class in org.apache.lucene.search
-
Simple base class for checking search equivalence.
- SearchEquivalenceTestBase() - Constructor for class org.apache.lucene.search.SearchEquivalenceTestBase
-
- searcher - Variable in class org.apache.lucene.search.ShardSearchingTestBase.SearcherAndVersion
-
- searchers - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- SECOND - Static variable in class org.apache.lucene.util.TimeUnits
-
1 second in milliseconds
- 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
-
- segmentInfoFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
-
- setAssertNoUnrefencedFilesOnClose(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
-
- setCheckIndexOnClose(boolean) - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
Set whether or not checkindex should be run
on close
- setCrossCheckTermVectorsOnClose(boolean) - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- 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.
- setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.analysis.MockTokenFilter
-
If true
, this Filter will preserve
positions of the incoming tokens (ie, accumulate and
set position increments of the removed stop tokens).
- 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.BaseDirectoryWrapper
-
- 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
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.CheckHits.ExplanationAsserter
-
- setNextReader(AtomicReaderContext) - 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).
- 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
-
- setSkipData(int, boolean, int) - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWSkipListWriter
-
Sets the values for the current skip data.
- 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.util.LuceneTestCase
-
For subclasses to override.
- setUseCompoundFile(MergePolicy, boolean) - Static method in class org.apache.lucene.util._TestUtil
-
- setWrapLockFactory(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
-
Set to false if you want to return the pure lockfactory
and not wrap it with MockLockFactoryWrapper.
- ShardSearchingTestBase - Class in org.apache.lucene.search
-
Base test class for simulating distributed search across multiple shards.
- ShardSearchingTestBase() - Constructor for class org.apache.lucene.search.ShardSearchingTestBase
-
- ShardSearchingTestBase.NodeState - Class in org.apache.lucene.search
-
- ShardSearchingTestBase.NodeState(Random, int, int) - Constructor for class org.apache.lucene.search.ShardSearchingTestBase.NodeState
-
- ShardSearchingTestBase.NodeState.ShardIndexSearcher - Class in org.apache.lucene.search
-
Matches docs in the local shard but scores based on
aggregated stats ("mock distributed scoring") from all
nodes.
- ShardSearchingTestBase.NodeState.ShardIndexSearcher(long[], IndexReader, int) - Constructor for class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- ShardSearchingTestBase.SearcherAndVersion - Class in org.apache.lucene.search
-
An IndexSearcher and associated version (lease)
- ShardSearchingTestBase.SearcherAndVersion(IndexSearcher, long) - Constructor for class org.apache.lucene.search.ShardSearchingTestBase.SearcherAndVersion
-
- ShardSearchingTestBase.SearcherExpiredException - Exception in org.apache.lucene.search
-
Thrown when the lease for a searcher has expired.
- ShardSearchingTestBase.SearcherExpiredException(String) - Constructor for exception org.apache.lucene.search.ShardSearchingTestBase.SearcherExpiredException
-
- shutdownExecutorService(ExecutorService) - Static method in class org.apache.lucene.util._TestUtil
-
- SIMPLE - Static variable in class org.apache.lucene.analysis.MockTokenizer
-
Acts like LetterTokenizer.
- size(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.AlcoholicMergePolicy
-
- sizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
-
- smokeTestSearcher(IndexSearcher) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
-
- start(int, double, int) - Method in class org.apache.lucene.search.ShardSearchingTestBase
-
- startOffset - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
-
- stopword - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
-
- storedFieldsFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
-
- stringToCharSequence(String, Random) - Static method in class org.apache.lucene.util._TestUtil
-
- suiteFailureMarker - Static variable in class org.apache.lucene.util.LuceneTestCase
-
Suite failure marker (any error in the test or suite scope).
- sync(Collection<String>) - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- 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
-
- SYSPROP_AWAITSFIX - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- SYSPROP_BADAPPLES - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- SYSPROP_NIGHTLY - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- SYSPROP_SLOW - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- SYSPROP_WEEKLY - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- tearDown() - Method in class org.apache.lucene.util.LuceneTestCase
-
For subclasses to override.
- TEMP_DIR - Static variable in class org.apache.lucene.util.LuceneTestCase
-
Create indexes in this directory, optimally use a subdir, named after the test
- terms(String) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingFields
-
- TERMS_CACHE_SIZE - Static variable in class org.apache.lucene.codecs.lucene40ords.Lucene40WithOrds
-
- termStatistics(Term, TermContext) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
-
- termVectorsFormat() - Method in class org.apache.lucene.codecs.asserting.AssertingCodec
-
- termVectorsFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
-
- TEST_AWAITSFIX - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- TEST_CODEC - Static variable in class org.apache.lucene.util.LuceneTestCase
-
Gets the codec to run tests with.
- TEST_DIRECTORY - Static variable in class org.apache.lucene.util.LuceneTestCase
-
Gets the directory to run tests with
- TEST_LINE_DOCS_FILE - Static variable in class org.apache.lucene.util.LuceneTestCase
-
the line file used by LineFileDocs
- TEST_NIGHTLY - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- TEST_POSTINGSFORMAT - Static variable in class org.apache.lucene.util.LuceneTestCase
-
Gets the postingsFormat to run tests with.
- TEST_SLOW - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- TEST_THROTTLING - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- TEST_VERSION_CURRENT - Static variable in class org.apache.lucene.util.LuceneTestCase
-
Use this constant when creating Analyzers and any other version-dependent stuff.
- TEST_WEEKLY - Static variable in class org.apache.lucene.util.LuceneTestCase
-
- TestBloomFilteredLucene40Postings - Class in org.apache.lucene.codecs.bloom
-
- TestBloomFilteredLucene40Postings() - Constructor for class org.apache.lucene.codecs.bloom.TestBloomFilteredLucene40Postings
-
- testCollationKeySort(Analyzer, Analyzer, Analyzer, Analyzer, String, String, String, String) - Method in class org.apache.lucene.analysis.CollationTestBase
-
- testFailure(Failure) - Method in class org.apache.lucene.util.RunListenerPrintReproduceInfo
-
- testFarsiRangeFilterCollating(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef) - Method in class org.apache.lucene.analysis.CollationTestBase
-
- testFarsiRangeQueryCollating(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef) - Method in class org.apache.lucene.analysis.CollationTestBase
-
- testFarsiTermRangeQuery(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef) - Method in class org.apache.lucene.analysis.CollationTestBase
-
- testFinished(Description) - Method in class org.apache.lucene.util.RunListenerPrintReproduceInfo
-
- TestRuleAssertionsRequired - Class in org.apache.lucene.util
-
Require assertions for Lucene/Solr packages.
- TestRuleAssertionsRequired() - Constructor for class org.apache.lucene.util.TestRuleAssertionsRequired
-
- TestRuleFieldCacheSanity - Class in org.apache.lucene.util
-
This rule will fail the test if it has insane field caches.
- TestRuleFieldCacheSanity() - Constructor for class org.apache.lucene.util.TestRuleFieldCacheSanity
-
- TestRuleIgnoreAfterMaxFailures - Class in org.apache.lucene.util
-
This rule keeps a count of failed tests (suites) and will result in an
AssumptionViolatedException
after a given number of failures for all
tests following this condition.
- TestRuleIgnoreAfterMaxFailures(int) - Constructor for class org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures
-
- TestRuleIgnoreTestSuites - Class in org.apache.lucene.util
-
This rule will cause the suite to be assumption-ignored if
the test class implements a given marker interface and a special
property is not set.
- TestRuleIgnoreTestSuites() - Constructor for class org.apache.lucene.util.TestRuleIgnoreTestSuites
-
- TestRuleIgnoreTestSuites.NestedTestSuite - Interface in org.apache.lucene.util
-
Marker interface for nested suites that should be ignored
if executed in stand-alone mode.
- TestRuleMarkFailure - Class in org.apache.lucene.util
-
A rule for marking failed tests and suites.
- TestRuleMarkFailure(TestRuleMarkFailure...) - Constructor for class org.apache.lucene.util.TestRuleMarkFailure
-
- TestRuleStoreClassName - Class in org.apache.lucene.util
-
- TestRuleStoreClassName() - Constructor for class org.apache.lucene.util.TestRuleStoreClassName
-
- testRunFinished(Result) - Method in class org.apache.lucene.util.RunListenerPrintReproduceInfo
-
- testRunStarted(Description) - Method in class org.apache.lucene.util.RunListenerPrintReproduceInfo
-
- TestSecurityManager - Class in org.apache.lucene.util
-
- TestSecurityManager() - Constructor for class org.apache.lucene.util.TestSecurityManager
-
Creates a new TestSecurityManager.
- testStarted(Description) - Method in class org.apache.lucene.util.RunListenerPrintReproduceInfo
-
- 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
-
- TimeUnits - Class in org.apache.lucene.util
-
time unit constants for use in annotations.
- 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
-
- 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.codecs.mockintblock.MockFixedIntBlockPostingsFormat
-
- toString() - Method in class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat
-
- toString() - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexOutput
-
- toString() - Method in class org.apache.lucene.index.FieldFilterAtomicReader
-
- toString() - Method in class org.apache.lucene.index.RandomCodec
-
- toString() - Method in class org.apache.lucene.search.RandomSimilarityProvider
-
- toString() - Method in class org.apache.lucene.store.BaseDirectoryWrapper
-
- toString() - Method in class org.apache.lucene.store.MockDirectoryWrapper
-
- toString() - Method in class org.apache.lucene.store.MockIndexInputWrapper
-
- toString() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
-
- toString() - Method in class org.apache.lucene.store.MockLockFactoryWrapper
-