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

A

acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.AssertingCollector
 
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
 
addId(Document, String) - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
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
 
addPosition(int, BytesRef, int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
Add a new position & payload
advance(int) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingDocsEnum
 
advance(int) - Method in class org.apache.lucene.search.AssertingScorer
 
afterClass() - Static method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
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
 
AllDeletedFilterReader - Class in org.apache.lucene.index
Filters the incoming reader and makes all documents appear deleted.
AllDeletedFilterReader(AtomicReader) - Constructor for class org.apache.lucene.index.AllDeletedFilterReader
 
alwaysDocValuesFormat(DocValuesFormat) - 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.
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
 
AppendingRWCodec - Class in org.apache.lucene.codecs.appending
Read-write version of AppendingCodec for testing
AppendingRWCodec() - Constructor for class org.apache.lucene.codecs.appending.AppendingRWCodec
 
AppendingTermsWriter - Class in org.apache.lucene.codecs.appending
Writes old Appending-formatted terms dictionaries for testing.
AppendingTermsWriter(SegmentWriteState, PostingsWriterBase, int, int) - Constructor for class org.apache.lucene.codecs.appending.AppendingTermsWriter
 
apply(String) - Method in interface org.apache.lucene.index.RandomIndexWriter.TestPoint
 
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
 
assertAttributeReflection(AttributeImpl, Map<String, T>) - Static method in class org.apache.lucene.util._TestUtil
Checks some basic behaviour of an AttributeImpl
assertDeletedDocsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
 
assertDocsAndPositionsEnumEquals(String, DocsAndPositionsEnum, DocsAndPositionsEnum) - Method in class org.apache.lucene.util.LuceneTestCase
checks docs + freqs + positions + payloads, sequentially
assertDocsEnumEquals(String, DocsEnum, DocsEnum, boolean) - Method in class org.apache.lucene.util.LuceneTestCase
checks docs + freqs, sequentially
assertDocsSkippingEquals(String, IndexReader, int, DocsEnum, DocsEnum, boolean) - Method in class org.apache.lucene.util.LuceneTestCase
checks advancing docs
assertDocValuesEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
checks that docvalues across all fields are equivalent
assertDocValuesEquals(String, int, NumericDocValues, NumericDocValues) - Method in class org.apache.lucene.util.LuceneTestCase
 
assertEquals(BaseTermVectorsFormatTestCase.RandomDocument, Fields) - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
assertEquals(BaseTermVectorsFormatTestCase.RandomTokenStream, FieldType, Terms) - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
assertEquals(TopDocs, TopDocs) - Static method in class org.apache.lucene.util._TestUtil
 
assertEquals(int, BitSet, T) - Method in class org.apache.lucene.util.BaseDocIdSetTestCase
Assert that the content of the DocIdSet is the same as the content of the BitSet.
assertFieldInfosEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
 
assertFieldsEquals(String, IndexReader, Fields, Fields, boolean) - Method in class org.apache.lucene.util.LuceneTestCase
Fields api equivalency
assertFieldStatisticsEquals(String, Fields, Fields) - Method in class org.apache.lucene.util.LuceneTestCase
checks that top-level statistics on Fields are the same
AssertingAtomicReader - Class in org.apache.lucene.index
A FilterAtomicReader that can be used to apply additional checks for tests.
AssertingAtomicReader(AtomicReader) - Constructor for class org.apache.lucene.index.AssertingAtomicReader
 
AssertingAtomicReader.AssertingBinaryDocValues - Class in org.apache.lucene.index
Wraps a BinaryDocValues but with additional asserts
AssertingAtomicReader.AssertingBinaryDocValues(BinaryDocValues, int) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingBinaryDocValues
 
AssertingAtomicReader.AssertingBits - Class in org.apache.lucene.index
Wraps a Bits but with additional asserts
AssertingAtomicReader.AssertingBits(Bits) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingBits
 
AssertingAtomicReader.AssertingDocsEnum - Class in org.apache.lucene.index
Wraps a docsenum with additional checks
AssertingAtomicReader.AssertingDocsEnum(DocsEnum) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingDocsEnum
 
AssertingAtomicReader.AssertingDocsEnum(DocsEnum, boolean) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingDocsEnum
 
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.AssertingNumericDocValues - Class in org.apache.lucene.index
Wraps a NumericDocValues but with additional asserts
AssertingAtomicReader.AssertingNumericDocValues(NumericDocValues, int) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingNumericDocValues
 
AssertingAtomicReader.AssertingSortedDocValues - Class in org.apache.lucene.index
Wraps a SortedDocValues but with additional asserts
AssertingAtomicReader.AssertingSortedDocValues(SortedDocValues, int) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedDocValues
 
AssertingAtomicReader.AssertingSortedSetDocValues - Class in org.apache.lucene.index
Wraps a SortedSetDocValues but with additional asserts
AssertingAtomicReader.AssertingSortedSetDocValues(SortedSetDocValues, int) - Constructor for class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedSetDocValues
 
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
Acts like Lucene46Codec but with additional asserts.
AssertingCodec() - Constructor for class org.apache.lucene.codecs.asserting.AssertingCodec
 
AssertingCollector - Class in org.apache.lucene.search
Wraps another Collector and checks that acceptsDocsOutOfOrder is respected.
AssertingDirectoryReader - Class in org.apache.lucene.index
A DirectoryReader that wraps all its subreaders with AssertingAtomicReader
AssertingDirectoryReader(DirectoryReader) - Constructor for class org.apache.lucene.index.AssertingDirectoryReader
 
AssertingDocValuesFormat - Class in org.apache.lucene.codecs.asserting
Just like Lucene45DocValuesFormat but with additional asserts.
AssertingDocValuesFormat() - Constructor for class org.apache.lucene.codecs.asserting.AssertingDocValuesFormat
 
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
 
AssertingNormsFormat - Class in org.apache.lucene.codecs.asserting
Just like Lucene42NormsFormat but with additional asserts.
AssertingNormsFormat() - Constructor for class org.apache.lucene.codecs.asserting.AssertingNormsFormat
 
AssertingPostingsFormat - Class in org.apache.lucene.codecs.asserting
Just like Lucene41PostingsFormat but with additional asserts.
AssertingPostingsFormat() - Constructor for class org.apache.lucene.codecs.asserting.AssertingPostingsFormat
 
AssertingQuery - Class in org.apache.lucene.search
Assertion-enabled query.
AssertingQuery(Random, Query) - Constructor for class org.apache.lucene.search.AssertingQuery
Sole constructor.
AssertingScorer - Class in org.apache.lucene.search
Wraps a Scorer with additional checks
AssertingStoredFieldsFormat - Class in org.apache.lucene.codecs.asserting
Just like Lucene41StoredFieldsFormat but with additional asserts.
AssertingStoredFieldsFormat() - Constructor for class org.apache.lucene.codecs.asserting.AssertingStoredFieldsFormat
 
AssertingTermVectorsFormat - Class in org.apache.lucene.codecs.asserting
Just like Lucene40TermVectorsFormat but with additional asserts.
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.
assertNormsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
checks that norms are the same across all fields
assertPositionsSkippingEquals(String, IndexReader, int, DocsAndPositionsEnum, DocsAndPositionsEnum) - Method in class org.apache.lucene.util.LuceneTestCase
checks advancing docs + positions
assertReaderEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
 
assertReaderStatisticsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
checks that reader-level statistics are the same
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.
assertStoredFieldEquals(String, IndexableField, IndexableField) - Method in class org.apache.lucene.util.LuceneTestCase
checks that two stored fields are equivalent
assertStoredFieldsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
checks that stored fields of all documents are the same
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.
assertTermsEnumEquals(String, IndexReader, TermsEnum, TermsEnum, boolean) - Method in class org.apache.lucene.util.LuceneTestCase
checks the terms enum sequentially if deep is false, it does a 'shallow' test that doesnt go down to the docsenums
assertTermsEquals(String, IndexReader, Terms, Terms, boolean) - Method in class org.apache.lucene.util.LuceneTestCase
Terms api equivalency
assertTermsStatisticsEquals(String, Terms, Terms) - Method in class org.apache.lucene.util.LuceneTestCase
checks collection-level statistics on Terms
assertTermStatsEquals(String, TermsEnum, TermsEnum) - Method in class org.apache.lucene.util.LuceneTestCase
checks term-level statistics
assertTermVectorsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.util.LuceneTestCase
checks that term vectors across all fields are equivalent
assertThreadSafe(Analyzer) - Method in class org.apache.lucene.analysis.CollationTestBase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, Integer, boolean[], boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, boolean[], boolean) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
 
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
 

B

BaseCompressingDocValuesFormatTestCase - Class in org.apache.lucene.index
Extends BaseDocValuesFormatTestCase to add compression checks.
BaseCompressingDocValuesFormatTestCase() - Constructor for class org.apache.lucene.index.BaseCompressingDocValuesFormatTestCase
 
BaseDirectoryWrapper - Class in org.apache.lucene.store
Calls check index on close.
BaseDirectoryWrapper(Directory) - Constructor for class org.apache.lucene.store.BaseDirectoryWrapper
 
BaseDocIdSetTestCase<T extends DocIdSet> - Class in org.apache.lucene.util
Base test class for DocIdSets.
BaseDocIdSetTestCase() - Constructor for class org.apache.lucene.util.BaseDocIdSetTestCase
 
BaseDocValuesFormatTestCase - Class in org.apache.lucene.index
Abstract class to do basic tests for a docvalues format.
BaseDocValuesFormatTestCase() - Constructor for class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
BasePostingsFormatTestCase - Class in org.apache.lucene.index
Abstract class to do basic tests for a postings format.
BasePostingsFormatTestCase() - Constructor for class org.apache.lucene.index.BasePostingsFormatTestCase
 
BaseStoredFieldsFormatTestCase - Class in org.apache.lucene.index
Base class aiming at testing stored fields formats.
BaseStoredFieldsFormatTestCase() - Constructor for class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
BaseTermVectorsFormatTestCase - Class in org.apache.lucene.index
Base class aiming at testing term vectors formats.
BaseTermVectorsFormatTestCase() - Constructor for class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
BaseTermVectorsFormatTestCase.Options - Enum in org.apache.lucene.index
A combination of term vectors options.
BaseTermVectorsFormatTestCase.RandomDocument - Class in org.apache.lucene.index
 
BaseTermVectorsFormatTestCase.RandomDocument(int, int, BaseTermVectorsFormatTestCase.Options, String[], String[], BytesRef[]) - Constructor for class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomDocument
 
BaseTermVectorsFormatTestCase.RandomDocumentFactory - Class in org.apache.lucene.index
 
BaseTermVectorsFormatTestCase.RandomDocumentFactory(int, int) - Constructor for class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomDocumentFactory
 
BaseTermVectorsFormatTestCase.RandomTokenStream - Class in org.apache.lucene.index
 
BaseTermVectorsFormatTestCase.RandomTokenStream(int, String[], BytesRef[]) - Constructor for class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
BaseTermVectorsFormatTestCase.RandomTokenStream(int, String[], BytesRef[], boolean) - Constructor for class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
BaseTokenStreamTestCase - Class in org.apache.lucene.analysis
Base class for all Lucene unit tests that use TokenStreams.
BaseTokenStreamTestCase() - Constructor for class org.apache.lucene.analysis.BaseTokenStreamTestCase
 
BaseTokenStreamTestCase.CheckClearAttributesAttribute - Interface in org.apache.lucene.analysis
Attribute that records if it was cleared or not.
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl - Class in org.apache.lucene.analysis
Attribute that records if it was cleared or not.
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl() - Constructor for class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
beforeClass() - Static method in class org.apache.lucene.search.SearchEquivalenceTestBase
 
bytesToCharSequence(BytesRef, Random) - Static method in class org.apache.lucene.util._TestUtil
 

C

CannedBinaryTokenStream - Class in org.apache.lucene.analysis
TokenStream from a canned list of binary (BytesRef-based) tokens.
CannedBinaryTokenStream(CannedBinaryTokenStream.BinaryToken...) - Constructor for class org.apache.lucene.analysis.CannedBinaryTokenStream
 
CannedBinaryTokenStream.BinaryTermAttribute - Interface in org.apache.lucene.analysis
CannedBinaryTokenStream.BinaryTermAttributeImpl - Class in org.apache.lucene.analysis
CannedBinaryTokenStream.BinaryTermAttributeImpl() - Constructor for class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
CannedBinaryTokenStream.BinaryToken - Class in org.apache.lucene.analysis
Represents a binary token.
CannedBinaryTokenStream.BinaryToken(BytesRef) - Constructor for class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryToken
 
CannedBinaryTokenStream.BinaryToken(BytesRef, int, int) - Constructor for class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryToken
 
CannedTokenStream - Class in org.apache.lucene.analysis
TokenStream from a canned list of Tokens.
CannedTokenStream(Token...) - Constructor for class org.apache.lucene.analysis.CannedTokenStream
 
CannedTokenStream(int, int, Token...) - Constructor for class org.apache.lucene.analysis.CannedTokenStream
If you want trailing holes, pass a non-zero finalPosInc.
CheapBastardCodec - Class in org.apache.lucene.codecs.cheapbastard
Codec that tries to use as little ram as possible because he spent all his money on beer
CheapBastardCodec() - Constructor for class org.apache.lucene.codecs.cheapbastard.CheapBastardCodec
 
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
 
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
 
checkReader(IndexReader) - Static method in class org.apache.lucene.util._TestUtil
This runs the CheckIndex tool on the Reader.
checkReader(AtomicReader, boolean) - Static method in class org.apache.lucene.util._TestUtil
 
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
 
clear() - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
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.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
clone() - Method in class org.apache.lucene.search.AssertingQuery
 
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.MockGraphTokenFilter
 
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.lucene40.Lucene40PostingsWriter
 
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.
codecAcceptsHugeBinaryValues(String) - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
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.AssertingCollector
 
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
 
compareTo(FSTTester.InputOutput<T>) - Method in class org.apache.lucene.util.fst.FSTTester.InputOutput
 
CompressingCodec - Class in org.apache.lucene.codecs.compressing
A codec that uses CompressingStoredFieldsFormat for its stored fields and delegates to Lucene46Codec for everything else.
CompressingCodec(String, String, CompressionMode, int) - Constructor for class org.apache.lucene.codecs.compressing.CompressingCodec
Creates a compressing codec with a given segment suffix
CompressingCodec(String, CompressionMode, int) - Constructor for class org.apache.lucene.codecs.compressing.CompressingCodec
Creates a compressing codec with an empty segment suffix
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
 
copyOf(BitSet, int) - Method in class org.apache.lucene.util.BaseDocIdSetTestCase
Create a copy of the given BitSet which has length bits.
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
correct(int) - Method in class org.apache.lucene.analysis.MockCharFilter
 
cost() - Method in class org.apache.lucene.search.AssertingScorer
 
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.MockDirectoryWrapper
 
createPostings() - Static method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
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.
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.AssertingQuery
 
currentNodeVersions - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
 

D

DEFAULT_LINE_DOCS_FILE - Static variable in class org.apache.lucene.util.LuceneTestCase
TODO: javadoc?
DEFAULT_MAX_TOKEN_LENGTH - Static variable in class org.apache.lucene.analysis.MockTokenizer
 
DEFAULT_MIN_WRITTEN_BYTES - Static variable in class org.apache.lucene.util.ThrottledIndexOutput
 
defaultCodecSupportsDocsWithField() - Static method in class org.apache.lucene.util.LuceneTestCase
Returns true if the codec "supports" docsWithField (other codecs return MatchAllBits, because you couldnt write missing values before)
defaultCodecSupportsDocValues() - Static method in class org.apache.lucene.util.LuceneTestCase
 
defaultCodecSupportsFieldUpdates() - Static method in class org.apache.lucene.util.LuceneTestCase
Returns true if the codec "supports" field updates.
defaultCodecSupportsSortedSet() - Static method in class org.apache.lucene.util.LuceneTestCase
Returns true if the default codec supports SORTED_SET docvalues
delCount - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
deleteAll() - Method in class org.apache.lucene.index.RandomIndexWriter
 
deleteDocuments(Term) - Method in class org.apache.lucene.index.RandomIndexWriter
 
deleteDocuments(Query) - Method in class org.apache.lucene.index.RandomIndexWriter
 
deleteDocuments(Term) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
deleteFile(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
determinizeSimple(Automaton) - Static method in class org.apache.lucene.util.automaton.AutomatonTestUtil
Simple, original brics implementation of determinize()
determinizeSimple(Automaton, Set<State>) - Static method in class org.apache.lucene.util.automaton.AutomatonTestUtil
Simple, original brics implementation of determinize() Determinizes the given automaton using the given set of initial states.
dir - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
dir - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
 
directory - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
 
doAfterIndexingThreadDone() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
doAfterWriter(ExecutorService) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
docID() - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingDocsEnum
 
docID(IndexReader, String) - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
docID() - Method in class org.apache.lucene.search.AssertingScorer
 
doClose() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
docs(Random, IndexReader, String, BytesRef, Bits, DocsEnum, int) - Static method in class org.apache.lucene.util._TestUtil
 
docs(Random, TermsEnum, Bits, DocsEnum, int) - Static method in class org.apache.lucene.util._TestUtil
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
docValuesByte(FieldInfo.DocValuesType, String) - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter
Deprecated.
4.0-style docvalues byte
docValuesFormat() - Method in class org.apache.lucene.codecs.asserting.AssertingCodec
 
docValuesFormat() - Method in class org.apache.lucene.codecs.cheapbastard.CheapBastardCodec
 
docValuesFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40RWCodec
 
docValuesFormat() - Method in class org.apache.lucene.codecs.lucene41.Lucene41RWCodec
 
doesntSupportOffsets - Static variable in class org.apache.lucene.util.LuceneTestCase
 
doFail - Variable in class org.apache.lucene.store.MockDirectoryWrapper.Failure
 
doSearching(ExecutorService, long) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
doTest(boolean) - Method in class org.apache.lucene.util.fst.FSTTester
 
doWrapDirectoryReader(DirectoryReader) - Method in class org.apache.lucene.index.AssertingDirectoryReader
 
DUMMY - Static variable in class org.apache.lucene.codecs.compressing.dummy.DummyCompressingCodec
 
DummyCompressingCodec - Class in org.apache.lucene.codecs.compressing.dummy
CompressionCodec that does not compress data, useful for testing.
DummyCompressingCodec(int, boolean) - Constructor for class org.apache.lucene.codecs.compressing.dummy.DummyCompressingCodec
Constructor that allows to configure the chunk size.
DummyCompressingCodec() - Constructor for class org.apache.lucene.codecs.compressing.dummy.DummyCompressingCodec
Default constructor.
dumpArray(String, Object[], PrintStream) - Static method in class org.apache.lucene.util.LuceneTestCase
Convenience method for logging an array.
dumpIterator(String, Iterator<?>, PrintStream) - Static method in class org.apache.lucene.util.LuceneTestCase
Convenience method for logging an iterator.
dvFormatNames - Variable in class org.apache.lucene.index.RandomCodec
unique set of docvalues format names this codec knows about

E

EMPTY_STOPSET - Static variable in class org.apache.lucene.analysis.MockTokenFilter
Empty set of stopwords
encodeCollationKey(byte[]) - Method in class org.apache.lucene.analysis.CollationTestBase
Deprecated.
only for testing deprecated filters
end() - Method in class org.apache.lucene.analysis.CannedTokenStream
 
end - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
 
end() - Method in class org.apache.lucene.analysis.MockTokenFilter
 
end() - Method in class org.apache.lucene.analysis.MockTokenizer
 
end() - Method in class org.apache.lucene.analysis.ValidatingTokenFilter
 
endOffset - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
 
English - Class in org.apache.lucene.util
Converts numbers to english strings for testing.
ENGLISH_STOPSET - Static variable in class org.apache.lucene.analysis.MockTokenFilter
Set of common english stopwords
equals(Object) - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
equals(Object, Object) - Static method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
equals(Object) - Method in class org.apache.lucene.search.AssertingQuery
 
escape(String) - Static method in class org.apache.lucene.analysis.BaseTokenStreamTestCase
 
eval(MockDirectoryWrapper) - Method in class org.apache.lucene.store.MockDirectoryWrapper.Failure
eval is called on the first write of every new file.
EXPLAIN_SCORE_TOLERANCE_DELTA - Static variable in class org.apache.lucene.search.CheckHits
Some explains methods calculate their values though a slightly different order of operations from the actual scoring method ...
EXPLAIN_SCORE_TOLERANCE_MINIMUM - Static variable in class org.apache.lucene.search.CheckHits
In general we use a relative epsilon, but some tests do crazy things like boost documents with 0, creating tiny tiny scores where the relative difference is large but the absolute difference is tiny.
explainToleranceDelta(float, float) - Static method in class org.apache.lucene.search.CheckHits
returns a reasonable epsilon for comparing two floats, where minor differences are acceptable such as score vs.
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.AssertingQuery
 

F

failed - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
failOn(MockDirectoryWrapper.Failure) - Method in class org.apache.lucene.store.MockDirectoryWrapper
add a Failure object to the list of objects to be evaluated at every potential failure point
FailOnNonBulkMergesInfoStream - Class in org.apache.lucene.util
Hackidy-Häck-Hack to cause a test to fail on non-bulk merges
FailOnNonBulkMergesInfoStream() - Constructor for class org.apache.lucene.util.FailOnNonBulkMergesInfoStream
 
FastCompressingCodec - Class in org.apache.lucene.codecs.compressing
CompressionCodec that uses CompressionMode.FAST
FastCompressingCodec(int, boolean) - Constructor for class org.apache.lucene.codecs.compressing.FastCompressingCodec
Constructor that allows to configure the chunk size.
FastCompressingCodec() - Constructor for class org.apache.lucene.codecs.compressing.FastCompressingCodec
Default constructor.
FastDecompressionCompressingCodec - Class in org.apache.lucene.codecs.compressing
CompressionCodec that uses CompressionMode.FAST_DECOMPRESSION
FastDecompressionCompressingCodec(int, boolean) - Constructor for class org.apache.lucene.codecs.compressing.FastDecompressionCompressingCodec
Constructor that allows to configure the chunk size.
FastDecompressionCompressingCodec() - Constructor for class org.apache.lucene.codecs.compressing.FastDecompressionCompressingCodec
Default constructor.
FieldFilterAtomicReader - Class in org.apache.lucene.index
A FilterAtomicReader that exposes only a subset of fields from the underlying wrapped reader.
FieldFilterAtomicReader(AtomicReader, Set<String>, boolean) - Constructor for class org.apache.lucene.index.FieldFilterAtomicReader
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40RWCodec
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene41.Lucene41RWCodec
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene42.Lucene42RWCodec
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene45.Lucene45RWCodec
 
fields() - Method in class org.apache.lucene.index.AssertingAtomicReader
 
fields() - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.asserting.AssertingDocValuesFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.asserting.AssertingPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.bloom.TestBloomFilteredLucene41Postings
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40RWDocValuesFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40RWPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.lucene41ords.Lucene41WithOrds
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.lucene42.Lucene42RWDocValuesFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.mockrandom.MockRandomPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.mocksep.MockSepPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.nestedpulsing.NestedPulsingPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.ramonly.RAMOnlyPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.asserting.AssertingDocValuesFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.asserting.AssertingPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.bloom.TestBloomFilteredLucene41Postings
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.lucene41ords.Lucene41WithOrds
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.mockrandom.MockRandomPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.mocksep.MockSepPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.nestedpulsing.NestedPulsingPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.ramonly.RAMOnlyPostingsFormat
 
fieldsReader(Directory, SegmentInfo, FieldInfos, IOContext) - Method in class org.apache.lucene.codecs.asserting.AssertingStoredFieldsFormat
 
fieldSupportsHugeBinaryDocValues(String) - Static method in class org.apache.lucene.util._TestUtil
 
fieldsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.codecs.asserting.AssertingStoredFieldsFormat
 
fieldType(BaseTermVectorsFormatTestCase.Options) - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
fileExists(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
fileLength(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
fillBytesRef() - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
fillBytesRef() - Method in class org.apache.lucene.analysis.MockUTF16TermAttributeImpl
 
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.MockRandomMergePolicy
 
findForcedMerges(SegmentInfos, int, Map<SegmentCommitInfo, Boolean>) - Method in class org.apache.lucene.index.MockRandomMergePolicy
 
findMerges(MergePolicy.MergeTrigger, SegmentInfos) - Method in class org.apache.lucene.index.MockRandomMergePolicy
 
finish() - Method in class org.apache.lucene.search.ShardSearchingTestBase
 
finishDoc() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
finishTerm(TermStats) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
Called when we are done adding docs to this term
firstRangeBeginningOriginal - Variable in class org.apache.lucene.analysis.CollationTestBase
 
firstRangeEndOriginal - Variable in class org.apache.lucene.analysis.CollationTestBase
 
flush() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
 
flush() - Method in class org.apache.lucene.util.ThrottledIndexOutput
 
flushTermsBlock(int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
forceMerge(int) - Method in class org.apache.lucene.index.RandomIndexWriter
Forces a forceMerge.
forceMergeDeletes(boolean) - Method in class org.apache.lucene.index.RandomIndexWriter
 
forceMergeDeletes() - Method in class org.apache.lucene.index.RandomIndexWriter
 
formatNames - Variable in class org.apache.lucene.index.RandomCodec
unique set of format names this codec knows about
freq() - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingDocsEnum
 
freq() - Method in class org.apache.lucene.search.AssertingScorer
 
FSTTester<T> - Class in org.apache.lucene.util.fst
Helper class to test FSTs.
FSTTester(Random, Directory, int, List<FSTTester.InputOutput<T>>, Outputs<T>, boolean) - Constructor for class org.apache.lucene.util.fst.FSTTester
 
FSTTester.InputOutput<T> - Class in org.apache.lucene.util.fst
Holds one input/output pair.
FSTTester.InputOutput(IntsRef, T) - Constructor for class org.apache.lucene.util.fst.FSTTester.InputOutput
 

G

get(int, BytesRef) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingBinaryDocValues
 
get(int) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingBits
 
get(int) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingNumericDocValues
 
get(int, BytesRef) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedDocValues
 
get(String) - Method in class org.apache.lucene.search.RandomSimilarityProvider
 
getAndResetClearCalled() - Method in interface org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttribute
 
getAndResetClearCalled() - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
getBinaryDocValues(String) - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getBinaryDocValues(String) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
getBoost() - Method in class org.apache.lucene.search.AssertingQuery
 
getBytesRef() - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
getCheckIndexOnClose() - Method in class org.apache.lucene.store.BaseDirectoryWrapper
 
getChildren() - Method in class org.apache.lucene.search.AssertingScorer
 
getCodec() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
Returns the codec to run tests against
getCodec() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
Returns the Codec to run tests against
getCodec() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
Returns the Codec to run tests against
getCodec() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
Returns the Codec to run tests against
getCombinedCoreAndDeletesKey() - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getCombinedCoreAndDeletesKey() - Method in class org.apache.lucene.index.AssertingDirectoryReader
 
getCombinedCoreAndDeletesKey() - Method in class org.apache.lucene.search.QueryUtils.FCInvisibleMultiReader
 
getCoreCacheKey() - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getCoreCacheKey() - Method in class org.apache.lucene.index.AssertingDirectoryReader
 
getCoreCacheKey() - Method in class org.apache.lucene.search.QueryUtils.FCInvisibleMultiReader
 
getCrossCheckTermVectorsOnClose() - Method in class org.apache.lucene.store.BaseDirectoryWrapper
 
getCurrentSearcher() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
getDataFile(String) - Method in class org.apache.lucene.util.LuceneTestCase
Gets a resource from the classpath as File.
getDelay(boolean) - Method in class org.apache.lucene.util.ThrottledIndexOutput
 
getDirectory(Directory) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
getDocsWithField(String) - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getDocsWithField(String) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
getDocValuesFormat(String) - Static method in class org.apache.lucene.util._TestUtil
 
getDocValuesFormat(Codec, String) - Static method in class org.apache.lucene.util._TestUtil
 
getDocValuesFormatForField(String) - Method in class org.apache.lucene.codecs.lucene42.Lucene42RWCodec
 
getDocValuesFormatForField(String) - Method in class org.apache.lucene.index.RandomCodec
 
getFieldInfos() - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
getFilePointer() - Method in class org.apache.lucene.store.MockIndexInputWrapper
 
getFilePointer() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
 
getFilePointer() - Method in class org.apache.lucene.util.ThrottledIndexOutput
 
getFinalSearcher() - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
getIn() - Method in class org.apache.lucene.search.AssertingScorer
 
getInputCloneCount() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getIntFactory() - Method in class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat
 
getLiveDocs() - Method in class org.apache.lucene.index.AllDeletedFilterReader
 
getLiveDocs() - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getLockFactory() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getLockID() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getLockPrefix() - Method in class org.apache.lucene.store.MockLockFactoryWrapper
 
getMaxSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getMaxUsedSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
Returns the peek actual storage used (bytes) in this directory.
getNoDeleteOpenFile() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getNormValues(String) - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getNormValues(String) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
getNumericDocValues(String) - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getNumericDocValues(String) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
getOnlySegmentReader(DirectoryReader) - Static method in class org.apache.lucene.util.LuceneTestCase
Some tests expect the directory to contain a single segment, and want to do tests on that segment's reader.
getOpenDeletedFiles() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getOrd(int) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedDocValues
 
getPositionIncrementGap(String) - Method in class org.apache.lucene.analysis.MockAnalyzer
 
getPostingsFormat(String) - Static method in class org.apache.lucene.util._TestUtil
 
getPostingsFormat(Codec, String) - Static method in class org.apache.lucene.util._TestUtil
 
getPostingsFormatForField(String) - Method in class org.apache.lucene.index.RandomCodec
 
getRandomAcceptedString(Random) - Method in class org.apache.lucene.util.automaton.AutomatonTestUtil.RandomAcceptedStrings
 
getRandomIOExceptionRate() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getRandomIOExceptionRateOnOpen() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
getReader() - Method in class org.apache.lucene.index.RandomIndexWriter
 
getReader(boolean) - Method in class org.apache.lucene.index.RandomIndexWriter
 
getRecomputedActualSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
Like getRecomputedSizeInBytes(), but, uses actual file lengths rather than buffer allocations (which are quantized up to nearest RAMOutputStream.BUFFER_SIZE (now 1024) bytes.
getRecomputedSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
Provided for testing purposes.
getSortedDocValues(String) - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getSortedDocValues(String) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
getSortedSetDocValues(String) - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getTempDir(String) - Static method in class org.apache.lucene.util._TestUtil
Returns a temp directory, based on the given description.
getTermVectors(int) - Method in class org.apache.lucene.index.AssertingAtomicReader
 
getTermVectors(int) - Method in class org.apache.lucene.index.FieldFilterAtomicReader
 
getTestClass() - Static method in class org.apache.lucene.util.LuceneTestCase
Return the current class being tested.
getTestClass() - Method in class org.apache.lucene.util.TestRuleStoreClassName
Returns the test class currently executing in this rule.
getTestMethods(Class<?>, ClassModel) - Method in class org.apache.lucene.util.LuceneJUnit3MethodProvider
 
getTestName() - Method in class org.apache.lucene.util.LuceneTestCase
Return the name of the currently executing test case.
getValueCount() - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedDocValues
 
getValueCount() - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedSetDocValues
 

H

hadFailures() - Method in class org.apache.lucene.util.TestRuleMarkFailure
Check if this object had any marked failures.
hashCode() - Method in class org.apache.lucene.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
hashCode() - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
hashCode() - Method in class org.apache.lucene.search.AssertingQuery
 
hasPayloads() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
HighCompressionCompressingCodec - Class in org.apache.lucene.codecs.compressing
CompressionCodec that uses CompressionMode.HIGH_COMPRESSION
HighCompressionCompressingCodec(int, boolean) - Constructor for class org.apache.lucene.codecs.compressing.HighCompressionCompressingCodec
Constructor that allows to configure the chunk size.
HighCompressionCompressingCodec() - Constructor for class org.apache.lucene.codecs.compressing.HighCompressionCompressingCodec
Default constructor.
hits2str(ScoreDoc[], ScoreDoc[], int, int) - Static method in class org.apache.lucene.search.CheckHits
 
HOUR - Static variable in class org.apache.lucene.util.TimeUnits
1 hour in milliseconds

I

incrementToken() - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream
 
incrementToken() - Method in class org.apache.lucene.analysis.CannedTokenStream
 
incrementToken() - Method in class org.apache.lucene.analysis.MockFixedLengthPayloadFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.MockGraphTokenFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.MockHoleInjectingTokenFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.MockRandomLookaheadTokenFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.MockTokenFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.MockTokenizer
 
incrementToken() - Method in class org.apache.lucene.analysis.MockVariableLengthPayloadFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.ValidatingTokenFilter
 
incrementToken() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
index() - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexInput
 
index() - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexOutput
 
INFOSTREAM - Static variable in class org.apache.lucene.util.LuceneTestCase
TODO: javadoc?
initSearcher(long[]) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
 
input - Variable in class org.apache.lucene.util.fst.FSTTester.InputOutput
 
inputPos - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
 
inputTokens - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
 
insertEmptyValue(Iterable<BytesRef>) - Static method in class org.apache.lucene.codecs.MissingOrdRemapper
insert an empty byte[] to the front of this iterable
insertToken() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
Call this only from within afterPosition, to insert a new token.
intersect(CompiledAutomaton, BytesRef) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingTerms
 
intToEnglish(int) - Static method in class org.apache.lucene.util.English
 
intToEnglish(int, StringBuilder) - Static method in class org.apache.lucene.util.English
 
isAssumption(Throwable) - Static method in class org.apache.lucene.util.TestRuleMarkFailure
Is a given exception (or a MultipleFailureException) an AssumptionViolatedException?
isEnabled(String) - Method in class org.apache.lucene.util.FailOnNonBulkMergesInfoStream
 
isEnabled(String) - Method in class org.apache.lucene.util.NullInfoStream
 
isFiniteSlow(Automaton) - Static method in class org.apache.lucene.util.automaton.AutomatonTestUtil
Returns true if the language of this automaton is finite.
isMyEvilException(Throwable) - Static method in class org.apache.lucene.analysis.MockReaderWrapper
 
isOpen - Variable in class org.apache.lucene.store.BaseDirectoryWrapper
 
isOpen() - Method in class org.apache.lucene.store.BaseDirectoryWrapper
 
isRunningNested() - Static method in class org.apache.lucene.util.TestRuleIgnoreTestSuites
Check if a suite class is running as a nested test.
isSimpleFSIndexInput(IndexInput) - Static method in class org.apache.lucene.store._TestHelper
Returns true if the instance of the provided input stream is actually an SimpleFSIndexInput.
isSimpleFSIndexInputClone(IndexInput) - Static method in class org.apache.lucene.store._TestHelper
Returns true if the provided input stream is an SimpleFSIndexInput and is a clone, that is it does not own its underlying file descriptor.
isSimpleFSIndexInputOpen(IndexInput) - Static method in class org.apache.lucene.store._TestHelper
Given an instance of SimpleFSDirectory.SimpleFSIndexInput, this method returns true if the underlying file descriptor is valid, and false otherwise.
isTestThread() - Method in class org.apache.lucene.util.LuceneTestCase
Returns true if and only if the calling thread is the primary thread executing the test case.
isTokenChar(int) - Method in class org.apache.lucene.analysis.MockTokenizer
 
iterator() - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingFields
 
iterator(TermsEnum) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingTerms
 

J

JENKINS_LARGE_LINE_DOCS_FILE - Static variable in class org.apache.lucene.util.LuceneTestCase
TODO: javadoc?

K

KEYWORD - Static variable in class org.apache.lucene.analysis.MockTokenizer
Acts Similar to KeywordTokenizer.

L

length() - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingBits
 
length() - Method in class org.apache.lucene.index.MockIndexInput
 
length() - Method in class org.apache.lucene.store.MockIndexInputWrapper
 
length() - Method in class org.apache.lucene.store.MockIndexOutputWrapper
 
length() - Method in class org.apache.lucene.util.ThrottledIndexOutput
 
LineFileDocs - Class in org.apache.lucene.util
Minimal port of benchmark's LneDocSource + DocMaker, so tests can enum docs from a line file created by benchmark's WriteLineDoc task
LineFileDocs(Random, String, boolean) - Constructor for class org.apache.lucene.util.LineFileDocs
If forever is true, we rewind the file at EOF (repeat the docs over and over)
LineFileDocs(Random) - Constructor for class org.apache.lucene.util.LineFileDocs
 
LineFileDocs(Random, boolean) - Constructor for class org.apache.lucene.util.LineFileDocs
 
listAll() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
localeForName(String) - Static method in class org.apache.lucene.util.LuceneTestCase
return a Locale object equivalent to its programmatic name
localSearch(Query, int) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
localSearch(Query, int, Sort) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
localSearchAfter(ScoreDoc, Query, int) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
lockFactory - Variable in class org.apache.lucene.store.MockDirectoryWrapper
 
longToEnglish(long) - Static method in class org.apache.lucene.util.English
 
longToEnglish(long, StringBuilder) - Static method in class org.apache.lucene.util.English
 
LookaheadTokenFilter<T extends LookaheadTokenFilter.Position> - Class in org.apache.lucene.analysis
An abstract TokenFilter to make it easier to build graph token filters requiring some lookahead.
LookaheadTokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.LookaheadTokenFilter
 
LookaheadTokenFilter.Position - Class in org.apache.lucene.analysis
Holds all state for a single position; subclass this to record other state at each position.
LookaheadTokenFilter.Position() - Constructor for class org.apache.lucene.analysis.LookaheadTokenFilter.Position
 
lookupOrd(int, BytesRef) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedDocValues
 
lookupOrd(long, BytesRef) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedSetDocValues
 
lookupTerm(BytesRef) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedDocValues
 
lookupTerm(BytesRef) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedSetDocValues
 
Lucene40FieldInfosWriter - Class in org.apache.lucene.codecs.lucene40
Deprecated.
Lucene40FieldInfosWriter() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter
Deprecated.
Sole constructor.
Lucene40PostingsWriter - Class in org.apache.lucene.codecs.lucene40
Concrete class that writes the 4.0 frq/prx postings format.
Lucene40PostingsWriter(SegmentWriteState) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
Lucene40PostingsWriter(SegmentWriteState, int) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
Creates a Lucene40PostingsWriter, with the specified skipInterval.
Lucene40RWCodec - Class in org.apache.lucene.codecs.lucene40
Read-write version of Lucene40Codec for testing
Lucene40RWCodec() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40RWCodec
 
Lucene40RWDocValuesFormat - Class in org.apache.lucene.codecs.lucene40
Read-write version of Lucene40DocValuesFormat for testing
Lucene40RWDocValuesFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40RWDocValuesFormat
 
Lucene40RWNormsFormat - Class in org.apache.lucene.codecs.lucene40
Read-write version of Lucene40NormsFormat for testing
Lucene40RWNormsFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40RWNormsFormat
 
Lucene40RWPostingsFormat - Class in org.apache.lucene.codecs.lucene40
Read-write version of Lucene40PostingsFormat for testing.
Lucene40RWPostingsFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40RWPostingsFormat
 
Lucene40SegmentInfoWriter - Class in org.apache.lucene.codecs.lucene40
Deprecated.
Lucene40SegmentInfoWriter() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoWriter
Deprecated.
Sole constructor.
Lucene40SkipListWriter - Class in org.apache.lucene.codecs.lucene40
Deprecated.
Only for reading old 4.0 segments
Lucene40SkipListWriter(int, int, int, IndexOutput, IndexOutput) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40SkipListWriter
Deprecated.
Sole constructor.
Lucene41RWCodec - Class in org.apache.lucene.codecs.lucene41
Read-write version of Lucene41Codec for testing.
Lucene41RWCodec() - Constructor for class org.apache.lucene.codecs.lucene41.Lucene41RWCodec
 
Lucene41WithOrds - Class in org.apache.lucene.codecs.lucene41ords
Customized version of Lucene41PostingsFormat that uses FixedGapTermsIndexWriter.
Lucene41WithOrds() - Constructor for class org.apache.lucene.codecs.lucene41ords.Lucene41WithOrds
 
Lucene42FieldInfosWriter - Class in org.apache.lucene.codecs.lucene42
Deprecated.
Lucene42FieldInfosWriter() - Constructor for class org.apache.lucene.codecs.lucene42.Lucene42FieldInfosWriter
Deprecated.
Sole constructor.
Lucene42RWCodec - Class in org.apache.lucene.codecs.lucene42
Read-write version of Lucene42Codec for testing.
Lucene42RWCodec() - Constructor for class org.apache.lucene.codecs.lucene42.Lucene42RWCodec
 
Lucene42RWDocValuesFormat - Class in org.apache.lucene.codecs.lucene42
Read-write version of Lucene42DocValuesFormat for testing.
Lucene42RWDocValuesFormat() - Constructor for class org.apache.lucene.codecs.lucene42.Lucene42RWDocValuesFormat
 
Lucene45RWCodec - Class in org.apache.lucene.codecs.lucene45
Read-write version of Lucene45Codec for testing.
Lucene45RWCodec() - Constructor for class org.apache.lucene.codecs.lucene45.Lucene45RWCodec
 
LuceneJUnit3MethodProvider - Class in org.apache.lucene.util
Backwards compatible test* method provider (public, non-static).
LuceneJUnit3MethodProvider() - Constructor for class org.apache.lucene.util.LuceneJUnit3MethodProvider
 
LuceneTestCase - Class in org.apache.lucene.util
Base class for all Lucene unit tests, Junit3 or Junit4 variant.
LuceneTestCase() - Constructor for class org.apache.lucene.util.LuceneTestCase
 
LuceneTestCase.AwaitsFix - Annotation Type in org.apache.lucene.util
Annotation for tests which exhibit a known issue and are temporarily disabled.
LuceneTestCase.BadApple - Annotation Type in org.apache.lucene.util
Annotation for tests that fail frequently and should be moved to a "vault" plan in Jenkins.
LuceneTestCase.Nightly - Annotation Type in org.apache.lucene.util
Annotation for tests that should only be run during nightly builds.
LuceneTestCase.Slow - Annotation Type in org.apache.lucene.util
Annotation for tests that are slow.
LuceneTestCase.SuppressCodecs - Annotation Type in org.apache.lucene.util
Annotation for test classes that should avoid certain codec types (because they are expensive, for example).
LuceneTestCase.Weekly - Annotation Type in org.apache.lucene.util
Annotation for tests that should only be run during weekly builds

M

makeLock(String) - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
makeLock(String) - Method in class org.apache.lucene.store.MockLockFactoryWrapper
 
mapAllOrds(Iterable<Number>) - Static method in class org.apache.lucene.codecs.MissingOrdRemapper
remaps every ord+1 on this iterable
mapMissingToOrd0(Iterable<Number>) - Static method in class org.apache.lucene.codecs.MissingOrdRemapper
remaps ord -1 to ord 0 on this iterable.
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
MissingOrdRemapper - Class in org.apache.lucene.codecs
a utility class to write missing values for SORTED as if they were the empty string (to simulate pre-Lucene4.5 dv behavior for testing old codecs)
MissingOrdRemapper() - Constructor for class org.apache.lucene.codecs.MissingOrdRemapper
 
MockAnalyzer - Class in org.apache.lucene.analysis
Analyzer for testing
MockAnalyzer(Random, CharacterRunAutomaton, boolean, CharacterRunAutomaton) - 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
Attribute factory that implements CharTermAttribute with MockUTF16TermAttributeImpl
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.FakeIOException - Exception in org.apache.lucene.store
Use this when throwing fake IOException, e.g.
MockDirectoryWrapper.FakeIOException() - Constructor for exception org.apache.lucene.store.MockDirectoryWrapper.FakeIOException
 
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.
mockIndexWriter(Directory, IndexWriterConfig, Random) - Static method in class org.apache.lucene.index.RandomIndexWriter
 
mockIndexWriter(Directory, IndexWriterConfig, RandomIndexWriter.TestPoint) - Static method in class org.apache.lucene.index.RandomIndexWriter
 
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
Uses LookaheadTokenFilter to randomly peek at future tokens.
MockRandomLookaheadTokenFilter(Random, TokenStream) - Constructor for class org.apache.lucene.analysis.MockRandomLookaheadTokenFilter
 
MockRandomMergePolicy - Class in org.apache.lucene.index
MergePolicy that makes random decisions for testing.
MockRandomMergePolicy(Random) - Constructor for class org.apache.lucene.index.MockRandomMergePolicy
 
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
 
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
Encodes ints directly as vInts with MockSingleIntIndexOutput
MockSingleIntFactory() - Constructor for class org.apache.lucene.codecs.mocksep.MockSingleIntFactory
 
MockSingleIntIndexInput - Class in org.apache.lucene.codecs.mocksep
Reads IndexInputs written with MockSingleIntIndexOutput.
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
MockTokenizer(AttributeSource.AttributeFactory, Reader, CharacterRunAutomaton, boolean) - Constructor for class org.apache.lucene.analysis.MockTokenizer
 
MockTokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.MockTokenizer
MockUTF16TermAttributeImpl - Class in org.apache.lucene.analysis
Extension of CharTermAttributeImpl that encodes the term text as UTF-16 bytes instead of as UTF-8 bytes.
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
 

N

NestedPulsingPostingsFormat - Class in org.apache.lucene.codecs.nestedpulsing
Pulsing(1, Pulsing(2, Lucene41))
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.
newDocument(int, int, BaseTermVectorsFormatTestCase.Options) - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomDocumentFactory
 
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
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
 
newMergePolicy(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
 
newMergePolicy() - 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.index.AssertingAtomicReader.AssertingDocsEnum
 
nextDoc() - Method in class org.apache.lucene.search.AssertingScorer
 
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
nextOrd() - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedSetDocValues
 
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
 
normsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.asserting.AssertingNormsFormat
 
normsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40RWNormsFormat
 
normsFormat() - Method in class org.apache.lucene.codecs.asserting.AssertingCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.cheapbastard.CheapBastardCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.compressing.FastCompressingCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.compressing.FastDecompressionCompressingCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.compressing.HighCompressionCompressingCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40RWCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.lucene41.Lucene41RWCodec
 
normsFormat() - Method in class org.apache.lucene.codecs.lucene42.Lucene42RWCodec
 
normsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.asserting.AssertingNormsFormat
 
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.AllDeletedFilterReader
 
numDocs() - Method in class org.apache.lucene.index.RandomIndexWriter
 

O

offsetAtt - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
 
OLD_FORMAT_IMPERSONATION_IS_ACTIVE - Static variable in class org.apache.lucene.util.LuceneTestCase
When true, Codecs for old Lucene version will support writing indexes in that format.
openInput(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat.MockIntFactory
 
openInput(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.mockintblock.MockVariableIntBlockPostingsFormat.MockIntFactory
 
openInput(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntFactory
 
openInput(String, IOContext) - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
org.apache.lucene.analysis - package org.apache.lucene.analysis
Support for testing analysis components.
org.apache.lucene.codecs - package org.apache.lucene.codecs
Codecs for testing (simulate old disk formats, wacky theoretical use cases, etc)
org.apache.lucene.codecs.appending - package org.apache.lucene.codecs.appending
Codec for generating test indexes in the Appending format
org.apache.lucene.codecs.asserting - package org.apache.lucene.codecs.asserting
Codec for testing that asserts various contracts of the codec apis.
org.apache.lucene.codecs.bloom - package org.apache.lucene.codecs.bloom
Support for generating test indexes using the BloomFilteringPostingsFormat
org.apache.lucene.codecs.cheapbastard - package org.apache.lucene.codecs.cheapbastard
Codec that unreasonably tries to use as little RAM as possible.
org.apache.lucene.codecs.compressing - package org.apache.lucene.codecs.compressing
Support for testing CompressingStoredFieldsFormat.
org.apache.lucene.codecs.compressing.dummy - package org.apache.lucene.codecs.compressing.dummy
Dummy CompressingCodec implementation used for testing.
org.apache.lucene.codecs.lucene3x - package org.apache.lucene.codecs.lucene3x
Support for generating test indexes in the Lucene 3.x index format.
org.apache.lucene.codecs.lucene40 - package org.apache.lucene.codecs.lucene40
Support for testing Lucene40PostingsFormat.
org.apache.lucene.codecs.lucene41 - package org.apache.lucene.codecs.lucene41
Support for testing Lucene41Codec.
org.apache.lucene.codecs.lucene41ords - package org.apache.lucene.codecs.lucene41ords
Codec for testing that supports TermsEnum.ord()
org.apache.lucene.codecs.lucene42 - package org.apache.lucene.codecs.lucene42
Support for testing Lucene42Codec.
org.apache.lucene.codecs.lucene45 - package org.apache.lucene.codecs.lucene45
Support for testing Lucene45Codec.
org.apache.lucene.codecs.mockintblock - package org.apache.lucene.codecs.mockintblock
Integer encoder implementations for testing.
org.apache.lucene.codecs.mockrandom - package org.apache.lucene.codecs.mockrandom
Frankenstein codec for testing that pieces together random components.
org.apache.lucene.codecs.mocksep - package org.apache.lucene.codecs.mocksep
Very simple implementations of org.apache.lucene.codecs.sep for testing.
org.apache.lucene.codecs.nestedpulsing - package org.apache.lucene.codecs.nestedpulsing
Codec for testing that wraps PulsingPostingsFormat with itself.
org.apache.lucene.codecs.ramonly - package org.apache.lucene.codecs.ramonly
Codec for testing that never writes to disk.
org.apache.lucene.index - package org.apache.lucene.index
Support for testing of indexes.
org.apache.lucene.search - package org.apache.lucene.search
Support for testing search components.
org.apache.lucene.store - package org.apache.lucene.store
Support for testing store mechanisms.
org.apache.lucene.util - package org.apache.lucene.util
General test support.
org.apache.lucene.util.automaton - package org.apache.lucene.util.automaton
Support for testing automata.
org.apache.lucene.util.fst - package org.apache.lucene.util.fst
Support for FST testing.
out - Variable in class org.apache.lucene.analysis.TokenStreamToDot
 
output - Variable in class org.apache.lucene.util.fst.FSTTester.InputOutput
 
outputPos - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
 
outputsEqual(T, T) - Method in class org.apache.lucene.util.fst.FSTTester
 

P

packCount - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
peekToken() - Method in class org.apache.lucene.analysis.LookaheadTokenFilter
Returns true if there is a new token.
posIncAtt - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
 
positions - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
 
posLenAtt - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter
 
postingsFormat() - Method in class org.apache.lucene.codecs.appending.AppendingRWCodec
 
postingsFormat() - Method in class org.apache.lucene.codecs.asserting.AssertingCodec
 
postingsFormat() - Method in class org.apache.lucene.codecs.cheapbastard.CheapBastardCodec
 
postingsFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
 
PREFLEX_IMPERSONATION_IS_ACTIVE - Static variable in class org.apache.lucene.util.LuceneTestCase
 
PreFlexRWCodec - Class in org.apache.lucene.codecs.lucene3x
Writes 3.x-like indexes (not perfect emulation yet) for testing only!
PreFlexRWCodec() - Constructor for class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
 
PreFlexRWSkipListWriter - Class in org.apache.lucene.codecs.lucene3x
PreFlexRW skiplist implementation.
PreFlexRWSkipListWriter(int, int, int, IndexOutput, IndexOutput) - Constructor for class org.apache.lucene.codecs.lucene3x.PreFlexRWSkipListWriter
 
PROPERTY_RUN_NESTED - Static variable in class org.apache.lucene.util.TestRuleIgnoreTestSuites
A boolean system property indicating nested suites should be executed normally.
purgeFieldCache(IndexReader) - Static method in class org.apache.lucene.search.QueryUtils
 

Q

queryNorm(float) - Method in class org.apache.lucene.search.RandomSimilarityProvider
 
QueryUtils - Class in org.apache.lucene.search
Utility class for sanity-checking queries.
QueryUtils() - Constructor for class org.apache.lucene.search.QueryUtils
 
QueryUtils.FCInvisibleMultiReader - Class in org.apache.lucene.search
This is a MultiReader that can be used for randomly wrapping other readers without creating FieldCache insanity.
QueryUtils.FCInvisibleMultiReader(IndexReader...) - Constructor for class org.apache.lucene.search.QueryUtils.FCInvisibleMultiReader
 
QuickPatchThreadsFilter - Class in org.apache.lucene.util
Last minute patches.
QuickPatchThreadsFilter() - Constructor for class org.apache.lucene.util.QuickPatchThreadsFilter
 

R

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
randomFilterStrategy(Random) - Static method in class org.apache.lucene.util._TestUtil
 
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
RandomIndexWriter.TestPoint - Interface in org.apache.lucene.index
Simple interface that is executed for each TP InfoStream component message.
randomInstance(Random, int, boolean) - Static method in class org.apache.lucene.codecs.compressing.CompressingCodec
Create a random instance.
randomInstance(Random) - Static method in class org.apache.lucene.codecs.compressing.CompressingCodec
Creates a random CompressingCodec that is using an empty segment suffix
randomInstance(Random, boolean) - Static method in class org.apache.lucene.codecs.compressing.CompressingCodec
Creates a random CompressingCodec that is using a segment suffix
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
randomOptions() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
randomPattern(Random) - Static method in class org.apache.lucene.util._TestUtil
Returns a valid (compiling) Pattern instance with random stuff inside.
randomPayload() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
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!
randomSet(int, int) - Static method in class org.apache.lucene.util.BaseDocIdSetTestCase
Create a random set which has numBitsSet of its numBits bits set.
randomSet(int, float) - Static method in class org.apache.lucene.util.BaseDocIdSetTestCase
Same as BaseDocIdSetTestCase.randomSet(int, int) but given a load factor.
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, int, 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
 
replaceMaxFailureRule(TestRuleIgnoreAfterMaxFailures) - Static method in class org.apache.lucene.util.LuceneTestCase
Temporarily substitute the global TestRuleIgnoreAfterMaxFailures.
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.MockTokenFilter
 
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
 
resetMaxUsedSizeInBytes() - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
resetSkip() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWSkipListWriter
 
resetSkip() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListWriter
Deprecated.
 
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.AssertingIndexSearcher
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.AssertingQuery
 
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.
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
 

S

s1 - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
 
s2 - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
 
score() - Method in class org.apache.lucene.search.AssertingScorer
 
score(Collector) - Method in class org.apache.lucene.search.AssertingScorer
 
score(Collector, int, int) - Method in class org.apache.lucene.search.AssertingScorer
 
search(List<AtomicReaderContext>, Weight, Collector) - Method in class org.apache.lucene.search.AssertingIndexSearcher
 
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
 
segmentInfoFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40RWCodec
 
segmentInfoFormat() - Method in class org.apache.lucene.codecs.lucene41.Lucene41RWCodec
 
segmentInfoFormat() - Method in class org.apache.lucene.codecs.lucene42.Lucene42RWCodec
 
segmentInfoFormat() - Method in class org.apache.lucene.codecs.lucene45.Lucene45RWCodec
 
setAssertNoUnrefencedFilesOnClose(boolean) - Method in class org.apache.lucene.store.MockDirectoryWrapper
 
setBoost(float) - Method in class org.apache.lucene.search.AssertingQuery
 
setBytesRef(BytesRef) - Method in interface org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttribute
Set the current binary value.
setBytesRef(BytesRef) - Method in class org.apache.lucene.analysis.CannedBinaryTokenStream.BinaryTermAttributeImpl
 
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
 
setDocument(int) - Method in class org.apache.lucene.index.AssertingAtomicReader.AssertingSortedSetDocValues
 
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
 
setField(FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
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
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.AssertingCollector
 
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.
setRandomIOExceptionRateOnOpen(double) - Method in class org.apache.lucene.store.MockDirectoryWrapper
If 0.0, no exceptions will be thrown during openInput and createOutput.
setScorer(Scorer) - Method in class org.apache.lucene.search.AssertingCollector
 
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.
setSkipData(int, boolean, int, boolean, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListWriter
Deprecated.
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.index.BaseDocValuesFormatTestCase
 
setUp() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
setUp() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
setUp() - Method in class org.apache.lucene.util.LuceneTestCase
For subclasses to override.
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
Shutdown ExecutorService and wait for its.
SIMPLE - Static variable in class org.apache.lucene.analysis.MockTokenizer
Acts like LetterTokenizer.
size(SegmentCommitInfo) - 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(IndexOutput) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
start(int, double, int) - Method in class org.apache.lucene.search.ShardSearchingTestBase
 
startDoc(int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
startOffset - Variable in class org.apache.lucene.analysis.LookaheadTokenFilter.Position
 
startTerm() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
stopword - Static variable in class org.apache.lucene.search.SearchEquivalenceTestBase
 
storedFieldsFormat() - Method in class org.apache.lucene.codecs.asserting.AssertingCodec
 
storedFieldsFormat() - Method in class org.apache.lucene.codecs.cheapbastard.CheapBastardCodec
 
storedFieldsFormat() - Method in class org.apache.lucene.codecs.compressing.CompressingCodec
 
storedFieldsFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
 
storedFieldsFormat() - Method in class org.apache.lucene.codecs.lucene41.Lucene41RWCodec
 
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.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_FAILFAST - Static variable in class org.apache.lucene.util.LuceneTestCase
 
SYSPROP_MAXFAILURES - 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
 

T

tearDown() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
tearDown() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
tearDown() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
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
 
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.cheapbastard.CheapBastardCodec
 
termVectorsFormat() - Method in class org.apache.lucene.codecs.compressing.CompressingCodec
 
termVectorsFormat() - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWCodec
 
test1Bit() - Method in class org.apache.lucene.util.BaseDocIdSetTestCase
Test length=1.
test2Bits() - Method in class org.apache.lucene.util.BaseDocIdSetTestCase
Test length=2.
TEST_AWAITSFIX - Static variable in class org.apache.lucene.util.LuceneTestCase
Whether or not LuceneTestCase.AwaitsFix tests should run.
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_DOCVALUESFORMAT - Static variable in class org.apache.lucene.util.LuceneTestCase
Gets the docValuesFormat 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
Whether or not LuceneTestCase.Nightly tests should run.
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
Whether or not LuceneTestCase.Slow tests should run.
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
Whether or not LuceneTestCase.Weekly tests should run.
testAgainstBitSet() - Method in class org.apache.lucene.util.BaseDocIdSetTestCase
Compare the content of the set against a BitSet.
testBigDocuments() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testBigNumericRange() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testBigNumericRange2() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testBinaryFieldOffsetLength() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testBinaryFixedLengthVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testBinaryVariableLengthVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
TestBloomFilteredLucene41Postings - Class in org.apache.lucene.codecs.bloom
A class used for testing BloomFilteringPostingsFormat with a concrete delegate (Lucene41).
TestBloomFilteredLucene41Postings() - Constructor for class org.apache.lucene.codecs.bloom.TestBloomFilteredLucene41Postings
 
testBooleanNumericsVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testByteMissingVsFieldCache() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testByteNumericsVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testBytesTwoDocumentsMerged() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testBytesWithNewline() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testClone() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
testCodecUsesOwnBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testCodecUsesOwnBytesEachTime() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testCodecUsesOwnSortedBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testCodecUsesOwnSortedBytesEachTime() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testCollationKeySort(Analyzer, Analyzer, Analyzer, Analyzer, String, String, String, String) - Method in class org.apache.lucene.analysis.CollationTestBase
 
testConcurrentReads() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testDateCompression() - Method in class org.apache.lucene.index.BaseCompressingDocValuesFormatTestCase
 
testDocsAndFreqs() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositions() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositionsAndOffsets() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositionsAndOffsetsAndPayloads() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositionsAndPayloads() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
testDocsOnly() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
testDocValuesSimple() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testEmptyBinaryValueOnPageSizes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testEmptyBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testEmptyDocs() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testEmptySortedBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
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
 
testGCDCompression() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testHighFreqs() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
testHugeBinaryValueLimit() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testHugeBinaryValues() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testIndexedBit() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testIntMissingVsFieldCache() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testIntNumericsVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testLongMissingVsFieldCache() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testLongNumericsVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testLotsOfFields() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
testMerge() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
testMissingSortedBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testMixedOptions() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
testNoBit() - Method in class org.apache.lucene.util.BaseDocIdSetTestCase
Test length=0.
testNumericField() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testOneFloat() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testOneNumber() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testRandom() - Method in class org.apache.lucene.index.BasePostingsFormatTestCase
 
testRandom() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
testRandomSortedBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testRandomStoredFields() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testRareVectors() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase
 
testReadSkip() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
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
Stores the suite name so you can retrieve it from TestRuleStoreClassName.getTestClass()
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
A SecurityManager that prevents tests calling System.exit(int).
TestSecurityManager() - Constructor for class org.apache.lucene.util.TestSecurityManager
Creates a new TestSecurityManager.
testShortMissingVsFieldCache() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testShortNumericsVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSingleBigValueCompression() - Method in class org.apache.lucene.index.BaseCompressingDocValuesFormatTestCase
 
testSortedBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedBytesThreeDocuments() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedBytesTwoDocuments() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedBytesTwoDocumentsMerged() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedFixedLengthVsFieldCache() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedFixedLengthVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedMergeAwayAllValues() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetFixedLengthSingleValuedVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetFixedLengthVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetFixedLengthVsUninvertedField() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetMergeAwayAllValues() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetOneValue() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTermsEnum() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetThreeValuesTwoDocs() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsFirstMissing() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsFirstMissingMerge() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsLastMissing() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsLastMissingMerge() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsMerged() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoValues() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoValuesUnordered() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetVariableLengthSingleValuedVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetVariableLengthVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedSetVariableLengthVsUninvertedField() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedTermsEnum() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedVariableLengthVsFieldCache() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testSortedVariableLengthVsStoredFields() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testStarted(Description) - Method in class org.apache.lucene.util.RunListenerPrintReproduceInfo
 
testStoredFieldsOrder() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testThreads() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
Tests dv against stored fields with threads (binary/numeric/sorted, no missing)
testThreads2() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
Tests dv against stored fields with threads (all types + missing)
testThreeBytesOneMissingWithMerging() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testThreeFieldsMixed() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testThreeFieldsMixed2() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testThreeNumbersOneMissingWithMerging() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoBinaryValues() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoBytesOneMissing() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoBytesOneMissingWithMerging() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoDocumentsMerged() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoDocumentsNumeric() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoFieldsMixed() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoNumbers() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoNumbersOneMissing() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testTwoNumbersOneMissingWithMerging() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testUniqueValuesCompression() - Method in class org.apache.lucene.index.BaseCompressingDocValuesFormatTestCase
 
testVeryLargeButLegalBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testVeryLargeButLegalSortedBytes() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testWriteReadMerge() - Method in class org.apache.lucene.index.BaseStoredFieldsFormatTestCase
 
testZeroOrMin() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
testZeros() - Method in class org.apache.lucene.index.BaseDocValuesFormatTestCase
 
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.
toDocument() - Method in class org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomDocument
 
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.compressing.CompressingCodec
 
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.AssertingIndexSearcher
 
toString(String) - Method in class org.apache.lucene.search.AssertingQuery
 
toString() - Method in class org.apache.lucene.search.RandomSimilarityProvider
 
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
 

U

unzip(File, File) - Static method in class org.apache.lucene.util._TestUtil
Convenience method: Unzip zipName + ".zip" under destDir, removing destDir first
updateDocument(Term, Iterable<T>) - Method in class org.apache.lucene.index.RandomIndexWriter
Updates a document.
updateDocument(Term, Iterable<? extends IndexableField>) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
updateDocuments(Term, Iterable<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.index.RandomIndexWriter
 
updateDocuments(Term, List<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
updateNodeVersion(int, long) - Method in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
 
updateNumericDocValue(Term, String, Long) - Method in class org.apache.lucene.index.RandomIndexWriter
 
useCompoundFile(SegmentInfos, SegmentCommitInfo) - Method in class org.apache.lucene.index.MockRandomMergePolicy
 
usually(Random) - Static method in class org.apache.lucene.util.LuceneTestCase
 
usually() - Static method in class org.apache.lucene.util.LuceneTestCase
 

V

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

W

w - Variable in class org.apache.lucene.index.RandomIndexWriter
 
wasSuccessful() - Method in class org.apache.lucene.util.TestRuleMarkFailure
Check if this object was successful (the opposite of TestRuleMarkFailure.hadFailures()).
WHITESPACE - Static variable in class org.apache.lucene.analysis.MockTokenizer
Acts Similar to WhitespaceTokenizer
WHITESPACE_CHARACTERS - Static variable in class org.apache.lucene.util._TestUtil
List of characters that match Character.isWhitespace(char)
wrap(Random, Collector, boolean) - Static method in class org.apache.lucene.search.AssertingCollector
 
wrap(Random, Query) - Static method in class org.apache.lucene.search.AssertingQuery
Wrap a query if necessary.
wrapFilter(Query, Filter) - Method in class org.apache.lucene.search.AssertingIndexSearcher
 
wrapUnderlyingReader(Random, IndexSearcher, int) - Static method in class org.apache.lucene.search.QueryUtils
Given an IndexSearcher, returns a new IndexSearcher whose IndexReader is a MultiReader containing the Reader of the original IndexSearcher, as well as several "empty" IndexReaders -- some of which will have deleted documents in them.
write(Directory, String, String, FieldInfos, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter
Deprecated.
 
write(Directory, SegmentInfo, FieldInfos, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoWriter
Deprecated.
Save a single segment's info.
write(Directory, String, String, FieldInfos, IOContext) - Method in class org.apache.lucene.codecs.lucene42.Lucene42FieldInfosWriter
Deprecated.
 
write(int) - Method in class org.apache.lucene.codecs.mocksep.MockSingleIntIndexOutput
Write an int to the primary file
writeArc(int, int, String, String) - Method in class org.apache.lucene.analysis.TokenStreamToDot
 
writeByte(byte) - Method in class org.apache.lucene.store.MockIndexOutputWrapper
 
writeByte(byte) - Method in class org.apache.lucene.util.ThrottledIndexOutput
 
writeBytes(byte[], int, int) - Method in class org.apache.lucene.store.MockIndexOutputWrapper
 
writeBytes(byte[], int, int) - Method in class org.apache.lucene.util.ThrottledIndexOutput
 
writeHeader() - Method in class org.apache.lucene.analysis.TokenStreamToDot
Override to customize.
writeHeader(IndexOutput) - Method in class org.apache.lucene.codecs.appending.AppendingTermsWriter
 
writeIndexHeader(IndexOutput) - Method in class org.apache.lucene.codecs.appending.AppendingTermsWriter
 
writeIndexTrailer(IndexOutput, long) - Method in class org.apache.lucene.codecs.appending.AppendingTermsWriter
 
writeNode(int, String) - Method in class org.apache.lucene.analysis.TokenStreamToDot
 
writer - Variable in class org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase
 
writer - Variable in class org.apache.lucene.search.ShardSearchingTestBase.NodeState
 
writeSkipData(int, IndexOutput) - Method in class org.apache.lucene.codecs.lucene3x.PreFlexRWSkipListWriter
 
writeSkipData(int, IndexOutput) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListWriter
Deprecated.
 
writeTrailer() - Method in class org.apache.lucene.analysis.TokenStreamToDot
Override to customize.
writeTrailer(IndexOutput, long) - Method in class org.apache.lucene.codecs.appending.AppendingTermsWriter
 

_

_TestHelper - Class in org.apache.lucene.store
This class provides access to package-level features defined in the store package.
_TestHelper() - Constructor for class org.apache.lucene.store._TestHelper
 
_TestUtil - Class in org.apache.lucene.util
General utility methods for Lucene unit tests.
_TestUtil() - Constructor for class org.apache.lucene.util._TestUtil
 
A B C D E F G H I J K L M N O P Q R S T U V W _ 

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.