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

A

accept(T) - Method in interface org.apache.lucene.tests.util.LuceneTestCase.ThrowingConsumer
 
accumulateArray(Object, long, List<Object>, Collection<Object>) - Method in class org.apache.lucene.tests.util.RamUsageTester.Accumulator
Accumulate transitive references for the provided values of the given array into queue and return the shallow size of this array.
accumulateObject(Object, long, Map<Field, Object>, Collection<Object>) - Method in class org.apache.lucene.tests.util.RamUsageTester.Accumulator
Accumulate transitive references for the provided fields of the given object into queue and return the shallow size of this object.
Accumulator() - Constructor for class org.apache.lucene.tests.util.RamUsageTester.Accumulator
 
acquire() - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
acquire(long[]) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
add(AttributeSource.State) - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
addAttributes(FieldInfo) - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Hook to add any codec attributes to fieldinfo instances added in this test.
addCircle(double, double, double, boolean) - Method in class org.apache.lucene.tests.geo.EarthDebugger
 
addCount - Variable in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
addDocument(Iterable<T>) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
Adds a Document.
addDocument(Term, Iterable<? extends IndexableField>) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
addDocuments(Iterable<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
addDocuments(Term, List<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
addId(Document, String) - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
addIndexes(CodecReader...) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
addIndexes(Directory...) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
addIndexesSlowly(IndexWriter, DirectoryReader...) - Static method in class org.apache.lucene.tests.util.TestUtil
 
addLatLine(double, double, double) - Method in class org.apache.lucene.tests.geo.EarthDebugger
Draws a line a fixed latitude, spanning the min/max longitude
addLonLine(double, double, double) - Method in class org.apache.lucene.tests.geo.EarthDebugger
Draws a line a fixed longitude, spanning the min/max latitude
addOffCorrectMap(int, int) - Method in class org.apache.lucene.tests.analysis.MockCharFilter
 
addPoint(double, double) - Method in class org.apache.lucene.tests.geo.EarthDebugger
 
addPointToDoc(String, Document, double, double) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
addPointToDoc(String, Document, float, float) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
addPolygon(Polygon) - Method in class org.apache.lucene.tests.geo.EarthDebugger
 
addPolygon(Polygon, String) - Method in class org.apache.lucene.tests.geo.EarthDebugger
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Add random fields to the provided document.
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
addRandomFields(Document) - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
addRange(Document, BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
addRect(double, double, double, double) - Method in class org.apache.lucene.tests.geo.EarthDebugger
 
addRect(double, double, double, double, String) - Method in class org.apache.lucene.tests.geo.EarthDebugger
 
addVirusChecker(Path) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
advance(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
advance(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
advance(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
advance(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
advance(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
advance(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
advance(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
advance(int) - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
advanceExact(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
advanceExact(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
advanceExact(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
advanceExact(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
advanceExact(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
advanceShallow(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
advanceShallow(int) - Method in class org.apache.lucene.tests.search.AssertingScorer
 
afterAlways(List<Throwable>) - Method in class org.apache.lucene.tests.util.TestRuleLimitSysouts
 
afterAlways(List<Throwable>) - Method in class org.apache.lucene.tests.util.TestRuleRestoreSystemProperties
 
afterClass() - Static method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
afterClass() - Static method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
afterClass() - Static method in class org.apache.lucene.tests.search.similarities.BaseSimilarityTestCase
 
afterClassTestExplanations() - Static method in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
afterIfSuccessful() - Method in class org.apache.lucene.tests.util.TestRuleLimitSysouts
We're only interested in failing the suite if it was successful (otherwise just propagate the original problem and don't bother doing anything else).
afterPosition() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
This is called when all input tokens leaving a given position have been returned.
afterPosition() - Method in class org.apache.lucene.tests.analysis.MockGraphTokenFilter
 
afterPosition() - Method in class org.apache.lucene.tests.analysis.MockRandomLookaheadTokenFilter
 
AlcoholicMergePolicy - Class in org.apache.lucene.tests.index
Merge policy for testing, it is like an alcoholic.
AlcoholicMergePolicy(TimeZone, Random) - Constructor for class org.apache.lucene.tests.index.AlcoholicMergePolicy
 
all - Static variable in class org.apache.lucene.tests.index.DocHelper
 
AllDeletedFilterReader - Class in org.apache.lucene.tests.index
Filters the incoming reader and makes all documents appear deleted.
AllDeletedFilterReader(LeafReader) - Constructor for class org.apache.lucene.tests.index.AllDeletedFilterReader
 
ALTFIELD - Static variable in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
ALWAYS - org.apache.lucene.tests.store.MockDirectoryWrapper.Throttling
always emulate a slow hard disk.
alwaysDocValuesFormat(DocValuesFormat) - Static method in class org.apache.lucene.tests.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.tests.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.tests.search.BaseExplanationTestCase
 
analyzer - Static variable in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
anyFilesExceptWriteLock(Directory) - Static method in class org.apache.lucene.tests.util.TestUtil
 
apply(String) - Method in interface org.apache.lucene.tests.index.RandomIndexWriter.TestPoint
 
apply(Statement, Description) - Method in class org.apache.lucene.tests.util.TestRuleAssertionsRequired
 
apply(Statement, Description) - Method in class org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures
 
apply(Statement, Description) - Method in class org.apache.lucene.tests.util.TestRuleIgnoreTestSuites
 
apply(Statement, Description) - Method in class org.apache.lucene.tests.util.TestRuleMarkFailure
 
apply(Statement, Description) - Method in class org.apache.lucene.tests.util.TestRuleStoreClassName
 
applyCreatedVersionMajor(D) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Set the created version of the given Directory and return it.
applyDeletes(SegmentInfos, int) - Static method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Apply numDeletes uniformly across all segments of infos.
applyMerge(SegmentInfos, MergePolicy.OneMerge, String, BaseMergePolicyTestCase.IOStats) - Static method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Apply a merge to a SegmentInfos instance, accumulating the number of written bytes into stats.
arcCount - Variable in class org.apache.lucene.tests.util.fst.FSTTester
 
assertAnalyzesTo(Analyzer, String, String[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[], int[], boolean) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[], int[], boolean, byte[][]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], int[], int[], String[], int[], int[], float[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesTo(Analyzer, String, String[], String[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesToPositions(Analyzer, String, String[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAnalyzesToPositions(Analyzer, String, String[], String[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertAttributeReflection(AttributeImpl, Map<String, T>) - Static method in class org.apache.lucene.tests.util.TestUtil
Checks some basic behaviour of an AttributeImpl
assertConsistent(TopDocs, TopDocs) - Static method in class org.apache.lucene.tests.util.TestUtil
Assert that the given TopDocs have the same top docs and consistent hit counts.
assertDeletedDocsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
 
assertDocsAndPositionsEnumEquals(String, PostingsEnum, PostingsEnum) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks docs + freqs + positions + payloads, sequentially
assertDocsEnumEquals(String, PostingsEnum, PostingsEnum, boolean) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks docs + freqs, sequentially
assertDocsSkippingEquals(String, IndexReader, int, PostingsEnum, PostingsEnum, boolean) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks advancing docs
assertDocValuesEquals(String, int, NumericDocValues, NumericDocValues) - Method in class org.apache.lucene.tests.util.LuceneTestCase
 
assertDocValuesEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks that docvalues across all fields are equivalent
assertDoubleUlpEquals(double, double, int) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
assertDVIterate(Directory) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
assertEqualArrays(String, byte[], byte[], int, int) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
assertEquals(int, BitSet, T) - Method in class org.apache.lucene.tests.util.BaseDocIdSetTestCase
Assert that the content of the DocIdSet is the same as the content of the BitSet.
assertEquals(FieldInfo, FieldInfo) - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
equality for two individual fieldinfo objects
assertEquals(FieldInfos, FieldInfos) - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
equality for entirety of fieldinfos
assertEquals(SegmentInfo, SegmentInfo) - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
 
assertEquals(BaseTermVectorsFormatTestCase.RandomDocument, Fields) - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
assertEquals(BaseTermVectorsFormatTestCase.RandomTokenStream, FieldType, Terms) - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
assertEquals(BitSet, T, int) - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
 
assertFieldInfosEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
 
assertFloatUlpEquals(float, float, short) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
assertGraphStrings(Analyzer, String, String...) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Enumerates all accepted strings in the token graph created by the analyzer on the provided text, and then asserts that it's equal to the expected strings.
assertGraphStrings(TokenStream, String...) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Enumerates all accepted strings in the token graph created by the already initialized TokenStream.
AssertingBinaryDocValues(BinaryDocValues, int) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
AssertingBits(Bits) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBits
 
AssertingCodec - Class in org.apache.lucene.tests.codecs.asserting
Acts like the default codec but with additional asserts.
AssertingCodec() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
AssertingCollector - Class in org.apache.lucene.tests.search
A collector that asserts that it is used correctly.
AssertingDirectoryReader - Class in org.apache.lucene.tests.index
A DirectoryReader that wraps all its subreaders with AssertingLeafReader
AssertingDirectoryReader(DirectoryReader) - Constructor for class org.apache.lucene.tests.index.AssertingDirectoryReader
 
AssertingDocValuesFormat - Class in org.apache.lucene.tests.codecs.asserting
Just like the default but with additional asserts.
AssertingDocValuesFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingDocValuesFormat
 
AssertingFields(Fields) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingFields
 
AssertingIndexSearcher - Class in org.apache.lucene.tests.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.tests.search.AssertingIndexSearcher
 
AssertingIndexSearcher(Random, IndexReaderContext) - Constructor for class org.apache.lucene.tests.search.AssertingIndexSearcher
 
AssertingIndexSearcher(Random, IndexReaderContext, ExecutorService) - Constructor for class org.apache.lucene.tests.search.AssertingIndexSearcher
 
AssertingIndexSearcher(Random, IndexReader, ExecutorService) - Constructor for class org.apache.lucene.tests.search.AssertingIndexSearcher
 
AssertingKnnVectorsFormat - Class in org.apache.lucene.tests.codecs.asserting
Wraps the default KnnVectorsFormat and provides additional assertions.
AssertingKnnVectorsFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingKnnVectorsFormat
 
AssertingLeafReader - Class in org.apache.lucene.tests.index
A FilterLeafReader that can be used to apply additional checks for tests.
AssertingLeafReader(LeafReader) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader
 
AssertingLeafReader.AssertingBinaryDocValues - Class in org.apache.lucene.tests.index
Wraps a BinaryDocValues but with additional asserts
AssertingLeafReader.AssertingBits - Class in org.apache.lucene.tests.index
Wraps a Bits but with additional asserts
AssertingLeafReader.AssertingFields - Class in org.apache.lucene.tests.index
Wraps a Fields but with additional asserts
AssertingLeafReader.AssertingImpactsEnum - Class in org.apache.lucene.tests.index
Wraps a ImpactsEnum with additional checks
AssertingLeafReader.AssertingNumericDocValues - Class in org.apache.lucene.tests.index
Wraps a NumericDocValues but with additional asserts
AssertingLeafReader.AssertingPointValues - Class in org.apache.lucene.tests.index
Wraps a SortedSetDocValues but with additional asserts
AssertingLeafReader.AssertingPostingsEnum - Class in org.apache.lucene.tests.index
Wraps a docsenum with additional checks
AssertingLeafReader.AssertingSortedDocValues - Class in org.apache.lucene.tests.index
Wraps a SortedDocValues but with additional asserts
AssertingLeafReader.AssertingSortedNumericDocValues - Class in org.apache.lucene.tests.index
Wraps a SortedNumericDocValues but with additional asserts
AssertingLeafReader.AssertingSortedSetDocValues - Class in org.apache.lucene.tests.index
Wraps a SortedSetDocValues but with additional asserts
AssertingLeafReader.AssertingStoredFields - Class in org.apache.lucene.tests.index
Wraps a StoredFields but with additional asserts
AssertingLeafReader.AssertingTerms - Class in org.apache.lucene.tests.index
Wraps a Terms but with additional asserts
AssertingLeafReader.AssertingTermVectors - Class in org.apache.lucene.tests.index
Wraps a TermVectors but with additional asserts
AssertingLiveDocsFormat - Class in org.apache.lucene.tests.codecs.asserting
Just like the default live docs format but with additional asserts.
AssertingLiveDocsFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingLiveDocsFormat
 
AssertingMatches - Class in org.apache.lucene.tests.search
An implementation of Matches with additional consistency checks.
AssertingMatches(Matches) - Constructor for class org.apache.lucene.tests.search.AssertingMatches
 
AssertingNormsFormat - Class in org.apache.lucene.tests.codecs.asserting
Just like the default but with additional asserts.
AssertingNormsFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingNormsFormat
 
AssertingNumericDocValues(NumericDocValues, int) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
AssertingPointsFormat - Class in org.apache.lucene.tests.codecs.asserting
Just like the default point format but with additional asserts.
AssertingPointsFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingPointsFormat
Create a new AssertingPointsFormat
AssertingPointsFormat(PointsFormat) - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingPointsFormat
Expert: Create an AssertingPointsFormat.
AssertingPointValues(PointValues, int) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
Sole constructor.
AssertingPostingsEnum(PostingsEnum) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
AssertingPostingsFormat - Class in org.apache.lucene.tests.codecs.asserting
Just like the default postings format but with additional asserts.
AssertingPostingsFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingPostingsFormat
 
AssertingQuery - Class in org.apache.lucene.tests.search
Assertion-enabled query.
AssertingQuery(Random, Query) - Constructor for class org.apache.lucene.tests.search.AssertingQuery
Sole constructor.
AssertingScorable - Class in org.apache.lucene.tests.search
Wraps another Scorable and asserts that scores are reasonable and only called when positioned
AssertingScorable(Scorable) - Constructor for class org.apache.lucene.tests.search.AssertingScorable
 
AssertingScorer - Class in org.apache.lucene.tests.search
Wraps a Scorer with additional checks
AssertingSimilarity - Class in org.apache.lucene.tests.search.similarities
wraps a similarity with checks for testing
AssertingSimilarity(Similarity) - Constructor for class org.apache.lucene.tests.search.similarities.AssertingSimilarity
 
AssertingSortedDocValues(SortedDocValues, int) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
AssertingStoredFields(StoredFields) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingStoredFields
 
AssertingStoredFieldsFormat - Class in org.apache.lucene.tests.codecs.asserting
Just like the default stored fields format but with additional asserts.
AssertingStoredFieldsFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingStoredFieldsFormat
 
AssertingTerms(Terms) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
AssertingTermVectors(TermVectors) - Constructor for class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTermVectors
 
AssertingTermVectorsFormat - Class in org.apache.lucene.tests.codecs.asserting
Just like the default vectors format but with additional asserts.
AssertingTermVectorsFormat() - Constructor for class org.apache.lucene.tests.codecs.asserting.AssertingTermVectorsFormat
 
assertIsLeafMatch(Query, String) - Method in class org.apache.lucene.tests.search.MatchesTestBase
Assert that query matches from a field are all leaf matches and do not contain sub matches
assertMerge(MergePolicy, MergePolicy.MergeSpecification) - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Assert that the given merge matches expectations of the merge policy.
assertMergedSegmentsWarmed - Variable in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
assertNoDetachedStates(Automaton) - Static method in class org.apache.lucene.tests.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.tests.util.LuceneTestCase
checks that norms are the same across all fields
assertPointsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
 
assertPositionsSkippingEquals(String, IndexReader, int, PostingsEnum, PostingsEnum) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks advancing docs + positions
assertReaderEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
 
assertReaderStatisticsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks that reader-level statistics are the same
assertReused(String, PostingsEnum, PostingsEnum) - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
assertSameScores(Query, Query) - Method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
Assert that two queries return the same documents and with the same scores.
assertSameScores(Query, Query, Query) - Method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
assertSameSeekBehavior(String, IndexInput, IndexInput) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
assertSameSet(Query, Query) - Method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
Asserts that the documents returned by q1 are the same as of those returned by q2
assertSameStreams(String, IndexInput, IndexInput) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
assertSameStreams(String, IndexInput, IndexInput, long) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
assertsAreEnabled - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
True if assertions (-ea) are enabled (at least for this class).
assertSegmentInfos(MergePolicy, SegmentInfos) - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Assert that the given segment infos match expectations of the merge policy, assuming segments that have only been either flushed or merged with this merge policy.
assertStoredFieldEquals(String, IndexableField, IndexableField) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks that two stored fields are equivalent
assertStoredFieldsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks that stored fields of all documents are the same
assertStreamHasNumberOfTokens(TokenStream, int) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Asserts that the given stream has expected number of tokens.
assertSubsetOf(Query, Query) - Method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
Asserts that the documents returned by q1 are a subset of those returned by q2
assertSubsetOf(Query, Query, Query) - Method in class org.apache.lucene.tests.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.tests.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, IndexReader, boolean) - Method in class org.apache.lucene.tests.util.LuceneTestCase
Fields api equivalency
assertTermsEquals(String, IndexReader, Terms, Terms, boolean) - Method in class org.apache.lucene.tests.util.LuceneTestCase
Terms api equivalency
assertTermsStatisticsEquals(String, Terms, Terms) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks collection-level statistics on Terms
assertTermStatsEquals(String, TermsEnum, TermsEnum) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks term-level statistics
assertTermVectorsEquals(String, IndexReader, IndexReader) - Method in class org.apache.lucene.tests.util.LuceneTestCase
checks that term vectors across all fields are equivalent
assertThreadSafe(Analyzer) - Method in class org.apache.lucene.tests.analysis.CollationTestBase
 
assertTokenStreamContents(TokenStream, String[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], int[], int[], Integer) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], int[], Integer) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], Integer) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, boolean) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, boolean[], boolean) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, boolean[], boolean, float[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, boolean, float[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, float[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, Integer, boolean[], boolean, byte[][]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, Integer, boolean[], boolean, byte[][], int[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], int[], Integer, Integer, boolean[], boolean, byte[][], int[], float[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], int[], int[], String[], int[], Integer) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertTokenStreamContents(TokenStream, String[], String[]) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
assertVocabulary(Analyzer, InputStream) - Static method in class org.apache.lucene.tests.analysis.VocabularyAssert
Run a vocabulary test against one file: tab separated.
assertVocabulary(Analyzer, InputStream, InputStream) - Static method in class org.apache.lucene.tests.analysis.VocabularyAssert
Run a vocabulary test against two data files.
assertVocabulary(Analyzer, Path, String) - Static method in class org.apache.lucene.tests.analysis.VocabularyAssert
Run a vocabulary test against a tab-separated data file inside a zip file
assertVocabulary(Analyzer, Path, String, String) - Static method in class org.apache.lucene.tests.analysis.VocabularyAssert
Run a vocabulary test against two data files inside a zip file
asSet(T...) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Return args as a Set instance.
assumeFalse(String, boolean) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
assumeNoException(String, Exception) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
assumeTrue(String, boolean) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
assumeWorkingMMapOnWindows() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Assumes that the current MMapDirectory implementation supports unmapping, so the test will not fail on Windows.
atLeast(int) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
atLeast(Random, int) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a number of at least i
attributeFactory(String) - Method in class org.apache.lucene.tests.analysis.MockBytesAnalyzer
 
AutomatonTestUtil - Class in org.apache.lucene.tests.util.automaton
Utilities for testing automata.
AutomatonTestUtil() - Constructor for class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
 
AutomatonTestUtil.RandomAcceptedStrings - Class in org.apache.lucene.tests.util.automaton
Lets you retrieve random strings accepted by an Automaton.
available() - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
avoidCodecs - Variable in class org.apache.lucene.tests.index.RandomCodec
 

B

BaseBitSetTestCase<T extends BitSet> - Class in org.apache.lucene.tests.util
Base test case for BitSets.
BaseBitSetTestCase() - Constructor for class org.apache.lucene.tests.util.BaseBitSetTestCase
 
BaseChunkedDirectoryTestCase - Class in org.apache.lucene.tests.store
Base class for Directories that "chunk" the input into blocks.
BaseChunkedDirectoryTestCase() - Constructor for class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
BaseCompoundFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class to do basic tests for a compound format.
BaseCompoundFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
BaseCompressingDocValuesFormatTestCase - Class in org.apache.lucene.tests.index
Extends BaseDocValuesFormatTestCase to add compression checks.
BaseCompressingDocValuesFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseCompressingDocValuesFormatTestCase
 
BaseDirectoryTestCase - Class in org.apache.lucene.tests.store
Base class for Directory implementations.
BaseDirectoryTestCase() - Constructor for class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
BaseDirectoryWrapper - Class in org.apache.lucene.tests.store
Calls check index on close.
BaseDirectoryWrapper(Directory) - Constructor for class org.apache.lucene.tests.store.BaseDirectoryWrapper
 
BaseDocIdSetTestCase<T extends DocIdSet> - Class in org.apache.lucene.tests.util
Base test class for DocIdSets.
BaseDocIdSetTestCase() - Constructor for class org.apache.lucene.tests.util.BaseDocIdSetTestCase
 
BaseDocValuesFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class to do basic tests for a docvalues format.
BaseDocValuesFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
BaseExplanationTestCase - Class in org.apache.lucene.tests.search
Tests primitive queries (ie: that rewrite to themselves) to insure they match the expected set of docs, and that the score of each match is equal to the value of the scores explanation.
BaseExplanationTestCase() - Constructor for class org.apache.lucene.tests.search.BaseExplanationTestCase
 
BaseFieldInfoFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class to do basic tests for fis format.
BaseFieldInfoFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
 
BaseGeoPointTestCase - Class in org.apache.lucene.tests.geo
Abstract class to do basic tests for a geospatial impl (high level fields and queries) NOTE: This test focuses on geospatial (distance queries, polygon queries, etc) indexing and search, not any underlying storage format or encoding: it merely supplies two hooks for the encoding so that tests can be exact.
BaseGeoPointTestCase() - Constructor for class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
BaseIndexFileFormatTestCase - Class in org.apache.lucene.tests.index
Common tests to all index formats.
BaseIndexFileFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
 
BaseIndexFileFormatTestCase.FileTrackingDirectoryWrapper - Class in org.apache.lucene.tests.index
A directory that tracks created files that haven't been deleted.
BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper - Class in org.apache.lucene.tests.index
A directory that tracks read bytes.
BaseKnnVectorsFormatTestCase - Class in org.apache.lucene.tests.index
Base class aiming at testing vectors formats.
BaseKnnVectorsFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
BaseLiveDocsFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class that performs basic testing of a codec's LiveDocsFormat.
BaseLiveDocsFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
 
BaseLockFactoryTestCase - Class in org.apache.lucene.tests.store
Base class for per-LockFactory tests.
BaseLockFactoryTestCase() - Constructor for class org.apache.lucene.tests.store.BaseLockFactoryTestCase
 
BaseMergePolicyTestCase - Class in org.apache.lucene.tests.index
Base test case for MergePolicy.
BaseMergePolicyTestCase() - Constructor for class org.apache.lucene.tests.index.BaseMergePolicyTestCase
 
BaseMergePolicyTestCase.IOStats - Class in org.apache.lucene.tests.index
Statistics about bytes written to storage.
BaseMergePolicyTestCase.MockMergeContext - Class in org.apache.lucene.tests.index
Simple mock merge context for tests
BaseNormsFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class to do basic tests for a norms format.
BaseNormsFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
BasePointsFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class to do basic tests for a points format.
BasePointsFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
BasePostingsFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class to do basic tests for a postings format.
BasePostingsFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
BaseRangeFieldQueryTestCase - Class in org.apache.lucene.tests.search
Abstract class to do basic tests for a RangeField query.
BaseRangeFieldQueryTestCase() - Constructor for class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
BaseRangeFieldQueryTestCase.Range - Class in org.apache.lucene.tests.search
base class for range verification
BaseRangeFieldQueryTestCase.Range.QueryType - Enum in org.apache.lucene.tests.search
supported query relations
BaseSegmentInfoFormatTestCase - Class in org.apache.lucene.tests.index
Abstract class to do basic tests for si format.
BaseSegmentInfoFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
 
BaseSimilarityTestCase - Class in org.apache.lucene.tests.search.similarities
Abstract class to do basic tests for a similarity.
BaseSimilarityTestCase() - Constructor for class org.apache.lucene.tests.search.similarities.BaseSimilarityTestCase
 
BaseStoredFieldsFormatTestCase - Class in org.apache.lucene.tests.index
Base class aiming at testing stored fields formats.
BaseStoredFieldsFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
BaseTermVectorsFormatTestCase - Class in org.apache.lucene.tests.index
Base class aiming at testing term vectors formats.
BaseTermVectorsFormatTestCase() - Constructor for class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
BaseTermVectorsFormatTestCase.Options - Enum in org.apache.lucene.tests.index
A combination of term vectors options.
BaseTermVectorsFormatTestCase.RandomDocument - Class in org.apache.lucene.tests.index
Randomly generated document: call toDocument to index it
BaseTermVectorsFormatTestCase.RandomDocumentFactory - Class in org.apache.lucene.tests.index
Factory for generating random documents, call newDocument to generate each one
BaseTermVectorsFormatTestCase.RandomTokenStream - Class in org.apache.lucene.tests.index
Produces a random TokenStream based off of provided terms.
BaseTestCheckIndex - Class in org.apache.lucene.tests.index
Base class for CheckIndex tests.
BaseTestCheckIndex() - Constructor for class org.apache.lucene.tests.index.BaseTestCheckIndex
 
BaseTokenStreamFactoryTestCase - Class in org.apache.lucene.tests.analysis
Base class for testing tokenstream factories.
BaseTokenStreamFactoryTestCase() - Constructor for class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
 
BaseTokenStreamTestCase - Class in org.apache.lucene.tests.analysis
Base class for all Lucene unit tests that use TokenStreams.
BaseTokenStreamTestCase() - Constructor for class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
BaseTokenStreamTestCase.CheckClearAttributesAttribute - Interface in org.apache.lucene.tests.analysis
Attribute that records if it was cleared or not.
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl - Class in org.apache.lucene.tests.analysis
Attribute that records if it was cleared or not.
BaseXYPointTestCase - Class in org.apache.lucene.tests.geo
Abstract class to do basic tests for a xy spatial impl (high level fields and queries)
BaseXYPointTestCase() - Constructor for class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
before() - Method in class org.apache.lucene.tests.util.TestRuleLimitSysouts
 
before() - Method in class org.apache.lucene.tests.util.TestRuleRestoreSystemProperties
 
before() - Method in class org.apache.lucene.tests.util.VerifyTestClassNamingConvention
 
beforeClass() - Static method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
beforeClass() - Static method in class org.apache.lucene.tests.search.similarities.BaseSimilarityTestCase
 
beforeClassTestExplanations() - Static method in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
beginMergeOnFullFlush(MergePolicy.MergeSpecification) - Method in class org.apache.lucene.tests.index.MockIndexWriterEventListener
 
BinaryToken(BytesRef) - Constructor for class org.apache.lucene.tests.analysis.CannedBinaryTokenStream.BinaryToken
 
BinaryToken(BytesRef, int, int) - Constructor for class org.apache.lucene.tests.analysis.CannedBinaryTokenStream.BinaryToken
 
binaryValue() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
BlockScoreQueryWrapper - Class in org.apache.lucene.tests.search
Query wrapper that reduces the size of max-score blocks to more easily detect problems with the max-score logic.
BlockScoreQueryWrapper(Query, int) - Constructor for class org.apache.lucene.tests.search.BlockScoreQueryWrapper
Sole constructor.
blocksEncoded - Static variable in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
bqtest(Query, int[]) - Method in class org.apache.lucene.tests.search.BaseExplanationTestCase
Tests a query using qtest after wrapping it with both optB and reqB
bugUrl() - Method in annotation type org.apache.lucene.tests.util.LuceneTestCase.AwaitsFix
Point to JIRA entry.
bugUrl() - Method in annotation type org.apache.lucene.tests.util.LuceneTestCase.BadApple
Point to JIRA entry.
bugUrl() - Method in annotation type org.apache.lucene.tests.util.LuceneTestCase.SuppressSysoutChecks
Point to JIRA entry.
bugUrl() - Method in annotation type org.apache.lucene.tests.util.LuceneTestCase.SuppressTempFileChecks
Point to JIRA entry.
buildIndex(Codec, Directory, IndexOptions, boolean, boolean) - Method in class org.apache.lucene.tests.index.RandomPostingsTester
 
BulkScorerWrapperScorer - Class in org.apache.lucene.tests.search
A BulkScorer-backed scorer.
BulkScorerWrapperScorer(Weight, BulkScorer, int) - Constructor for class org.apache.lucene.tests.search.BulkScorerWrapperScorer
Sole constructor.
bytes() - Method in annotation type org.apache.lucene.tests.util.TestRuleLimitSysouts.Limit
The maximum number of bytes written to stdout or stderr.
bytesRefToString(BytesRef) - Static method in class org.apache.lucene.tests.util.TestUtil
For debugging: tries to include br.utf8ToString(), but if that fails (because it's not valid utf8, which is fine!), just use ordinary toString.
bytesToCharSequence(BytesRef, Random) - Static method in class org.apache.lucene.tests.util.TestUtil
 

C

callStackContains(Class<?>) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Inspects stack trace if the given class called us.
callStackContains(Class<?>, String) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Inspects stack trace to figure out if a method of a specific class called us.
callStackContainsAnyOf(String...) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Inspects stack trace to figure out if one of the given method names (no class restriction) called us.
CannedBinaryTokenStream - Class in org.apache.lucene.tests.analysis
TokenStream from a canned list of binary (BytesRef-based) tokens.
CannedBinaryTokenStream(CannedBinaryTokenStream.BinaryToken...) - Constructor for class org.apache.lucene.tests.analysis.CannedBinaryTokenStream
 
CannedBinaryTokenStream.BinaryToken - Class in org.apache.lucene.tests.analysis
Represents a binary token.
CannedTokenStream - Class in org.apache.lucene.tests.analysis
TokenStream from a canned list of Tokens.
CannedTokenStream(int, int, Token...) - Constructor for class org.apache.lucene.tests.analysis.CannedTokenStream
If you want trailing holes, pass a non-zero finalPosInc.
CannedTokenStream(Token...) - Constructor for class org.apache.lucene.tests.analysis.CannedTokenStream
 
Cell(byte[], byte[]) - Constructor for class org.apache.lucene.tests.index.PointsStackTracker.Cell
 
charFilterFactory(String, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized CharFilterFactory with the specified name and key-value arguments.
charFilterFactory(String, Version, ResourceLoader, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized CharFilterFactory with the specified name, version, resource loader, and key-value arguments.
CheapBastardCodec - Class in org.apache.lucene.tests.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.tests.codecs.cheapbastard.CheapBastardCodec
 
check(Random, Query, IndexSearcher) - Static method in class org.apache.lucene.tests.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.tests.search.QueryUtils
 
check(Query) - Static method in class org.apache.lucene.tests.search.QueryUtils
Check the types of things query objects should be able to do.
checkAccess(Path, AccessMode...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
checkAnalysisConsistency(Random, Analyzer, boolean, String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
checkAnalysisConsistency(Random, Analyzer, boolean, String, boolean) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
checkBulkScorerSkipTo(Random, Query, IndexSearcher) - Static method in class org.apache.lucene.tests.search.QueryUtils
Check that the scorer and bulk scorer advance consistently.
checkCaptureStreams() - Static method in class org.apache.lucene.tests.util.TestRuleLimitSysouts
Ensures System.out and System.err point to delegate streams.
CheckClearAttributesAttributeImpl() - Constructor for class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
checkCount(Query, IndexSearcher) - Static method in class org.apache.lucene.tests.search.QueryUtils
Check that counting hits through DocIdStream.count() yield the same result as counting naively.
checkDocIds(String, int[], ScoreDoc[]) - Static method in class org.apache.lucene.tests.search.CheckHits
Tests that a Hits has an expected order of documents
checkEqual(Query, Query) - Static method in class org.apache.lucene.tests.search.QueryUtils
 
checkEqual(Query, ScoreDoc[], ScoreDoc[]) - Static method in class org.apache.lucene.tests.search.CheckHits
 
checkExit(int) - Method in class org.apache.lucene.tests.util.TestSecurityManager
checkExplanations(Query) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAssertingSearcher
 
checkExplanations(Query, String, IndexSearcher) - Static method in class org.apache.lucene.tests.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.tests.search.CheckHits
Asserts that the explanation value for every document matching a query corresponds with the true score.
checkExplanations(Query, IndexSearcher) - Static method in class org.apache.lucene.tests.search.QueryUtils
deep check that explanations of a query 'score' correctly
checkFieldMatches(MatchesIterator, int[]) - Method in class org.apache.lucene.tests.search.MatchesTestBase
Given a MatchesIterator, check that it has the expected set of start and end positions
checkFirstSkipTo(Query, IndexSearcher) - Static method in class org.apache.lucene.tests.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.tests.search.QueryUtils
check very basic hashCode and equals
checkHitCollector(Random, Query, String, IndexSearcher, int[]) - Static method in class org.apache.lucene.tests.search.CheckHits
Tests that a query matches the an expected set of documents using a HitCollector.
checkHits(Random, Query, String, IndexSearcher, int[]) - Static method in class org.apache.lucene.tests.search.CheckHits
Tests that a query matches the expected set of documents using Hits.
CheckHits - Class in org.apache.lucene.tests.search
Utility class for asserting expected hits in tests.
CheckHits() - Constructor for class org.apache.lucene.tests.search.CheckHits
 
CheckHits.ExplanationAsserter - Class in org.apache.lucene.tests.search
Asserts that the score explanation for every document matching a query corresponds with the true score.
CheckHits.ExplanationAssertingSearcher - Class in org.apache.lucene.tests.search
an IndexSearcher that implicitly checks hte explanation of every match whenever it executes a search.
CheckHits.MatchesAsserter - Class in org.apache.lucene.tests.search
Asserts that the Matches from a query is non-null whenever the document its created for is a hit.
CheckHits.SetCollector - Class in org.apache.lucene.tests.search
Just collects document ids into a set.
checkHitsQuery(Query, ScoreDoc[], ScoreDoc[], int[]) - Static method in class org.apache.lucene.tests.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.tests.util.TestUtil
This runs the CheckIndex tool on the index in.
checkIndex(Directory, boolean) - Static method in class org.apache.lucene.tests.util.TestUtil
 
checkIndex(Directory, boolean, boolean, boolean, ByteArrayOutputStream) - Static method in class org.apache.lucene.tests.util.TestUtil
If failFast is true, then throw the first exception when index corruption is hit, instead of moving on to other fields/segments to look for any other corruption.
checkIterator(Iterator<T>) - Static method in class org.apache.lucene.tests.util.TestUtil
Checks that the provided iterator is well-formed.
checkIterator(Iterator<T>, long, boolean) - Static method in class org.apache.lucene.tests.util.TestUtil
Checks that the provided iterator is well-formed.
checkLabelCount(Query, String, int[]) - Method in class org.apache.lucene.tests.search.MatchesTestBase
For a given query and field, check that the expected numbers of query labels were found
checkMatches(Query, String, int[][]) - Method in class org.apache.lucene.tests.search.MatchesTestBase
For a given query and field, check that expected matches are retrieved
checkMatches(Query, IndexSearcher) - Static method in class org.apache.lucene.tests.search.CheckHits
Asserts that the result of calling Weight.matches(LeafReaderContext, int) for every document matching a query returns a non-null Matches
checkNoMatchExplanations(Query, String, IndexSearcher, int[]) - Static method in class org.apache.lucene.tests.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
checkNoPositionsMatches(Query, String, boolean[]) - Method in class org.apache.lucene.tests.search.MatchesTestBase
Given a query and field, check that matches are returned from expected documents and that they return -1 for start and end positions
checkOneTerm(Analyzer, String, String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
checkRandomData(Random, Analyzer, int) - Static method in class org.apache.lucene.tests.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.tests.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.tests.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.tests.analysis.BaseTokenStreamTestCase
 
checkRandomData(Random, Analyzer, int, int, boolean, boolean) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
checkReader(IndexReader) - Static method in class org.apache.lucene.tests.util.TestUtil
This runs the CheckIndex tool on the Reader.
checkReader(LeafReader, boolean) - Static method in class org.apache.lucene.tests.util.TestUtil
 
checkReadOnly(Collection<T>) - Static method in class org.apache.lucene.tests.util.TestUtil
Checks that the provided collection is read-only.
checkResetException(Analyzer, String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
checkReuse(TermsEnum, int, int, boolean) - Static method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
checkSkipTo(Query, IndexSearcher) - Static method in class org.apache.lucene.tests.search.QueryUtils
alternate scorer advance(),advance(),next(),next(),advance(),advance(), etc and ensure a hitcollector receives same docs and scores
checkSubMatches(Query, String[][]) - Method in class org.apache.lucene.tests.search.MatchesTestBase
Given a query, check that matches contain the expected NamedQuery wrapper names
checkTermMatches(Query, String, MatchesTestBase.TermMatch[][][]) - Method in class org.apache.lucene.tests.search.MatchesTestBase
For a query and field, check that each document's submatches conform to an expected TermMatch
checkTopScores(Random, Query, IndexSearcher) - Static method in class org.apache.lucene.tests.search.CheckHits
 
checkUnequal(Query, Query) - Static method in class org.apache.lucene.tests.search.QueryUtils
 
classRules - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
This controls how suite-level rules are nested.
clear() - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
clear() - Method in class org.apache.lucene.tests.analysis.Token
Resets the term text, payload, flags, positionIncrement, positionLength, startOffset, endOffset and token type to default.
clearCrash() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
clearDoFail() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper.Failure
 
clone() - Method in class org.apache.lucene.tests.analysis.Token
 
clone() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
cloneDocument(Document) - Static method in class org.apache.lucene.tests.util.TestUtil
 
close() - Method in class org.apache.lucene.tests.analysis.CrankyTokenFilter
 
close() - Method in class org.apache.lucene.tests.analysis.MockGraphTokenFilter
 
close() - Method in class org.apache.lucene.tests.analysis.MockReaderWrapper
 
close() - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
close() - Method in class org.apache.lucene.tests.index.RandomIndexWriter
Close this writer.
close() - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
close() - Method in class org.apache.lucene.tests.mockfile.FilterDirectoryStream
 
close() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
close() - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
close() - Method in class org.apache.lucene.tests.mockfile.FilterOutputStream2
 
close() - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
close() - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
close() - Method in class org.apache.lucene.tests.store.BaseDirectoryWrapper
 
close() - Method in class org.apache.lucene.tests.store.CorruptingIndexOutput
 
close() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
close() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
close() - Method in class org.apache.lucene.tests.store.MockIndexOutputWrapper
 
close() - Method in class org.apache.lucene.tests.util.FailOnNonBulkMergesInfoStream
 
close() - Method in class org.apache.lucene.tests.util.LineFileDocs
 
close() - Method in class org.apache.lucene.tests.util.NullInfoStream
 
close() - Method in class org.apache.lucene.tests.util.ThrottledIndexOutput
 
closeAfterSuite(T) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Registers a Closeable resource that should be closed after the suite completes.
closeAfterTest(T) - Method in class org.apache.lucene.tests.util.LuceneTestCase
Registers a Closeable resource that should be closed after the test completes.
codecAcceptsHugeBinaryValues(String) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
codecSupportsSparsity() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
Whether the codec supports sparse values.
collate(Collator, String, String) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Compares two strings with a collator, also looking to see if the the strings are impacted by jdk bugs.
CollationTestBase - Class in org.apache.lucene.tests.analysis
Base test class for testing Unicode collation.
CollationTestBase() - Constructor for class org.apache.lucene.tests.analysis.CollationTestBase
 
collect(int) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAsserter
 
collect(int) - Method in class org.apache.lucene.tests.search.CheckHits.MatchesAsserter
 
collect(int) - Method in class org.apache.lucene.tests.search.CheckHits.SetCollector
 
collect(int) - Method in class org.apache.lucene.tests.search.FixedBitSetCollector
 
collectionStatistics(String) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
commit() - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
commit(boolean) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
compareStoredFieldWithSortedNumericsDV(DirectoryReader, String, String) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
compareStoredFieldWithSortedSetDV(DirectoryReader, String, String) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
compareTo(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
compareTo(FSTTester.InputOutput<T>) - Method in class org.apache.lucene.tests.util.fst.FSTTester.InputOutput
 
compoundFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
CompressingCodec - Class in org.apache.lucene.tests.codecs.compressing
A codec that uses Lucene90CompressingStoredFieldsFormat for its stored fields and delegates to the default codec for everything else.
CompressingCodec(String, String, CompressionMode, int, int, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.CompressingCodec
Creates a compressing codec with a given segment suffix
CompressingCodec(String, CompressionMode, int, int, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.CompressingCodec
Creates a compressing codec with an empty segment suffix
computeNorm(FieldInvertState) - Method in class org.apache.lucene.tests.search.similarities.AssertingSimilarity
 
ConfigurableMCodec - Class in org.apache.lucene.tests.codecs.vector
This codec allows customization of the number of connections made for an hnsw index.
ConfigurableMCodec() - Constructor for class org.apache.lucene.tests.codecs.vector.ConfigurableMCodec
 
ConfigurableMCodec(int) - Constructor for class org.apache.lucene.tests.codecs.vector.ConfigurableMCodec
 
contains(PointsStackTracker.Cell) - Method in class org.apache.lucene.tests.index.PointsStackTracker.Cell
 
contains(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
CONTAINS - org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range.QueryType
 
containsSlowly(Polygon, double, double) - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
Simple slow point in polygon check (for testing)
containsSlowly(XYPolygon, double, double) - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
Simple slow point in polygon check (for testing)
copy(Path, Path, CopyOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
copy(Path, Path, CopyOption...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
copyBytes(DataInput, long) - Method in class org.apache.lucene.tests.store.MockIndexOutputWrapper
 
copyFrom(Directory, String, String, IOContext) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
copyFrom(Directory, String, String, IOContext) - Method in class org.apache.lucene.tests.store.RawDirectoryWrapper
 
copyOf(BitSet, int) - Method in class org.apache.lucene.tests.util.BaseDocIdSetTestCase
Create a copy of the given BitSet which has length bits.
copyOf(BitSet, int) - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Create a copy of the given BitSet which has length bits.
copyTo(AttributeImpl) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.tests.analysis.Token
 
correct(int) - Method in class org.apache.lucene.tests.analysis.MockCharFilter
 
corruptFile() - Method in class org.apache.lucene.tests.store.CorruptingIndexOutput
 
corruptFiles(Collection<String>) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
CorruptingIndexOutput - Class in org.apache.lucene.tests.store
Corrupts on bit of a file after close
CorruptingIndexOutput(Directory, long, IndexOutput) - Constructor for class org.apache.lucene.tests.store.CorruptingIndexOutput
 
corruptUnknownFiles() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
cost() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
cost() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
cost() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
cost() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
cost() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
cost() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
cost() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
CrankyCodec - Class in org.apache.lucene.tests.codecs.cranky
Codec for testing that throws random IOExceptions
CrankyCodec(Codec, Random) - Constructor for class org.apache.lucene.tests.codecs.cranky.CrankyCodec
Wrap the provided codec with crankiness.
CrankyTokenFilter - Class in org.apache.lucene.tests.analysis
Throws IOException from random Tokenstream methods.
CrankyTokenFilter(TokenStream, Random) - Constructor for class org.apache.lucene.tests.analysis.CrankyTokenFilter
Creates a new CrankyTokenFilter
crash() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
Simulates a crash of OS or machine by overwriting unsynced files.
create(SortedNumericDocValues, int) - Static method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
create(SortedSetDocValues, int) - Static method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
createComponents(String) - Method in class org.apache.lucene.tests.analysis.MockAnalyzer
 
createComponents(String) - Method in class org.apache.lucene.tests.analysis.MockBytesAnalyzer
 
createComponents(String) - Method in class org.apache.lucene.tests.analysis.MockPayloadAnalyzer
 
createComponents(String) - Method in class org.apache.lucene.tests.analysis.MockSynonymAnalyzer
 
createDirectory(Path, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.ExtrasFS
 
createDirectory(Path, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
createDirectory(Path, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
createDoc(int) - Static method in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
createDocument(int, String, int) - Static method in class org.apache.lucene.tests.index.DocHelper
 
createFieldsConsumer(SegmentWriteState, PostingsWriterBase) - Method in class org.apache.lucene.tests.codecs.uniformsplit.sharedterms.STUniformSplitRot13PostingsFormat
 
createFieldsConsumer(SegmentWriteState, PostingsWriterBase) - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
createFieldsProducer(SegmentReadState, PostingsReaderBase) - Method in class org.apache.lucene.tests.codecs.uniformsplit.sharedterms.STUniformSplitRot13PostingsFormat
 
createFieldsProducer(SegmentReadState, PostingsReaderBase) - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
createLargeCFS(Directory) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
Setup a large compound file with a number of components, each of which is a sequential file (so that we can easily tell that we are reading in the right byte).
createLink(Path, Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
createLink(Path, Path) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
createManager() - Static method in class org.apache.lucene.tests.search.DummyTotalHitCountCollector
Create a collector manager.
createManager(int) - Static method in class org.apache.lucene.tests.search.FixedBitSetCollector
Creates a CollectorManager that can concurrently collect matching docs in a FixedBitSet
createOutput(String, IOContext) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.FileTrackingDirectoryWrapper
 
createOutput(String, IOContext) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper
 
createOutput(String, IOContext) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
createPostings() - Static method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
createRandomFile(Directory, String, int, byte[]) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
Creates a file of the specified size with random data.
createRegularPolygon(double, double, double, int) - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
Makes an n-gon, centered at the provided lat/lon, and each vertex approximately distanceMeters away from the center.
createRegularPolygon(double, double, double, int) - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
Makes an n-gon, centered at the provided x/y, and each vertex approximately distanceMeters away from the center.
createSequenceFile(Directory, String, byte, int, byte[], String) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
Creates a file of the specified size with sequential data.
createSymbolicLink(Path, Path, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
createSymbolicLink(Path, Path, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
createTempDir() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates an empty, temporary folder (when the name of the folder is of no importance).
createTempDir(String) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates an empty, temporary folder with the given name prefix.
createTempFile() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates an empty temporary file.
createTempFile(String, String) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates an empty file with the given prefix and suffix.
createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper
 
createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.tests.search.AssertingQuery
 
createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.tests.search.BlockScoreQueryWrapper
 
createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.tests.search.DisablingBulkScorerQuery
 
createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.tests.search.RandomApproximationQuery
 
createWeight(Query, ScoreMode, float) - Method in class org.apache.lucene.tests.search.AssertingIndexSearcher
 
CROSSES - org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range.QueryType
 
currentNodeVersions - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
customType - Static variable in class org.apache.lucene.tests.index.DocHelper
 
customType3 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
customType5 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
customType6 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
customType7 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
customType8 - Static variable in class org.apache.lucene.tests.index.DocHelper
 

D

DATE_FIELD_VALUE_TO_LOCALDATETIME - Static variable in class org.apache.lucene.tests.util.LineFileDocs
Converts date formats for europarl ("2023-02-23") and enwiki ("12-JAN-2010 12:32:45.000") into LocalDateTime.
decode(DataInput, long) - Static method in class org.apache.lucene.tests.codecs.uniformsplit.Rot13CypherTestUtil
 
decoderCalled - Static variable in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
DEFAULT_HARD_LIMIT - Static variable in class org.apache.lucene.tests.util.TestRuleLimitSysouts
Max hard limit of sysout bytes.
DEFAULT_LIMIT - Static variable in class org.apache.lucene.tests.util.TestRuleLimitSysouts
Max limit of bytes printed to either System.out or System.err.
DEFAULT_LINE_DOCS_FILE - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
The default (embedded resource) lines file.
DEFAULT_MAX_DETERMINIZED_STATES - Static variable in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
Default maximum number of states that Operations.determinize(org.apache.lucene.util.automaton.Automaton, int) should create.
DEFAULT_MAX_TOKEN_LENGTH - Static variable in class org.apache.lucene.tests.analysis.MockTokenizer
Limit the default token length to a size that doesn't cause random analyzer failures on unpredictable data like the enwiki data set.
DEFAULT_MIN_WRITTEN_BYTES - Static variable in class org.apache.lucene.tests.util.ThrottledIndexOutput
 
DeflateWithPresetCompressingCodec - Class in org.apache.lucene.tests.codecs.compressing
CompressionCodec that uses DeflateWithPresetDictCompressionMode.
DeflateWithPresetCompressingCodec() - Constructor for class org.apache.lucene.tests.codecs.compressing.DeflateWithPresetCompressingCodec
No-arg constructor.
DeflateWithPresetCompressingCodec(int, int, boolean, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.DeflateWithPresetCompressingCodec
Constructor that allows to configure the chunk size.
delCount - Variable in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
The underlying AsynchronousFileChannel instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterDirectoryStream
The underlying DirectoryStream instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterFileChannel
The underlying FileChannel instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterFileStore
The underlying FileStore instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterFileSystem
The underlying FileSystem instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
The underlying FileSystemProvider.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterInputStream2
The underlying InputStream instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterOutputStream2
The underlying OutputStream instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterPath
The underlying Path instance.
delegate - Variable in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
The underlying SeekableByteChannel instance.
delete(Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
delete(Path) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
delete(Path) - Method in class org.apache.lucene.tests.mockfile.VirusCheckingFS
 
delete(Path) - Method in class org.apache.lucene.tests.mockfile.WindowsFS
 
deleteAll() - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
deleteDocuments(Term) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
deleteDocuments(Term) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
deleteDocuments(Query) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
deleteFile(String) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.FileTrackingDirectoryWrapper
 
deleteFile(String) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
deleteIfExists(Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
deleteIfExists(Path) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
deleteIfExists(Path) - Method in class org.apache.lucene.tests.mockfile.WindowsFS
 
determinizeSimple(Automaton) - Static method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
Simple, original brics implementation of determinize()
determinizeSimple(Automaton, Set<Integer>) - Static method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
Simple, original brics implementation of determinize() Determinizes the given automaton using the given set of initial states.
dictionaryEncoded - Static variable in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
dictionaryOnHeap - Variable in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
dimension() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
dir - Variable in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
dir - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
dir - Variable in class org.apache.lucene.tests.util.fst.FSTTester
 
directory - Static variable in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
directory - Variable in class org.apache.lucene.tests.search.MatchesTestBase
 
directory - Static variable in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
disable() - Method in class org.apache.lucene.tests.mockfile.VirusCheckingFS
 
DisableFsyncFS - Class in org.apache.lucene.tests.mockfile
Disables actual calls to fsync.
DisableFsyncFS(FileSystem) - Constructor for class org.apache.lucene.tests.mockfile.DisableFsyncFS
Create a new instance, wrapping delegate.
disableVirusChecker(Directory) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns true if VirusCheckingFS is in use and was in fact already enabled
DisablingBulkScorerQuery - Class in org.apache.lucene.tests.search
A Query wrapper that disables bulk-scoring optimizations.
DisablingBulkScorerQuery(Query) - Constructor for class org.apache.lucene.tests.search.DisablingBulkScorerQuery
Sole constructor.
doAfterIndexingThreadDone() - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
doAfterWriter(ExecutorService) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
docBases - Variable in class org.apache.lucene.tests.index.PerThreadPKLookup
 
docFields - Static variable in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
docFreq - Variable in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
DocHelper - Class in org.apache.lucene.tests.index
Helper functions for tests that handles documents
DocHelper() - Constructor for class org.apache.lucene.tests.index.DocHelper
 
docID() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
docID() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
docID() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
docID() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
docID() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
docID() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
docID() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
docID() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
docID() - Method in class org.apache.lucene.tests.search.AssertingScorer
 
docID() - Method in class org.apache.lucene.tests.search.BulkScorerWrapperScorer
 
docID(IndexReader, String) - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
doClose() - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
docs(Random, IndexReader, String, BytesRef, PostingsEnum, int) - Static method in class org.apache.lucene.tests.util.TestUtil
 
docs(Random, TermsEnum, PostingsEnum, int) - Static method in class org.apache.lucene.tests.util.TestUtil
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingStoredFields
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.tests.index.MismatchedLeafReader
 
docValueCount() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
docValueCount() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
docValuesFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
docValuesFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
doFail - Variable in class org.apache.lucene.tests.store.MockDirectoryWrapper.Failure
 
doSearching(ExecutorService, int) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAsserter
 
doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.tests.search.CheckHits.MatchesAsserter
 
doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.tests.search.CheckHits.SetCollector
 
doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.tests.search.FixedBitSetCollector
 
doTest() - Method in class org.apache.lucene.tests.util.fst.FSTTester
 
doTestBinaryVariableLengthVsStoredFields(double) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
doTestGroupVInt(Directory, int, int, int, int) - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
doTestSimulateAppendOnly(MergePolicy, int, int) - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Simulate an append-only use-case, ie.
doTestSimulateUpdates(MergePolicy, int, int) - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Simulate an update use-case where documents are uniformly updated across segments.
doTestSortedSetEnumAdvanceIndependently(SortedSetDocValues) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
doTestSortedSetVsStoredFields(int, int, int, int, int) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
doTestSortedVsStoredFields(int, double, int, int) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
doTestSortedVsStoredFields(int, double, Supplier<byte[]>) - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
doubleUlpEquals(double, double, int) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns true if the arguments are equal or within the range of allowed error (inclusive).
doWrapDirectoryReader(DirectoryReader) - Method in class org.apache.lucene.tests.index.AssertingDirectoryReader
 
doWrapDirectoryReader(DirectoryReader) - Method in class org.apache.lucene.tests.index.MergingDirectoryReaderWrapper
 
doWrapDirectoryReader(DirectoryReader) - Method in class org.apache.lucene.tests.index.MismatchedDirectoryReader
 
DUMMY - Static variable in class org.apache.lucene.tests.codecs.compressing.dummy.DummyCompressingCodec
 
DummyCompressingCodec - Class in org.apache.lucene.tests.codecs.compressing.dummy
CompressionCodec that does not compress data, useful for testing.
DummyCompressingCodec() - Constructor for class org.apache.lucene.tests.codecs.compressing.dummy.DummyCompressingCodec
Default constructor.
DummyCompressingCodec(int, int, boolean, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.dummy.DummyCompressingCodec
Constructor that allows to configure the chunk size.
DummyTotalHitCountCollector - Class in org.apache.lucene.tests.search
DummyTotalHitCountCollector() - Constructor for class org.apache.lucene.tests.search.DummyTotalHitCountCollector
Constructor
dump() - Method in class org.apache.lucene.tests.analysis.ValidatingTokenFilter
 
dumpArray(String, Object[], PrintStream) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Convenience method for logging an array.
dumpIterator(String, Iterator<?>, PrintStream) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Convenience method for logging an iterator.
dumpValidatingTokenFilters(TokenStream, PrintStream) - Static method in class org.apache.lucene.tests.analysis.ValidatingTokenFilter
Prints details about consumed tokens stored in any ValidatingTokenFilters in the input chain
dvFormatNames - Variable in class org.apache.lucene.tests.index.RandomCodec
unique set of docvalues format names this codec knows about

E

EarthDebugger - Class in org.apache.lucene.tests.geo
Draws shapes on the earth surface and renders using the very cool http://www.webglearth.org.
EarthDebugger() - Constructor for class org.apache.lucene.tests.geo.EarthDebugger
 
EarthDebugger(double, double, double) - Constructor for class org.apache.lucene.tests.geo.EarthDebugger
 
EmojiTokenizationTestUnicode_12_1 - Class in org.apache.lucene.tests.analysis.standard
This class was automatically generated by generateEmojiTokenizationTest.pl.
EmojiTokenizationTestUnicode_12_1() - Constructor for class org.apache.lucene.tests.analysis.standard.EmojiTokenizationTestUnicode_12_1
 
EMPTY_STOPSET - Static variable in class org.apache.lucene.tests.analysis.MockTokenFilter
Empty set of stopwords
enable() - Method in class org.apache.lucene.tests.mockfile.VirusCheckingFS
 
enableVirusChecker(Directory) - Static method in class org.apache.lucene.tests.util.TestUtil
 
encode(DataInput, int) - Static method in class org.apache.lucene.tests.codecs.uniformsplit.Rot13CypherTestUtil
 
encoderCalled - Static variable in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
end - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
end() - Method in class org.apache.lucene.tests.analysis.CannedTokenStream
 
end() - Method in class org.apache.lucene.tests.analysis.CrankyTokenFilter
 
end() - Method in class org.apache.lucene.tests.analysis.MockTokenFilter
 
end() - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
end() - Method in class org.apache.lucene.tests.analysis.ValidatingTokenFilter
 
endMergeOnFullFlush(MergePolicy.MergeSpecification) - Method in class org.apache.lucene.tests.index.MockIndexWriterEventListener
 
endOffset - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
endOffset - Variable in class org.apache.lucene.tests.search.MatchesTestBase.TermMatch
The end offset
endOffset() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
endOffset() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
endOffset() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
endsWith(String) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
endsWith(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
endTimeNanos - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase
 
English - Class in org.apache.lucene.tests.util
Converts numbers to english strings for testing.
ENGLISH_STOPSET - Static variable in class org.apache.lucene.tests.analysis.MockTokenFilter
Set of common english stopwords
ensureOpen() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
ensureSaneIWCOnNightly(IndexWriterConfig) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Ensures that the MergePolicy has sane values for tests that test with lots of documents.
equals(Object) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.tests.analysis.Token
 
equals(Object) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
equals(Object) - Method in class org.apache.lucene.tests.search.AssertingQuery
 
equals(Object) - Method in class org.apache.lucene.tests.search.BlockScoreQueryWrapper
 
equals(Object) - Method in class org.apache.lucene.tests.search.DisablingBulkScorerQuery
 
equals(Object) - Method in class org.apache.lucene.tests.search.MatchesTestBase.TermMatch
 
equals(Object) - Method in class org.apache.lucene.tests.search.RandomApproximationQuery
 
equals(Object, Object) - Static method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
escape(String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
eval(MockDirectoryWrapper) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper.Failure
eval is called on the first write of every new file.
excludedExtensionsFromByteCounts() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.
expectedBBoxQueryResult(BaseRangeFieldQueryTestCase.Range, BaseRangeFieldQueryTestCase.Range, BaseRangeFieldQueryTestCase.Range.QueryType) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
expectedResult(BaseRangeFieldQueryTestCase.Range, BaseRangeFieldQueryTestCase.Range[], BaseRangeFieldQueryTestCase.Range.QueryType) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
expectThrows(Class<T>, String, LuceneTestCase.ThrowingRunnable) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Checks a specific exception class is thrown by the given runnable, and returns it.
expectThrows(Class<T>, LuceneTestCase.ThrowingRunnable) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Checks a specific exception class is thrown by the given runnable, and returns it.
expectThrows(Class<TO>, Class<TW>, LuceneTestCase.ThrowingRunnable) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Checks that specific wrapped and outer exception classes are thrown by the given runnable, and returns the wrapped exception.
expectThrowsAnyOf(LinkedHashMap<Class<? extends TO>, List<Class<? extends TW>>>, LuceneTestCase.ThrowingRunnable) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Checks that one of the specified wrapped and outer exception classes are thrown by the given runnable, and returns the outer exception.
expectThrowsAnyOf(List<Class<? extends T>>, LuceneTestCase.ThrowingRunnable) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Checks a specific exception class is thrown by the given runnable, and returns it.
ExplanationAsserter(Query, String, IndexSearcher) - Constructor for class org.apache.lucene.tests.search.CheckHits.ExplanationAsserter
Constructs an instance which does shallow tests on the Explanation
ExplanationAsserter(Query, String, IndexSearcher, boolean) - Constructor for class org.apache.lucene.tests.search.CheckHits.ExplanationAsserter
 
ExplanationAssertingSearcher(IndexReader) - Constructor for class org.apache.lucene.tests.search.CheckHits.ExplanationAssertingSearcher
 
ExtrasFS - Class in org.apache.lucene.tests.mockfile
Adds extra files/subdirectories when directories are created.
ExtrasFS(FileSystem, boolean, boolean) - Constructor for class org.apache.lucene.tests.mockfile.ExtrasFS
Create a new instance, wrapping delegate.

F

failed - Variable in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
failOn(MockDirectoryWrapper.Failure) - Method in class org.apache.lucene.tests.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.tests.util
Hackidy-Häck-Hack to cause a test to fail on non-bulk merges
FailOnNonBulkMergesInfoStream() - Constructor for class org.apache.lucene.tests.util.FailOnNonBulkMergesInfoStream
 
Failure() - Constructor for class org.apache.lucene.tests.store.MockDirectoryWrapper.Failure
 
FailureMarker - Class in org.apache.lucene.tests.util
A RunListener that detects suite/ test failures.
FailureMarker() - Constructor for class org.apache.lucene.tests.util.FailureMarker
 
FakeIOException() - Constructor for exception org.apache.lucene.tests.store.MockDirectoryWrapper.FakeIOException
 
FastCompressingCodec - Class in org.apache.lucene.tests.codecs.compressing
CompressionCodec that uses CompressionMode.FAST
FastCompressingCodec() - Constructor for class org.apache.lucene.tests.codecs.compressing.FastCompressingCodec
Default constructor.
FastCompressingCodec(int, int, boolean, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.FastCompressingCodec
Constructor that allows to configure the chunk size.
FastDecompressionCompressingCodec - Class in org.apache.lucene.tests.codecs.compressing
CompressionCodec that uses CompressionMode.FAST_DECOMPRESSION
FastDecompressionCompressingCodec() - Constructor for class org.apache.lucene.tests.codecs.compressing.FastDecompressionCompressingCodec
Default constructor.
FastDecompressionCompressingCodec(int, int, boolean, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.FastDecompressionCompressingCodec
Constructor that allows to configure the chunk size.
FIELD - Static variable in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
FIELD_1_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
FIELD_2_FREQS - Static variable in class org.apache.lucene.tests.index.DocHelper
 
FIELD_2_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
FIELD_3_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
FIELD_DOCS_ONLY - Static variable in class org.apache.lucene.tests.search.MatchesTestBase
 
FIELD_FREQS - Static variable in class org.apache.lucene.tests.search.MatchesTestBase
 
FIELD_NAME - Static variable in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
FIELD_NAME - Static variable in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
FIELD_NO_OFFSETS - Static variable in class org.apache.lucene.tests.search.MatchesTestBase
 
FIELD_POINT - Static variable in class org.apache.lucene.tests.search.MatchesTestBase
 
FIELD_UTF1_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
FIELD_UTF2_FREQS - Static variable in class org.apache.lucene.tests.index.DocHelper
 
FIELD_UTF2_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
FIELD_WITH_OFFSETS - Static variable in class org.apache.lucene.tests.search.MatchesTestBase
 
FieldAndTerm(String, BytesRef, long) - Constructor for class org.apache.lucene.tests.index.RandomPostingsTester.FieldAndTerm
 
FieldFilterLeafReader - Class in org.apache.lucene.tests.index
A FilterLeafReader that exposes only a subset of fields from the underlying wrapped reader.
FieldFilterLeafReader(LeafReader, Set<String>, boolean) - Constructor for class org.apache.lucene.tests.index.FieldFilterLeafReader
 
fieldInfosFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
fields - Static variable in class org.apache.lucene.tests.index.DocHelper
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingDocValuesFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.blockterms.LuceneFixedGap
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapDocFreqInterval
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapFixedInterval
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.bloom.TestBloomFilteredLucenePostings
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.mockrandom.MockRandomPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.ramonly.RAMOnlyPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
fieldsMetadataEncoded - Static variable in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingDocValuesFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.blockterms.LuceneFixedGap
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapDocFreqInterval
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapFixedInterval
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.bloom.TestBloomFilteredLucenePostings
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.mockrandom.MockRandomPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.ramonly.RAMOnlyPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
fieldsReader(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingKnnVectorsFormat
 
fieldsReader(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingPointsFormat
 
fieldsReader(Directory, SegmentInfo, FieldInfos, IOContext) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingStoredFieldsFormat
 
fieldSupportsHugeBinaryDocValues(String) - Static method in class org.apache.lucene.tests.util.TestUtil
 
fieldsWriter(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingKnnVectorsFormat
 
fieldsWriter(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingPointsFormat
 
fieldsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingStoredFieldsFormat
 
fieldType(BaseTermVectorsFormatTestCase.Options) - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
fileLength(String) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
files(SegmentCommitInfo, Collection<String>) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingLiveDocsFormat
 
fileSystem - Variable in class org.apache.lucene.tests.mockfile.FilterDirectoryStream
The underlying FileSystem instance.
fileSystem - Variable in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
The underlying FileSystem instance.
fileSystem - Variable in class org.apache.lucene.tests.mockfile.FilterPath
The parent FileSystem for this path.
FilterAsynchronousFileChannel - Class in org.apache.lucene.tests.mockfile
A FilterAsynchronousFileChannel contains another AsynchronousFileChannel, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterAsynchronousFileChannel(AsynchronousFileChannel) - Constructor for class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
Construct a FilterAsynchronousFileChannel based on the specified base channel.
FilterDirectoryStream - Class in org.apache.lucene.tests.mockfile
A FilterDirectoryStream contains another DirectoryStream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterDirectoryStream(DirectoryStream<Path>, FilterFileSystem) - Constructor for class org.apache.lucene.tests.mockfile.FilterDirectoryStream
Construct a FilterDirectoryStream based on the specified base stream.
filteredQuery(Query, Query) - Method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
FilterFileChannel - Class in org.apache.lucene.tests.mockfile
A FilterFileChannel contains another FileChannel, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterFileChannel(FileChannel) - Constructor for class org.apache.lucene.tests.mockfile.FilterFileChannel
Construct a FilterFileChannel based on the specified base channel.
FilterFileStore - Class in org.apache.lucene.tests.mockfile
A FilterFileStore contains another FileStore, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterFileStore(FileStore, String) - Constructor for class org.apache.lucene.tests.mockfile.FilterFileStore
Construct a FilterFileStore based on the specified base store.
FilterFileSystem - Class in org.apache.lucene.tests.mockfile
A FilterFileSystem contains another FileSystem, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterFileSystem(FilterFileSystemProvider, FileSystem) - Constructor for class org.apache.lucene.tests.mockfile.FilterFileSystem
Construct a FilterFileSystem based on the specified base filesystem.
FilterFileSystemProvider - Class in org.apache.lucene.tests.mockfile
A FilterFileSystemProvider contains another FileSystemProvider, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterFileSystemProvider(String, FileSystem) - Constructor for class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
Construct a FilterFileSystemProvider indicated by the specified scheme and wrapping functionality of the provider of the specified base filesystem.
FilterFileSystemProvider(String, FileSystemProvider) - Constructor for class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
Construct a FilterFileSystemProvider indicated by the specified scheme and wrapping functionality of the provider.
FilterInputStream2 - Class in org.apache.lucene.tests.mockfile
A FilterInputStream2 contains another InputStream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterInputStream2(InputStream) - Constructor for class org.apache.lucene.tests.mockfile.FilterInputStream2
Construct a FilterInputStream2 based on the specified base stream.
FilterOutputStream2 - Class in org.apache.lucene.tests.mockfile
A FilterOutputStream2 contains another OutputStream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterOutputStream2(OutputStream) - Constructor for class org.apache.lucene.tests.mockfile.FilterOutputStream2
Construct a FilterOutputStream2 based on the specified base stream.
FilterPath - Class in org.apache.lucene.tests.mockfile
A FilterPath contains another Path, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterPath(Path, FilterFileSystem) - Constructor for class org.apache.lucene.tests.mockfile.FilterPath
Construct a FilterPath with parent fileSystem, based on the specified base path.
FilterSeekableByteChannel - Class in org.apache.lucene.tests.mockfile
A FilterSeekableByteChannel contains another SeekableByteChannel, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterSeekableByteChannel(SeekableByteChannel) - Constructor for class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
Construct a FilterSeekableByteChannel based on the specified base channel.
findClass(String, Class<T>) - Method in class org.apache.lucene.tests.util.StringMockResourceLoader
 
findForcedDeletesMerges(SegmentInfos, MergePolicy.MergeContext) - Method in class org.apache.lucene.tests.index.MockRandomMergePolicy
 
findForcedMerges(SegmentInfos, int, Map<SegmentCommitInfo, Boolean>, MergePolicy.MergeContext) - Method in class org.apache.lucene.tests.index.MockRandomMergePolicy
 
findFullFlushMerges(MergeTrigger, SegmentInfos, MergePolicy.MergeContext) - Method in class org.apache.lucene.tests.index.MockRandomMergePolicy
 
findMerges(MergeTrigger, SegmentInfos, MergePolicy.MergeContext) - Method in class org.apache.lucene.tests.index.ForceMergePolicy
 
findMerges(MergeTrigger, SegmentInfos, MergePolicy.MergeContext) - Method in class org.apache.lucene.tests.index.MockRandomMergePolicy
 
finish() - Method in class org.apache.lucene.tests.geo.EarthDebugger
 
finish() - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase
 
firstRangeBeginningOriginal - Variable in class org.apache.lucene.tests.analysis.CollationTestBase
 
firstRangeEndOriginal - Variable in class org.apache.lucene.tests.analysis.CollationTestBase
 
FixedBitSetCollector - Class in org.apache.lucene.tests.search
Collector that accumulates matching docs in a FixedBitSet
floatUlpEquals(float, float, short) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns true if the arguments are equal or within the range of allowed error (inclusive).
flush() - Method in class org.apache.lucene.tests.index.RandomIndexWriter
Writes all in-memory segments to the Directory.
flush() - Method in class org.apache.lucene.tests.mockfile.FilterOutputStream2
 
force(boolean) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
force(boolean) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
forceMerge(int) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
Forces a forceMerge.
forceMergeDeletes() - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
forceMergeDeletes(boolean) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
ForceMergePolicy - Class in org.apache.lucene.tests.index
A MergePolicy that only returns forced merges.
ForceMergePolicy(MergePolicy) - Constructor for class org.apache.lucene.tests.index.ForceMergePolicy
Create a new ForceMergePolicy around the given MergePolicy
formatNames - Variable in class org.apache.lucene.tests.index.RandomCodec
unique set of format names this codec knows about
freq() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
freq() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
freq() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
FSTTester<T> - Class in org.apache.lucene.tests.util.fst
Helper class to test FSTs.
FSTTester(Random, Directory, int, List<FSTTester.InputOutput<T>>, Outputs<T>) - Constructor for class org.apache.lucene.tests.util.fst.FSTTester
 
FSTTester.InputOutput<T> - Class in org.apache.lucene.tests.util.fst
Holds one input/output pair.

G

GeoTestUtil - Class in org.apache.lucene.tests.geo
static methods for testing geo
GeoTestUtil() - Constructor for class org.apache.lucene.tests.geo.GeoTestUtil
 
get(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBits
 
get(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTermVectors
 
get(String) - Method in class org.apache.lucene.tests.search.similarities.RandomSimilarity
 
getAndResetClearCalled() - Method in interface org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttribute
 
getAndResetClearCalled() - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
getAssertNoDeleteOpenFile() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
getAttribute(String) - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
getBinaryDocValues(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getBinaryDocValues(String) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getBlockDecoder() - Static method in class org.apache.lucene.tests.codecs.uniformsplit.Rot13CypherTestUtil
 
getBlockDecoder() - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
getBlockEncoder() - Static method in class org.apache.lucene.tests.codecs.uniformsplit.Rot13CypherTestUtil
 
getBlockEncoder() - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
getBytesPerDimension() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
getBytesRef() - Method in class org.apache.lucene.tests.analysis.MockUTF16TermAttributeImpl
 
getCheckIndexOnClose() - Method in class org.apache.lucene.tests.store.BaseDirectoryWrapper
 
getChecksum() - Method in class org.apache.lucene.tests.store.CorruptingIndexOutput
 
getChildren() - Method in class org.apache.lucene.tests.search.AssertingScorer
 
getCodec() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Returns the codec to run tests against
getCodec() - Method in class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
Returns the codec to run tests against
getCoreCacheHelper() - Method in class org.apache.lucene.tests.index.AllDeletedFilterReader
 
getCoreCacheHelper() - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getCoreCacheHelper() - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getCoreCacheHelper() - Method in class org.apache.lucene.tests.index.MergingCodecReader
 
getCoreCacheHelper() - Method in class org.apache.lucene.tests.index.MismatchedCodecReader
 
getCoreCacheHelper() - Method in class org.apache.lucene.tests.index.MismatchedLeafReader
 
getCreatedVersionMajor() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Returns the major version that this codec is compatible with.
getCrossCheckTermVectorsOnClose() - Method in class org.apache.lucene.tests.store.BaseDirectoryWrapper
 
getCurrentSearcher() - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
getDataInputStream(String) - Method in class org.apache.lucene.tests.util.LuceneTestCase
Gets a resource from the test's classpath as InputStream.
getDataPath(String) - Method in class org.apache.lucene.tests.util.LuceneTestCase
Gets a resource from the test's classpath as Path.
getDefaultCodec() - Static method in class org.apache.lucene.tests.util.TestUtil
Returns the actual default codec (e.g.
getDefaultDocValuesFormat() - Static method in class org.apache.lucene.tests.util.TestUtil
Returns the actual default docvalues format (e.g.
getDefaultKnnVectorsFormat() - Static method in class org.apache.lucene.tests.util.TestUtil
Returns the actual default vector format (e.g.
getDefaultPostingsFormat() - Static method in class org.apache.lucene.tests.util.TestUtil
Returns the actual default postings format (e.g.
getDefaultPostingsFormat(int, int) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns the actual default postings format (e.g.
getDelay(boolean) - Method in class org.apache.lucene.tests.util.ThrottledIndexOutput
 
getDelegate() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
Returns the FileSystem we wrap.
getDelegate() - Method in class org.apache.lucene.tests.mockfile.FilterPath
Get the underlying wrapped path.
getDirectory(Path) - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
getDirectory(Path) - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
A subclass returns the Directory to be tested; if it's an FS-based directory it should point to the specified path, else it can ignore it.
getDirectory(Path) - Method in class org.apache.lucene.tests.store.BaseLockFactoryTestCase
Subclass returns the Directory to be tested; if it's an FS-based directory it should point to the specified path, else it can ignore it.
getDirectory(Path, int) - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
Creates a new directory with the specified max chunk size
getDirectory(Directory) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
getDocCount() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
getDocCount() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
getDocStats() - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
getDocuments() - Method in class org.apache.lucene.tests.search.MatchesTestBase
 
getDocValuesFormat(String) - Static method in class org.apache.lucene.tests.util.TestUtil
 
getDocValuesFormat(Codec, String) - Static method in class org.apache.lucene.tests.util.TestUtil
 
getDocValuesFormatForField(String) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
Returns the docvalues format that should be used for writing new segments of field .
getDocValuesFormatForField(String) - Method in class org.apache.lucene.tests.index.RandomCodec
 
getDocValuesReader() - Method in class org.apache.lucene.tests.index.MergingCodecReader
 
getDocValuesReader() - Method in class org.apache.lucene.tests.index.MismatchedCodecReader
 
getEndOffsets() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
getFieldInfos() - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getFieldInfos() - Method in class org.apache.lucene.tests.index.MismatchedCodecReader
 
getFieldInfos() - Method in class org.apache.lucene.tests.index.MismatchedLeafReader
 
getFieldsReader() - Method in class org.apache.lucene.tests.index.MergingCodecReader
 
getFieldsReader() - Method in class org.apache.lucene.tests.index.MismatchedCodecReader
 
getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
getFileHandleCount() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
returns current open file handle count
getFileName() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
getFilePointer() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
getFiles() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.FileTrackingDirectoryWrapper
Get the set of created files.
getFileStore(Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
getFileStoreAttributeView(Class<V>) - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
getFileStores() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
getFileSystem() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
getFileSystem(URI) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
getFinalSearcher() - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
getFiniteStringsRecursive(Automaton, int) - Static method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
Simple, original implementation of getFiniteStrings.
getFlags() - Method in class org.apache.lucene.tests.analysis.Token
getGraphStrings(Analyzer, String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Returns all paths accepted by the token stream graph produced by analyzing text with the provided analyzer.
getGraphStrings(TokenStream) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Returns all paths accepted by the token stream graph produced by the already initialized TokenStream.
getImpacts() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
getIn() - Method in class org.apache.lucene.tests.search.AssertingQuery
 
getIn() - Method in class org.apache.lucene.tests.search.AssertingScorer
 
getInfoStream() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase.MockMergeContext
 
getInputCloneCount() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
getJvmForkArguments() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a set of JVM arguments to fork a JVM with the same class or module path (including any associated JVM options).
getKnnVectorsFormatForField(String) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
Returns the vectors format that should be used for writing new segments of field.
getLeafCollector(LeafReaderContext) - Method in class org.apache.lucene.tests.search.AssertingCollector
 
getLeafCollector(LeafReaderContext) - Method in class org.apache.lucene.tests.search.DummyTotalHitCountCollector
 
getLiveDocs() - Method in class org.apache.lucene.tests.index.AllDeletedFilterReader
 
getLiveDocs() - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getMatches(String) - Method in class org.apache.lucene.tests.search.AssertingMatches
 
getMax() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
getMax(int) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
getMaxPackedValue() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
getMaxScore(int) - Method in class org.apache.lucene.tests.search.AssertingScorer
 
getMaxScore(int) - Method in class org.apache.lucene.tests.search.BulkScorerWrapperScorer
 
getMaxSizeInBytes() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
getMaxUsedSizeInBytes() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
Returns the peek actual storage used (bytes) in this directory.
getMergingSegments() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase.MockMergeContext
 
getMin() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
getMin(int) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
getMinPackedValue() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
getName() - Method in class org.apache.lucene.tests.store.CorruptingIndexOutput
 
getName(int) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
getNameCount() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
getNormsReader() - Method in class org.apache.lucene.tests.index.MergingCodecReader
 
getNormsReader() - Method in class org.apache.lucene.tests.index.MismatchedCodecReader
 
getNormValues(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getNormValues(String) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getNumDimensions() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
getNumericDocValues(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getNumIndexDimensions() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
getOffsetGap(String) - Method in class org.apache.lucene.tests.analysis.MockAnalyzer
Get the offset gap between tokens in fields if several fields with the same name were added.
getOnlyLeafReader(IndexReader) - Static method in class org.apache.lucene.tests.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.tests.store.MockDirectoryWrapper
 
getParent() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
getPath(String, String...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
getPath(URI) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
getPathMatcher(String) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
getPayload() - Method in class org.apache.lucene.tests.analysis.Token
getPayload() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
getPayload() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
getPayload() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
getPayloads() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
getPointTree() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
getPointValues(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getPositionIncrementGap(String) - Method in class org.apache.lucene.tests.analysis.MockAnalyzer
 
getPositionsIncrements() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
getPostingsFormat(String) - Static method in class org.apache.lucene.tests.util.TestUtil
 
getPostingsFormat(Codec, String) - Static method in class org.apache.lucene.tests.util.TestUtil
 
getPostingsFormatForField(String) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
Returns the postings format that should be used for writing new segments of field.
getPostingsFormatForField(String) - Method in class org.apache.lucene.tests.index.RandomCodec
 
getPostingsFormatWithOrds(Random) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns a random postings format that supports term ordinals
getRandom() - Method in class org.apache.lucene.tests.search.AssertingQuery
 
getRandomAcceptedString(Random) - Method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil.RandomAcceptedStrings
 
getRandomIOExceptionRate() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
getRandomIOExceptionRateOnOpen() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
getRandomString(Random) - Static method in class org.apache.lucene.tests.util.fst.FSTTester
[LUCENE-9600] This was made public because a misc module test depends on it.
getReadBytes() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper
Get information about which bytes have been read.
getReader() - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
getReader(boolean, boolean) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.AllDeletedFilterReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.AssertingDirectoryReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.MergingCodecReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.MergingDirectoryReaderWrapper
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.MismatchedCodecReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.MismatchedDirectoryReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.MismatchedLeafReader
 
getReaderCacheHelper() - Method in class org.apache.lucene.tests.index.OwnCacheKeyMultiReader
 
getReadPastLastPositionExceptionClass() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
getRoot() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
getRootDirectories() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
getScheme() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
getSeedPostings(String, long, IndexOptions, boolean) - Static method in class org.apache.lucene.tests.index.RandomPostingsTester
 
getSeparator() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
getSimilarity(Random) - Method in class org.apache.lucene.tests.search.similarities.BaseSimilarityTestCase
Return a new similarity with all parameters randomized within valid ranges.
getSortedDocValues(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getSortedDocValues(String) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getSortedNumericDocValues(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getSortedNumericDocValues(String) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getSortedSetDocValues(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getSortedSetDocValues(String) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getStartOffsets() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
getSubMatches() - Method in class org.apache.lucene.tests.search.AssertingMatches
 
getSumDocFreq() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
getSumTotalTermFreq() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
getTermBytes() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
getTerms() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
getTermVectors(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
getTermVectors(int) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
getTestClass() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Return the current class being tested.
getTestClass() - Method in class org.apache.lucene.tests.util.TestRuleStoreClassName
Returns the test class currently executing in this rule.
getTestMethods(Class<?>, ClassModel) - Method in class org.apache.lucene.tests.util.LuceneJUnit3MethodProvider
 
getTestName() - Method in class org.apache.lucene.tests.util.LuceneTestCase
Return the name of the currently executing test case.
getTotalHits() - Method in class org.apache.lucene.tests.search.DummyTotalHitCountCollector
Get the number of hits.
getTotalSpace() - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
getUnallocatedSpace() - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
getUsableSpace() - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
getUserPrincipalLookupService() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
getValueCount() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
getValueCount() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
getVersions() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Returns the versions this SI should test
getWrapped() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 

H

hadFailures() - Static method in class org.apache.lucene.tests.util.FailureMarker
 
hadFailures() - Method in class org.apache.lucene.tests.util.TestRuleMarkFailure
Check if this object had any marked failures.
HandleLimitFS - Class in org.apache.lucene.tests.mockfile
FileSystem that throws exception if file handles in use exceeds a specified limit.
HandleLimitFS(FileSystem, int) - Constructor for class org.apache.lucene.tests.mockfile.HandleLimitFS
Create a new instance, limiting the maximum number of open files to limit
HandleLimitFS.MaxOpenHandles - Annotation Type in org.apache.lucene.tests.mockfile
An annotation
handleMergeException(Throwable) - Method in class org.apache.lucene.tests.index.SuppressingConcurrentMergeScheduler
 
HandleTrackingFS - Class in org.apache.lucene.tests.mockfile
Base class for tracking file handles.
HandleTrackingFS(String, FileSystem) - Constructor for class org.apache.lucene.tests.mockfile.HandleTrackingFS
Create a new instance, identified by scheme and passing through operations to delegate.
hardLimit() - Method in annotation type org.apache.lucene.tests.util.TestRuleLimitSysouts.Limit
Maximum number of bytes passed to actual stdout or stderr.
hasDeletions - Variable in class org.apache.lucene.tests.index.PerThreadPKLookup
 
hasFinishedCollectingPreviousLeaf - Variable in class org.apache.lucene.tests.search.AssertingCollector
 
hashCode() - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
hashCode() - Method in class org.apache.lucene.tests.analysis.Token
 
hashCode() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
hashCode() - Method in class org.apache.lucene.tests.search.AssertingQuery
 
hashCode() - Method in class org.apache.lucene.tests.search.BlockScoreQueryWrapper
 
hashCode() - Method in class org.apache.lucene.tests.search.DisablingBulkScorerQuery
 
hashCode() - Method in class org.apache.lucene.tests.search.MatchesTestBase.TermMatch
 
hashCode() - Method in class org.apache.lucene.tests.search.RandomApproximationQuery
 
hasPayloads() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
hasVirusChecker(Path) - Static method in class org.apache.lucene.tests.util.TestUtil
 
hasVirusChecker(Directory) - Static method in class org.apache.lucene.tests.util.TestUtil
 
hasWindowsFS(Path) - Static method in class org.apache.lucene.tests.util.TestUtil
 
hasWindowsFS(Directory) - Static method in class org.apache.lucene.tests.util.TestUtil
 
hasWorkingMMapOnWindows() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns true, if MMapDirectory supports unmapping on this platform (required for Windows), or if we are not on Windows.
HighCompressionCompressingCodec - Class in org.apache.lucene.tests.codecs.compressing
CompressionCodec that uses CompressionMode.HIGH_COMPRESSION
HighCompressionCompressingCodec() - Constructor for class org.apache.lucene.tests.codecs.compressing.HighCompressionCompressingCodec
Default constructor.
HighCompressionCompressingCodec(int, int, boolean, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.HighCompressionCompressingCodec
Constructor that allows to configure the chunk size.
hits2str(ScoreDoc[], ScoreDoc[], int, int) - Static method in class org.apache.lucene.tests.search.CheckHits
 
HOUR - Static variable in class org.apache.lucene.tests.util.TimeUnits
1 hour in milliseconds
humanSizeOf(Object) - Static method in class org.apache.lucene.tests.util.RamUsageTester
Return a human-readable size of a given object.

I

implCloseChannel() - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.CannedBinaryTokenStream
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.CannedTokenStream
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.CrankyTokenFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockFixedLengthPayloadFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockGraphTokenFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockHoleInjectingTokenFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockLowerCaseFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockRandomLookaheadTokenFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockSynonymFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockTokenFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.MockVariableLengthPayloadFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.SimplePayloadFilter
 
incrementToken() - Method in class org.apache.lucene.tests.analysis.ValidatingTokenFilter
 
incrementToken() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
indexed - Static variable in class org.apache.lucene.tests.index.DocHelper
 
INFOSTREAM - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Enables or disables dumping of InfoStream messages.
init() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
initSearcher(long[]) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
input - Variable in class org.apache.lucene.tests.util.fst.FSTTester.InputOutput
 
inputMode - Variable in class org.apache.lucene.tests.util.fst.FSTTester
 
InputOutput(IntsRef, T) - Constructor for class org.apache.lucene.tests.util.fst.FSTTester.InputOutput
 
inputPos - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
inputTokens - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
insertToken() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
Call this only from within afterPosition, to insert a new token.
intersect(CompiledAutomaton, BytesRef) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
INTERSECTS - org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range.QueryType
 
intToEnglish(int) - Static method in class org.apache.lucene.tests.util.English
 
intToEnglish(int, StringBuilder) - Static method in class org.apache.lucene.tests.util.English
 
IOStats() - Constructor for class org.apache.lucene.tests.index.BaseMergePolicyTestCase.IOStats
 
isAbsolute() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
isAssumption(Throwable) - Static method in class org.apache.lucene.tests.util.TestRuleMarkFailure
Is a given exception (or a MultipleFailureException) an AssumptionViolatedException?
isDeterministicSlow(Automaton) - Static method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
Returns true if the automaton is deterministic.
isDisjoint(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
isEnabled() - Method in class org.apache.lucene.tests.mockfile.VirusCheckingFS
 
isEnabled(String) - Method in class org.apache.lucene.tests.util.FailOnNonBulkMergesInfoStream
 
isEnabled(String) - Method in class org.apache.lucene.tests.util.NullInfoStream
 
isEnforced() - Method in class org.apache.lucene.tests.util.TestRuleLimitSysouts
 
isEqual(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
isEventsRecorded() - Method in class org.apache.lucene.tests.index.MockIndexWriterEventListener
 
isExtra(String) - Static method in class org.apache.lucene.tests.mockfile.ExtrasFS
 
isFiniteSlow(Automaton) - Static method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
Returns true if the language of this automaton is finite.
isHidden(Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
isMissing - Variable in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
isMyEvilException(Throwable) - Static method in class org.apache.lucene.tests.analysis.MockReaderWrapper
 
isOK(Throwable) - Method in class org.apache.lucene.tests.index.SuppressingConcurrentMergeScheduler
 
isOpen - Variable in class org.apache.lucene.tests.store.BaseDirectoryWrapper
 
isOpen() - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
isOpen() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
isOpen() - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
isOpen() - Method in class org.apache.lucene.tests.store.BaseDirectoryWrapper
 
isPostingsEnumReuseImplemented() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
isReadOnly() - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
isReadOnly() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
isRunningNested() - Static method in class org.apache.lucene.tests.util.TestRuleIgnoreTestSuites
Check if a suite class is running as a nested test.
isSameFile(Path, Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
isTestThread() - Method in class org.apache.lucene.tests.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.tests.analysis.MockTokenizer
 
isWithin(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
iterator() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingFields
 
iterator() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
iterator() - Method in class org.apache.lucene.tests.mockfile.FilterDirectoryStream
 
iterator() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
iterator() - Method in class org.apache.lucene.tests.search.AssertingMatches
 
iterator() - Method in class org.apache.lucene.tests.search.AssertingScorer
 
iterator() - Method in class org.apache.lucene.tests.search.BulkScorerWrapperScorer
 

J

JENKINS_LARGE_LINE_DOCS_FILE - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Random sample from enwiki used in tests.

K

KEY - Static variable in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
keyField - Static variable in class org.apache.lucene.tests.index.DocHelper
 
KEYWORD - Static variable in class org.apache.lucene.tests.analysis.MockTokenizer
Acts Similar to KeywordTokenizer.
KEYWORD_FIELD_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
KEYWORD_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
keywordMockTokenizer(Reader) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
keywordMockTokenizer(String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
knnVectorsFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
knnVectorsFormat() - Method in class org.apache.lucene.tests.codecs.vector.ConfigurableMCodec
 

L

LARGE_LAZY_FIELD_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
LARGE_LAZY_FIELD_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
largeLazyField - Static variable in class org.apache.lucene.tests.index.DocHelper
 
lazy - Static variable in class org.apache.lucene.tests.index.DocHelper
 
LAZY_FIELD_BINARY_BYTES - Static variable in class org.apache.lucene.tests.index.DocHelper
 
LAZY_FIELD_BINARY_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
LAZY_FIELD_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
LAZY_FIELD_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
lazyField - Static variable in class org.apache.lucene.tests.index.DocHelper
 
lazyFieldBinary - Static variable in class org.apache.lucene.tests.index.DocHelper
 
LeakFS - Class in org.apache.lucene.tests.mockfile
FileSystem that tracks open handles.
LeakFS(FileSystem) - Constructor for class org.apache.lucene.tests.mockfile.LeakFS
Create a new instance, tracking file handle leaks for the specified delegate filesystem.
LEAVE_TEMPORARY - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Leave temporary files on disk, even on successful runs.
length() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBits
 
length() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
limit() - Method in annotation type org.apache.lucene.tests.mockfile.HandleLimitFS.MaxOpenHandles
 
LineFileDocs - Class in org.apache.lucene.tests.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) - Constructor for class org.apache.lucene.tests.util.LineFileDocs
 
LineFileDocs(Random, String) - Constructor for class org.apache.lucene.tests.util.LineFileDocs
If forever is true, we rewind the file at EOF (repeat the docs over and over)
listAll() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
LIVE_DOCS - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
liveDocs - Variable in class org.apache.lucene.tests.index.PerThreadPKLookup
 
liveDocsFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
liveDocsFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
localeForLanguageTag(String) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
return a Locale object equivalent to its programmatic name
localSearch(Query, int) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
localSearch(Query, int, Sort) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
localSearchAfter(ScoreDoc, Query, int) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
lock(long, long, boolean) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
lock(long, long, boolean) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
lock(long, long, boolean, A, CompletionHandler<FileLock, ? super A>) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
longToEnglish(long) - Static method in class org.apache.lucene.tests.util.English
 
longToEnglish(long, StringBuilder) - Static method in class org.apache.lucene.tests.util.English
 
longValue() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
LookaheadTokenFilter<T extends LookaheadTokenFilter.Position> - Class in org.apache.lucene.tests.analysis
An abstract TokenFilter to make it easier to build graph token filters requiring some lookahead.
LookaheadTokenFilter(TokenStream) - Constructor for class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
LookaheadTokenFilter.Position - Class in org.apache.lucene.tests.analysis
Holds all state for a single position; subclass this to record other state at each position.
lookup(BytesRef) - Method in class org.apache.lucene.tests.index.PerThreadPKLookup
Returns docID if found, else -1.
lookupOrd(int) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
lookupOrd(long) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
lookupTerm(BytesRef) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
lookupTerm(BytesRef) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
LuceneFixedGap - Class in org.apache.lucene.tests.codecs.blockterms
Customized version of Lucene912PostingsFormat that uses FixedGapTermsIndexWriter.
LuceneFixedGap() - Constructor for class org.apache.lucene.tests.codecs.blockterms.LuceneFixedGap
 
LuceneFixedGap(int) - Constructor for class org.apache.lucene.tests.codecs.blockterms.LuceneFixedGap
 
LuceneJUnit3MethodProvider - Class in org.apache.lucene.tests.util
Backwards compatible test* method provider (public, non-static).
LuceneJUnit3MethodProvider() - Constructor for class org.apache.lucene.tests.util.LuceneJUnit3MethodProvider
 
LuceneTestCase - Class in org.apache.lucene.tests.util
Base class for all Lucene unit tests, Junit3 or Junit4 variant.
LuceneTestCase() - Constructor for class org.apache.lucene.tests.util.LuceneTestCase
 
LuceneTestCase.AwaitsFix - Annotation Type in org.apache.lucene.tests.util
Annotation for tests which exhibit a known issue and are temporarily disabled.
LuceneTestCase.BadApple - Annotation Type in org.apache.lucene.tests.util
Annotation for tests that fail frequently and are not executed in Jenkins builds to not spam mailing lists with false reports.
LuceneTestCase.Monster - Annotation Type in org.apache.lucene.tests.util
Annotation for monster tests that require special setup (e.g.
LuceneTestCase.Nightly - Annotation Type in org.apache.lucene.tests.util
Annotation for tests that should only be run during nightly builds.
LuceneTestCase.SuppressCodecs - Annotation Type in org.apache.lucene.tests.util
Annotation for test classes that should avoid certain codec types (because they are expensive, for example).
LuceneTestCase.SuppressFileSystems - Annotation Type in org.apache.lucene.tests.util
Annotation for test classes that should avoid mock filesystem types (because they test a bug that only happens on linux, for example).
LuceneTestCase.SuppressFsync - Annotation Type in org.apache.lucene.tests.util
Annotation for test classes that should avoid always omit actual fsync calls from reaching the filesystem.
LuceneTestCase.SuppressReproduceLine - Annotation Type in org.apache.lucene.tests.util
Suppress the default reproduce with: ant test... Your own listener can be added as needed for your build.
LuceneTestCase.SuppressSysoutChecks - Annotation Type in org.apache.lucene.tests.util
Ignore TestRuleLimitSysouts for any suite which is known to print over the default limit of bytes to System.out or System.err.
LuceneTestCase.SuppressTempFileChecks - Annotation Type in org.apache.lucene.tests.util
Marks any suites which are known not to close all the temporary files.
LuceneTestCase.ThrowingConsumer<T> - Interface in org.apache.lucene.tests.util
A Consumer that can throw any checked exception.
LuceneTestCase.ThrowingRunnable - Interface in org.apache.lucene.tests.util
A runnable that can throw any checked exception.
LuceneTestCase.Weekly - Annotation Type in org.apache.lucene.tests.util
Annotation for tests that should only be run during weekly builds
LuceneVarGapDocFreqInterval - Class in org.apache.lucene.tests.codecs.blockterms
Customized version of Lucene912PostingsFormat that uses VariableGapTermsIndexWriter with a fixed interval, but forcing high docfreq terms to be indexed terms.
LuceneVarGapDocFreqInterval() - Constructor for class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapDocFreqInterval
 
LuceneVarGapDocFreqInterval(int, int) - Constructor for class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapDocFreqInterval
 
LuceneVarGapFixedInterval - Class in org.apache.lucene.tests.codecs.blockterms
Customized version of Lucene912PostingsFormat that uses VariableGapTermsIndexWriter with a fixed interval.
LuceneVarGapFixedInterval() - Constructor for class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapFixedInterval
 
LuceneVarGapFixedInterval(int) - Constructor for class org.apache.lucene.tests.codecs.blockterms.LuceneVarGapFixedInterval
 
LZ4WithPresetCompressingCodec - Class in org.apache.lucene.tests.codecs.compressing
CompressionCodec that uses LZ4WithPresetDictCompressionMode.
LZ4WithPresetCompressingCodec() - Constructor for class org.apache.lucene.tests.codecs.compressing.LZ4WithPresetCompressingCodec
No-arg constructor.
LZ4WithPresetCompressingCodec(int, int, boolean, int) - Constructor for class org.apache.lucene.tests.codecs.compressing.LZ4WithPresetCompressingCodec
Constructor that allows to configure the chunk size.

M

makeSegmentCommitInfo(String, int, int, double, String) - Static method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Make a new SegmentCommitInfo with the given maxDoc, numDeletedDocs and sizeInBytes, which are usually the numbers that merge policies care about.
map(FileChannel.MapMode, long, long) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
mark(int) - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
markFailed() - Method in class org.apache.lucene.tests.util.TestRuleMarkFailure
Taints this object and any chained as having failures.
markSupported() - Method in class org.apache.lucene.tests.analysis.MockReaderWrapper
 
markSupported() - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
MatchesAsserter(Query, IndexSearcher) - Constructor for class org.apache.lucene.tests.search.CheckHits.MatchesAsserter
 
MatchesTestBase - Class in org.apache.lucene.tests.search
Base class for tests checking the Weight.matches(LeafReaderContext, int) implementations
MatchesTestBase() - Constructor for class org.apache.lucene.tests.search.MatchesTestBase
 
MatchesTestBase.TermMatch - Class in org.apache.lucene.tests.search
Encapsulates a term position, start and end offset
matchTheseItems(int[]) - Method in class org.apache.lucene.tests.search.BaseExplanationTestCase
Convenience subclass of TermsQuery
MAX_LIMIT - Static variable in class org.apache.lucene.tests.util.TestRuleLimitSysouts
Maximum limit allowed for TestRuleLimitSysouts.Limit.bytes() before sysout check suppression is suggested.
MAX_OPEN_FILES - Static variable in annotation type org.apache.lucene.tests.mockfile.HandleLimitFS.MaxOpenHandles
 
maxPackedValue - Variable in class org.apache.lucene.tests.index.PointsStackTracker.Cell
 
MAYBE_CACHE_POLICY - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
A QueryCachingPolicy that randomly caches.
maybeChangeLiveIndexWriterConfig(Random, LiveIndexWriterConfig) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
maybeWrapReader(IndexReader) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Sometimes wrap the IndexReader as slow, parallel or filter reader (or combinations of that)
maybeWrapWithMergingReader(DirectoryReader) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
 
mBitsToBytes(int) - Static method in class org.apache.lucene.tests.util.ThrottledIndexOutput
 
mergeIsStable() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
 
mergeIsStable() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
mergePolicy() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Create a new MergePolicy instance.
MergingCodecReader - Class in org.apache.lucene.tests.index
CodecReader wrapper that performs all reads using the merging instance of the index formats.
MergingCodecReader(CodecReader) - Constructor for class org.apache.lucene.tests.index.MergingCodecReader
Wrap the given instance.
MergingDirectoryReaderWrapper - Class in org.apache.lucene.tests.index
DirectoryReader wrapper that uses the merge instances of the wrapped CodecReaders.
MergingDirectoryReaderWrapper(DirectoryReader) - Constructor for class org.apache.lucene.tests.index.MergingDirectoryReaderWrapper
Wrap the given directory.
message(String, String) - Method in class org.apache.lucene.tests.util.FailOnNonBulkMergesInfoStream
 
message(String, String) - Method in class org.apache.lucene.tests.util.NullInfoStream
 
mgr - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
minimizeSimple(Automaton) - Static method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
Simple, original brics implementation of Brzozowski minimize()
minPackedValue - Variable in class org.apache.lucene.tests.index.PointsStackTracker.Cell
 
MINUTE - Static variable in class org.apache.lucene.tests.util.TimeUnits
1 minute in milliseconds
MismatchedCodecReader - Class in org.apache.lucene.tests.index
Shuffles field numbers around to try to trip bugs where field numbers are assumed to always be consistent across segments.
MismatchedCodecReader(CodecReader, Random) - Constructor for class org.apache.lucene.tests.index.MismatchedCodecReader
Sole constructor.
MismatchedDirectoryReader - Class in org.apache.lucene.tests.index
A DirectoryReader that wraps all its subreaders with MismatchedLeafReader
MismatchedDirectoryReader(DirectoryReader, Random) - Constructor for class org.apache.lucene.tests.index.MismatchedDirectoryReader
 
MismatchedLeafReader - Class in org.apache.lucene.tests.index
Shuffles field numbers around to try to trip bugs where field numbers are assumed to always be consistent across segments.
MismatchedLeafReader(LeafReader, Random) - Constructor for class org.apache.lucene.tests.index.MismatchedLeafReader
Creates a new reader which will renumber fields in in
MockAnalyzer - Class in org.apache.lucene.tests.analysis
Analyzer for testing
MockAnalyzer(Random) - Constructor for class org.apache.lucene.tests.analysis.MockAnalyzer
Create a Whitespace-lowercasing analyzer with no stopwords removal.
MockAnalyzer(Random, CharacterRunAutomaton, boolean) - Constructor for class org.apache.lucene.tests.analysis.MockAnalyzer
MockAnalyzer(Random, CharacterRunAutomaton, boolean, CharacterRunAutomaton) - Constructor for class org.apache.lucene.tests.analysis.MockAnalyzer
Creates a new MockAnalyzer.
MockBytesAnalyzer - Class in org.apache.lucene.tests.analysis
Analyzer for testing that encodes terms as UTF-16 bytes.
MockBytesAnalyzer() - Constructor for class org.apache.lucene.tests.analysis.MockBytesAnalyzer
 
MockCharFilter - Class in org.apache.lucene.tests.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) - Constructor for class org.apache.lucene.tests.analysis.MockCharFilter
 
MockCharFilter(Reader, int) - Constructor for class org.apache.lucene.tests.analysis.MockCharFilter
 
MockDirectoryWrapper - Class in org.apache.lucene.tests.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.tests.store.MockDirectoryWrapper
 
MockDirectoryWrapper.Failure - Class in org.apache.lucene.tests.store
Objects that represent fail-able conditions.
MockDirectoryWrapper.FakeIOException - Exception in org.apache.lucene.tests.store
Use this when throwing fake IOException, e.g.
MockDirectoryWrapper.Throttling - Enum in org.apache.lucene.tests.store
Enum for controlling hard disk throttling.
MockFileSystemTestCase - Class in org.apache.lucene.tests.mockfile
Base class for testing mockfilesystems.
MockFileSystemTestCase() - Constructor for class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
 
MockFixedLengthPayloadFilter - Class in org.apache.lucene.tests.analysis
TokenFilter that adds random fixed-length payloads.
MockFixedLengthPayloadFilter(Random, TokenStream, int) - Constructor for class org.apache.lucene.tests.analysis.MockFixedLengthPayloadFilter
 
MockGraphTokenFilter - Class in org.apache.lucene.tests.analysis
Randomly inserts overlapped (posInc=0) tokens with posLength sometimes > 1.
MockGraphTokenFilter(Random, TokenStream) - Constructor for class org.apache.lucene.tests.analysis.MockGraphTokenFilter
 
MockHoleInjectingTokenFilter - Class in org.apache.lucene.tests.analysis
Randomly injects holes (similar to what a stopfilter would do)
MockHoleInjectingTokenFilter(Random, TokenStream) - Constructor for class org.apache.lucene.tests.analysis.MockHoleInjectingTokenFilter
 
MockIndexInputWrapper - Class in org.apache.lucene.tests.store
Used by MockDirectoryWrapper to create an input stream that keeps track of when it's been closed.
MockIndexInputWrapper(MockDirectoryWrapper, String, IndexInput, MockIndexInputWrapper, boolean) - Constructor for class org.apache.lucene.tests.store.MockIndexInputWrapper
Sole constructor
MockIndexOutputWrapper - Class in org.apache.lucene.tests.store
Used 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.tests.store.MockIndexOutputWrapper
Construct an empty output buffer.
mockIndexWriter(Random, Directory, IndexWriterConfig, RandomIndexWriter.TestPoint) - Static method in class org.apache.lucene.tests.index.RandomIndexWriter
Returns an indexwriter that enables the specified test point
mockIndexWriter(Directory, IndexWriterConfig, Random) - Static method in class org.apache.lucene.tests.index.RandomIndexWriter
Returns an indexwriter that randomly mixes up thread scheduling (by yielding at test points)
MockIndexWriterEventListener - Class in org.apache.lucene.tests.index
Mock IndexWriterEventListener to verify invocation of event methods
MockIndexWriterEventListener() - Constructor for class org.apache.lucene.tests.index.MockIndexWriterEventListener
 
MockLowerCaseFilter - Class in org.apache.lucene.tests.analysis
A lowercasing TokenFilter.
MockLowerCaseFilter(TokenStream) - Constructor for class org.apache.lucene.tests.analysis.MockLowerCaseFilter
Sole constructor.
MockMergeContext(ToIntFunction<SegmentCommitInfo>) - Constructor for class org.apache.lucene.tests.index.BaseMergePolicyTestCase.MockMergeContext
 
MockPayloadAnalyzer - Class in org.apache.lucene.tests.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.tests.analysis.MockPayloadAnalyzer
 
MockRandomLookaheadTokenFilter - Class in org.apache.lucene.tests.analysis
Uses LookaheadTokenFilter to randomly peek at future tokens.
MockRandomLookaheadTokenFilter(Random, TokenStream) - Constructor for class org.apache.lucene.tests.analysis.MockRandomLookaheadTokenFilter
 
MockRandomMergePolicy - Class in org.apache.lucene.tests.index
MergePolicy that makes random decisions for testing.
MockRandomMergePolicy(Random) - Constructor for class org.apache.lucene.tests.index.MockRandomMergePolicy
 
MockRandomPostingsFormat - Class in org.apache.lucene.tests.codecs.mockrandom
Randomly combines terms index impl w/ postings impls.
MockRandomPostingsFormat() - Constructor for class org.apache.lucene.tests.codecs.mockrandom.MockRandomPostingsFormat
 
MockRandomPostingsFormat(Random) - Constructor for class org.apache.lucene.tests.codecs.mockrandom.MockRandomPostingsFormat
 
MockReaderWrapper - Class in org.apache.lucene.tests.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.tests.analysis.MockReaderWrapper
 
MockSynonymAnalyzer - Class in org.apache.lucene.tests.analysis
adds synonym of "dog" for "dogs", and synonym of "cavy" for "guinea pig".
MockSynonymAnalyzer() - Constructor for class org.apache.lucene.tests.analysis.MockSynonymAnalyzer
 
MockSynonymFilter - Class in org.apache.lucene.tests.analysis
adds synonym of "dog" for "dogs", and synonym of "cavy" for "guinea pig".
MockSynonymFilter(TokenStream) - Constructor for class org.apache.lucene.tests.analysis.MockSynonymFilter
 
MockTokenFilter - Class in org.apache.lucene.tests.analysis
A tokenfilter for testing that removes terms accepted by a DFA.
MockTokenFilter(TokenStream, CharacterRunAutomaton) - Constructor for class org.apache.lucene.tests.analysis.MockTokenFilter
Create a new MockTokenFilter.
MockTokenizer - Class in org.apache.lucene.tests.analysis
Tokenizer for testing.
MockTokenizer() - Constructor for class org.apache.lucene.tests.analysis.MockTokenizer
MockTokenizer(AttributeFactory) - Constructor for class org.apache.lucene.tests.analysis.MockTokenizer
MockTokenizer(AttributeFactory, CharacterRunAutomaton, boolean) - Constructor for class org.apache.lucene.tests.analysis.MockTokenizer
 
MockTokenizer(AttributeFactory, CharacterRunAutomaton, boolean, int) - Constructor for class org.apache.lucene.tests.analysis.MockTokenizer
 
MockTokenizer(CharacterRunAutomaton, boolean) - Constructor for class org.apache.lucene.tests.analysis.MockTokenizer
 
MockTokenizer(CharacterRunAutomaton, boolean, int) - Constructor for class org.apache.lucene.tests.analysis.MockTokenizer
 
MockUTF16TermAttributeImpl - Class in org.apache.lucene.tests.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.tests.analysis.MockUTF16TermAttributeImpl
 
MockVariableLengthPayloadFilter - Class in org.apache.lucene.tests.analysis
TokenFilter that adds random variable-length payloads.
MockVariableLengthPayloadFilter(Random, TokenStream) - Constructor for class org.apache.lucene.tests.analysis.MockVariableLengthPayloadFilter
 
move(Path, Path, CopyOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
move(Path, Path, CopyOption...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
move(Path, Path, CopyOption...) - Method in class org.apache.lucene.tests.mockfile.WindowsFS
 
myNodeID - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
myNodeID - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 

N

name() - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
nameValues - Static variable in class org.apache.lucene.tests.index.DocHelper
 
NEVER - org.apache.lucene.tests.store.MockDirectoryWrapper.Throttling
never throttle output
newAlcoholicMergePolicy() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newAlcoholicMergePolicy(Random, TimeZone) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.DisableFsyncFS
 
newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
 
newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
newAttributeFactory() - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Returns a random AttributeFactory impl
newAttributeFactory(Random) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Returns a random AttributeFactory impl
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
 
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
newBytesRef() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates a random empty BytesRef that sometimes uses a non-zero offset, and non-zero end-padding, to tickle latent bugs that fail to look at BytesRef.offset.
newBytesRef(byte[]) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates a random BytesRef from the incoming bytes that sometimes uses a non-zero offset, and non-zero end-padding, to tickle latent bugs that fail to look at BytesRef.offset.
newBytesRef(byte[], int, int) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates a copy of the incoming bytes slice that sometimes uses a non-zero offset, and non-zero end-padding, to tickle latent bugs that fail to look at BytesRef.offset.
newBytesRef(int) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates a random empty BytesRef, with at least the requested length of bytes free, that sometimes uses a non-zero offset, and non-zero end-padding, to tickle latent bugs that fail to look at BytesRef.offset.
newBytesRef(String) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates a BytesRef holding UTF-8 bytes for the incoming String, that sometimes uses a non-zero offset, and non-zero end-padding, to tickle latent bugs that fail to look at BytesRef.offset.
newBytesRef(BytesRef) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Creates a copy of the incoming BytesRef that sometimes uses a non-zero offset, and non-zero end-padding, to tickle latent bugs that fail to look at BytesRef.offset.
newContainsQuery(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
newCrossesQuery(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
newDirectory() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a new Directory instance.
newDirectory(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a new Directory instance, using the specified random.
newDirectory(Random, Directory) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a new Directory instance, using the specified random with contents copied from the provided directory.
newDirectory(Random, LockFactory) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a new Directory instance, using the specified random.
newDirectory(Directory) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a new Directory instance, with contents copied from the provided directory.
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
 
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class org.apache.lucene.tests.mockfile.ShuffleFS
 
newDistanceQuery(String, double, double, double) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
newDistanceQuery(String, float, float, float) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
newDocument(int, int, BaseTermVectorsFormatTestCase.Options) - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomDocumentFactory
 
newField(String, String, FieldType) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newField(Random, String, Object, FieldType) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.DisableFsyncFS
 
newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
 
newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
newFileSystem(URI, Map<String, ?>) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newFileSystem(Path, Map<String, ?>) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newFromDelegate(IndexOutput) - Method in class org.apache.lucene.tests.util.ThrottledIndexOutput
 
newFSDirectory(Path) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a new FSDirectory instance over the given file, which must be a folder.
newFSDirectory(Path, LockFactory) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns a new FSDirectory instance over the given file, which must be a folder.
newGeometryQuery(String, LatLonGeometry...) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
newGeometryQuery(String, XYGeometry...) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
newIndexWriterConfig() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
create a new index writer config with random defaults
newIndexWriterConfig(Random, Analyzer) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
create a new index writer config with random defaults using the specified random
newIndexWriterConfig(Analyzer) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
create a new index writer config with random defaults
newInputStream(Path, OpenOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newInputStream(Path, OpenOption...) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
 
newIntersectsQuery(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
newIOContext(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
TODO: javadoc
newIOContext(Random, IOContext) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
TODO: javadoc
newLogMergePolicy() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newLogMergePolicy(boolean) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newLogMergePolicy(boolean, int) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newLogMergePolicy(int) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newLogMergePolicy(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMaybeVirusCheckingDirectory() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Like LuceneTestCase.newDirectory() except randomly the VirusCheckingFS may be installed
newMaybeVirusCheckingFSDirectory(Path) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
newMergePolicy() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMergePolicy(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMergePolicy(Random, boolean) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMockDirectory() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMockDirectory(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMockDirectory(Random, LockFactory) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMockFSDirectory(Path) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newMockFSDirectory(Path, LockFactory) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newOutputStream(Path, OpenOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
newOutputStream(Path, OpenOption...) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
 
newOutputStream(Path, OpenOption...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
newPolygonQuery(String, Polygon...) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
newPolygonQuery(String, XYPolygon...) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
newPosition() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
newPosition() - Method in class org.apache.lucene.tests.analysis.MockGraphTokenFilter
 
newPosition() - Method in class org.apache.lucene.tests.analysis.MockRandomLookaheadTokenFilter
 
newRangeField(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
newRectQuery(String, double, double, double, double) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
newRectQuery(String, float, float, float, float) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
newSearcher(IndexReader) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Create a new searcher over the reader.
newSearcher(IndexReader, boolean) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Create a new searcher over the reader.
newSearcher(IndexReader, boolean, boolean) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Create a new searcher over the reader.
newSearcher(IndexReader, boolean, boolean, boolean) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Create a new searcher over the reader.
newSegmentInfo(Directory, String) - Static method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
Returns a new fake segment
newSegmentInfo(Directory, String) - Static method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Returns a new fake segment
newSnapshotIndexWriterConfig(Analyzer) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
create a new index writer config with a snapshot deletion policy
newStringField(String, String, Field.Store) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newStringField(String, BytesRef, Field.Store) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newStringField(Random, String, String, Field.Store) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newStringField(Random, String, BytesRef, Field.Store) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newTextField(String, String, Field.Store) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newTextField(Random, String, String, Field.Store) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newTieredMergePolicy() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newTieredMergePolicy(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
newWatchService() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
newWithinQuery(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
nextBigInteger(Random, int) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns a randomish big integer with 1 .. maxBytes storage.
nextBox() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
nextBox() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
nextBox() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
returns next pseudorandom box: can cross the 180th meridian
nextBox(Random) - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
 
nextBoxNear(Polygon) - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
Returns next box for testing near a Polygon
nextBoxNotCrossingDateline() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
returns next pseudorandom box: does not cross the 180th meridian
nextCircle() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
nextCircle() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
 
nextCircle() - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
 
nextDoc() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
nextDoc() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
nextDoc() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
nextDoc() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
nextDoc() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
nextDoc() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
nextDoc() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
nextDoc() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
nextDoc() - Method in class org.apache.lucene.tests.util.LineFileDocs
Note: Document instance is re-used per-thread
nextFloat(Random) - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
 
nextGeometry() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
nextGeometry() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
nextInt(Random, int, int) - Static method in class org.apache.lucene.tests.util.TestUtil
start and end are BOTH inclusive
nextLatitude() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
nextLatitude() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
returns next pseudorandom latitude (anywhere)
nextLine() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
 
nextLine() - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
 
nextLong(Random, long, long) - Static method in class org.apache.lucene.tests.util.TestUtil
start and end are BOTH inclusive
nextLongitude() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
nextLongitude() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
returns next pseudorandom longitude (anywhere)
nextOrd() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
 
nextPoint() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
 
nextPointNear(Polygon) - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
Returns next point (lat/lon) for testing near a Polygon
nextPointNear(Rectangle) - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
Returns next point (lat/lon) for testing near a Box.
nextPolygon() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
nextPolygon() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
nextPolygon() - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
returns next pseudorandom polygon
nextPolygon() - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
returns next pseudorandom polygon
nextPosition() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
nextPosition() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
nextPosition() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
nextRange(int) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
nextRead - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
nextState() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
nextToken() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
Call this when you are done looking ahead; it will set the next token to return.
nextValue() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
 
nextX() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
nextXYPoint() - Static method in class org.apache.lucene.tests.geo.ShapeTestUtil
 
nextY() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
NO_NORMS_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
NO_NORMS_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
NO_TF_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
NO_TF_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
nodeCount - Variable in class org.apache.lucene.tests.util.fst.FSTTester
 
nodes - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase
 
NodeState(Random, int, int) - Constructor for class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
nodeVersions - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
NONE - org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.Options
 
noNorms - Static variable in class org.apache.lucene.tests.index.DocHelper
 
noNormsField - Static variable in class org.apache.lucene.tests.index.DocHelper
 
normalize() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
normalize(int) - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
normalize(String, TokenStream) - Method in class org.apache.lucene.tests.analysis.MockAnalyzer
 
normsConsumer(SegmentWriteState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingNormsFormat
 
normsFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
normsFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
normsProducer(SegmentReadState) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingNormsFormat
 
notermvector - Static variable in class org.apache.lucene.tests.index.DocHelper
 
noTf - Static variable in class org.apache.lucene.tests.index.DocHelper
 
noTFField - Static variable in class org.apache.lucene.tests.index.DocHelper
 
notifyReaderClosedListeners() - Method in class org.apache.lucene.tests.index.OwnCacheKeyMultiReader
 
NullInfoStream - Class in org.apache.lucene.tests.util
Prints nothing.
NullInfoStream() - Constructor for class org.apache.lucene.tests.util.NullInfoStream
 
numDeletedDocs(SegmentCommitInfo) - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase.MockMergeContext
 
numDeletesToMerge(SegmentCommitInfo) - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase.MockMergeContext
 
numDimensions() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
numDocs() - Method in class org.apache.lucene.tests.index.AllDeletedFilterReader
 
numFields(Document) - Static method in class org.apache.lucene.tests.index.DocHelper
 
numSegs - Variable in class org.apache.lucene.tests.index.PerThreadPKLookup
 

O

obtainLock(String) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
offsetAtt - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
OFFSETS - org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.Options
 
onClose() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
Override to trigger some behavior when the filesystem is closed.
onClose() - Method in class org.apache.lucene.tests.mockfile.LeakFS
 
onClose(Path, Object) - Method in class org.apache.lucene.tests.mockfile.HandleLimitFS
 
onClose(Path, Object) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
Called when path is closed via stream.
onClose(Path, Object) - Method in class org.apache.lucene.tests.mockfile.LeakFS
 
onClose(Path, Object) - Method in class org.apache.lucene.tests.mockfile.WindowsFS
 
onCompare(byte[], byte[]) - Method in class org.apache.lucene.tests.index.PointsStackTracker
 
onOpen(Path, Object) - Method in class org.apache.lucene.tests.mockfile.HandleLimitFS
 
onOpen(Path, Object) - Method in class org.apache.lucene.tests.mockfile.HandleTrackingFS
Called when path is opened via stream.
onOpen(Path, Object) - Method in class org.apache.lucene.tests.mockfile.LeakFS
 
onOpen(Path, Object) - Method in class org.apache.lucene.tests.mockfile.WindowsFS
 
openChecksumInput(String, IOContext) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper
 
openChecksumInput(String, IOContext) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
openChecksumInput(String, IOContext) - Method in class org.apache.lucene.tests.store.RawDirectoryWrapper
 
openInput(String, IOContext) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper
 
openInput(String, IOContext) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
openResource(String) - Method in class org.apache.lucene.tests.util.StringMockResourceLoader
 
optB(Query) - Method in class org.apache.lucene.tests.search.BaseExplanationTestCase
MACRO: Wraps a Query in a BooleanQuery so that it is optional, along with a second prohibited clause which will never match anything
ordValue() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
 
org.apache.lucene.tests.analysis - package org.apache.lucene.tests.analysis
Support for testing analysis components.
org.apache.lucene.tests.analysis.standard - package org.apache.lucene.tests.analysis.standard
Classes to support StandardAnalyzer component testing.
org.apache.lucene.tests.codecs.asserting - package org.apache.lucene.tests.codecs.asserting
Codec for testing that asserts various contracts of the codec apis.
org.apache.lucene.tests.codecs.blockterms - package org.apache.lucene.tests.codecs.blockterms
Codecs for testing that support org.apache.lucene.codecs.blockterms.
org.apache.lucene.tests.codecs.bloom - package org.apache.lucene.tests.codecs.bloom
Support for generating test indexes using the BloomFilteringPostingsFormat.
org.apache.lucene.tests.codecs.cheapbastard - package org.apache.lucene.tests.codecs.cheapbastard
Codec that unreasonably tries to use as little RAM as possible.
org.apache.lucene.tests.codecs.compressing - package org.apache.lucene.tests.codecs.compressing
org.apache.lucene.tests.codecs.compressing.dummy - package org.apache.lucene.tests.codecs.compressing.dummy
Dummy CompressingCodec implementation used for testing.
org.apache.lucene.tests.codecs.cranky - package org.apache.lucene.tests.codecs.cranky
Codec for testing that throws random IOExceptions
org.apache.lucene.tests.codecs.mockrandom - package org.apache.lucene.tests.codecs.mockrandom
Frankenstein codec for testing that pieces together random components.
org.apache.lucene.tests.codecs.ramonly - package org.apache.lucene.tests.codecs.ramonly
Codec for testing that never writes to disk.
org.apache.lucene.tests.codecs.uniformsplit - package org.apache.lucene.tests.codecs.uniformsplit
Test PostingsFormat for testing org.apache.lucene.codecs.uniformsplit with block encryption using basic ROT13.
org.apache.lucene.tests.codecs.uniformsplit.sharedterms - package org.apache.lucene.tests.codecs.uniformsplit.sharedterms
Test PostingsFormat for testing org.apache.lucene.codecs.uniformsplit.sharedterms with block encryption using basic ROT13.
org.apache.lucene.tests.codecs.vector - package org.apache.lucene.tests.codecs.vector
Codecs for testing different vector formats.
org.apache.lucene.tests.geo - package org.apache.lucene.tests.geo
Reusable geo test utilities.
org.apache.lucene.tests.index - package org.apache.lucene.tests.index
Support for testing of indexes.
org.apache.lucene.tests.mockfile - package org.apache.lucene.tests.mockfile
Support for testing/debugging with virtual filesystems
org.apache.lucene.tests.search - package org.apache.lucene.tests.search
Support for testing search components.
org.apache.lucene.tests.search.similarities - package org.apache.lucene.tests.search.similarities
Support for testing similarities.
org.apache.lucene.tests.store - package org.apache.lucene.tests.store
Support for testing store mechanisms.
org.apache.lucene.tests.util - package org.apache.lucene.tests.util
General test support.
org.apache.lucene.tests.util.automaton - package org.apache.lucene.tests.util.automaton
Support for testing automata.
org.apache.lucene.tests.util.fst - package org.apache.lucene.tests.util.fst
Support for FST testing.
out - Variable in class org.apache.lucene.tests.analysis.TokenStreamToDot
 
output - Variable in class org.apache.lucene.tests.util.fst.FSTTester.InputOutput
 
outputPos - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
outputs - Variable in class org.apache.lucene.tests.util.fst.FSTTester
 
outputsEqual(T, T) - Method in class org.apache.lucene.tests.util.fst.FSTTester
 
overrideDefaultQueryCache() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
overrideTestDefaultQueryCache() - Method in class org.apache.lucene.tests.util.LuceneTestCase
 
OwnCacheKeyMultiReader - Class in org.apache.lucene.tests.index
A MultiReader that has its own cache key, occasionally useful for testing purposes.
OwnCacheKeyMultiReader(IndexReader...) - Constructor for class org.apache.lucene.tests.index.OwnCacheKeyMultiReader
Sole constructor.

P

packCount - Variable in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
pairs - Variable in class org.apache.lucene.tests.util.fst.FSTTester
 
parent - Variable in class org.apache.lucene.tests.mockfile.FilterFileSystem
FileSystemProvider that created this FilterFileSystem
PARTIAL_DOC_CONSUME - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
PARTIAL_POS_CONSUME - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
PAYLOADS - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
peekToken() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
Returns true if there is a new token.
PerThreadPKLookup - Class in org.apache.lucene.tests.index
Utility class to do efficient primary-key (only 1 doc contains the given term) lookups by segment, re-using the enums.
PerThreadPKLookup(IndexReader, String) - Constructor for class org.apache.lucene.tests.index.PerThreadPKLookup
 
pointsFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
pointsFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
pointsFormat() - Method in class org.apache.lucene.tests.index.RandomCodec
 
PointsStackTracker - Class in org.apache.lucene.tests.index
Simple utility class to track the current BKD stack based solely on calls to PointValues.IntersectVisitor.compare(byte[], byte[]).
PointsStackTracker(int, int) - Constructor for class org.apache.lucene.tests.index.PointsStackTracker
 
PointsStackTracker.Cell - Class in org.apache.lucene.tests.index
Individual BKD stack frame
posIncAtt - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
position - Variable in class org.apache.lucene.tests.search.MatchesTestBase.TermMatch
The position
position() - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
position() - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
position(long) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
position(long) - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
Position() - Constructor for class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
positions - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
POSITIONS - org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.Options
 
POSITIONS_AND_OFFSETS - org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.Options
 
POSITIONS_AND_OFFSETS_AND_PAYLOADS - org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.Options
 
POSITIONS_AND_PAYLOADS - org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.Options
 
posLenAtt - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
postingsEnums - Variable in class org.apache.lucene.tests.index.PerThreadPKLookup
 
postingsFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
postingsFormat() - Method in class org.apache.lucene.tests.codecs.cheapbastard.CheapBastardCodec
 
postingsFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
PROPERTY_RUN_NESTED - Static variable in class org.apache.lucene.tests.util.TestRuleIgnoreTestSuites
A boolean system property indicating nested suites should be executed normally.
provider() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 

Q

qtest(Query, int[]) - Method in class org.apache.lucene.tests.search.BaseExplanationTestCase
check the expDocNrs match and have scores that match the explanations.
quantizeLat(double) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Override this to quantize randomly generated lat, so the test won't fail due to quantization errors, which are 1) annoying to debug, and 2) should never affect "real" usage terribly.
quantizeLon(double) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Override this to quantize randomly generated lon, so the test won't fail due to quantization errors, which are 1) annoying to debug, and 2) should never affect "real" usage terribly.
QueryUtils - Class in org.apache.lucene.tests.search
Utility class for sanity-checking queries.
QueryUtils() - Constructor for class org.apache.lucene.tests.search.QueryUtils
 
QuickPatchThreadsFilter - Class in org.apache.lucene.tests.util
Last minute patches.
QuickPatchThreadsFilter() - Constructor for class org.apache.lucene.tests.util.QuickPatchThreadsFilter
 

R

ramCopyOf(Directory) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns a copy of the source directory, with file contents stored in RAM.
RAMOnlyPostingsFormat - Class in org.apache.lucene.tests.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.tests.codecs.ramonly.RAMOnlyPostingsFormat
 
RamUsageTester - Class in org.apache.lucene.tests.util
Crawls object graph to collect RAM usage for testing
RamUsageTester() - Constructor for class org.apache.lucene.tests.util.RamUsageTester
 
RamUsageTester.Accumulator - Class in org.apache.lucene.tests.util
An accumulator of object references.
ramUsed(Object) - Static method in class org.apache.lucene.tests.util.RamUsageTester
Same as calling sizeOf(obj, DEFAULT_FILTER).
ramUsed(Object, RamUsageTester.Accumulator) - Static method in class org.apache.lucene.tests.util.RamUsageTester
Estimates the RAM usage by the given object.
random - Variable in class org.apache.lucene.tests.util.fst.FSTTester
 
random() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Access to the current RandomizedContext's Random instance.
RANDOM_MULTIPLIER - Static variable in class org.apache.lucene.tests.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).
RandomAcceptedStrings(Automaton) - Constructor for class org.apache.lucene.tests.util.automaton.AutomatonTestUtil.RandomAcceptedStrings
 
randomAnalysisString(Random, int, boolean) - Static method in class org.apache.lucene.tests.util.TestUtil
 
RandomApproximationQuery - Class in org.apache.lucene.tests.search
A Query that adds random approximations to its scorers.
RandomApproximationQuery(Query, Random) - Constructor for class org.apache.lucene.tests.search.RandomApproximationQuery
 
randomAutomaton(Random) - Static method in class org.apache.lucene.tests.util.automaton.AutomatonTestUtil
return a random NFA/DFA for testing
randomBinaryTerm(Random) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns a random binary term.
randomBinaryTerm(Random, int) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns a random binary with a given length
RandomCodec - Class in org.apache.lucene.tests.index
Codec that assigns per-field random postings formats.
RandomCodec(Random) - Constructor for class org.apache.lucene.tests.index.RandomCodec
 
RandomCodec(Random, Set<String>) - Constructor for class org.apache.lucene.tests.index.RandomCodec
 
RandomDocument(int, int, BaseTermVectorsFormatTestCase.Options, String[], String[], BytesRef[]) - Constructor for class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomDocument
 
RandomDocumentFactory(int, int) - Constructor for class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomDocumentFactory
 
randomFilter() - Method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
Returns a random filter over the document set
randomFixedByteLengthUnicodeString(Random, int) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns random string, with a given UTF-8 byte length
randomFixedLengthUnicodeString(Random, char[], int, int) - Static method in class org.apache.lucene.tests.util.TestUtil
Fills provided char[] with valid random unicode code unit sequence.
randomHtmlishString(Random, int) - Static method in class org.apache.lucene.tests.util.TestUtil
 
RandomIndexWriter - Class in org.apache.lucene.tests.index
Silly class that randomizes the indexing experience.
RandomIndexWriter(Random, Directory) - Constructor for class org.apache.lucene.tests.index.RandomIndexWriter
create a RandomIndexWriter with a random config: Uses MockAnalyzer
RandomIndexWriter(Random, Directory, Analyzer) - Constructor for class org.apache.lucene.tests.index.RandomIndexWriter
create a RandomIndexWriter with a random config
RandomIndexWriter(Random, Directory, IndexWriterConfig) - Constructor for class org.apache.lucene.tests.index.RandomIndexWriter
create a RandomIndexWriter with the provided config
RandomIndexWriter(Random, Directory, IndexWriterConfig, boolean) - Constructor for class org.apache.lucene.tests.index.RandomIndexWriter
create a RandomIndexWriter with the provided config
RandomIndexWriter.TestPoint - Interface in org.apache.lucene.tests.index
Simple interface that is executed for each TP InfoStream component message.
randomInstance(Random) - Static method in class org.apache.lucene.tests.codecs.compressing.CompressingCodec
Creates a random CompressingCodec that is using an empty segment suffix
randomInstance(Random, boolean) - Static method in class org.apache.lucene.tests.codecs.compressing.CompressingCodec
Creates a random CompressingCodec that is using a segment suffix
randomInstance(Random, int, int, boolean, int) - Static method in class org.apache.lucene.tests.codecs.compressing.CompressingCodec
Create a random instance.
randomLocale(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Return a random Locale from the available locales on the system.
randomlyRecaseCodePoints(Random, String) - Static method in class org.apache.lucene.tests.util.TestUtil
Randomly upcases, downcases, or leaves intact each code point in the given string
randomNormalizedVector(int) - Static method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
randomOptions() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
randomPattern(Random) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns a valid (compiling) Pattern instance with random stuff inside.
randomPayload() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
RandomPostingsTester - Class in org.apache.lucene.tests.index
Helper class extracted from BasePostingsFormatTestCase to exercise a postings format.
RandomPostingsTester(Random) - Constructor for class org.apache.lucene.tests.index.RandomPostingsTester
 
RandomPostingsTester.FieldAndTerm - Class in org.apache.lucene.tests.index
Holds one field, term and ord.
RandomPostingsTester.Option - Enum in org.apache.lucene.tests.index
Which features to test.
RandomPostingsTester.SeedPostings - Class in org.apache.lucene.tests.index
Given the same random seed this always enumerates the same random postings
randomRealisticUnicodeString(Random) - Static method in class org.apache.lucene.tests.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.tests.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.tests.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.tests.util.automaton.AutomatonTestUtil
Returns random string, including full unicode range.
randomRegexpishString(Random) - Static method in class org.apache.lucene.tests.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.tests.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!
randomSimilarity() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
RandomSimilarity - Class in org.apache.lucene.tests.search.similarities
Similarity implementation that randomizes Similarity implementations per-field.
RandomSimilarity(Random) - Constructor for class org.apache.lucene.tests.search.similarities.RandomSimilarity
 
randomSimpleString(Random) - Static method in class org.apache.lucene.tests.util.TestUtil
 
randomSimpleString(Random, int) - Static method in class org.apache.lucene.tests.util.TestUtil
 
randomSimpleString(Random, int, int) - Static method in class org.apache.lucene.tests.util.TestUtil
 
randomSimpleStringRange(Random, char, char, int) - Static method in class org.apache.lucene.tests.util.TestUtil
 
randomSubString(Random, int, boolean) - Static method in class org.apache.lucene.tests.util.TestUtil
 
randomTerm() - Method in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
returns a term suitable for searching.
randomTimeZone(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Return a random TimeZone from the available timezones on the system
RandomTokenStream(int, String[], BytesRef[]) - Constructor for class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
randomUnicodeString(Random) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns random string, including full unicode range.
randomUnicodeString(Random, int) - Static method in class org.apache.lucene.tests.util.TestUtil
Returns a random string up to a certain length.
randomVector(int) - Static method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
randomVector8(int) - Static method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
randomVectorEncoding() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
This method is overrideable since old codec versions only support VectorEncoding.FLOAT32.
randomVectorFormat(VectorEncoding) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
Range() - Constructor for class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
rarely() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
rarely(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns true if something should happen rarely,
RawDirectoryWrapper - Class in org.apache.lucene.tests.store
Delegates all operations, even optional ones, to the wrapped directory.
RawDirectoryWrapper(Directory) - Constructor for class org.apache.lucene.tests.store.RawDirectoryWrapper
 
read() - Method in class org.apache.lucene.tests.analysis.MockCharFilter
 
read() - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
read(byte[]) - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
read(byte[], int, int) - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
read(char[], int, int) - Method in class org.apache.lucene.tests.analysis.MockCharFilter
 
read(char[], int, int) - Method in class org.apache.lucene.tests.analysis.MockReaderWrapper
 
read(ByteBuffer) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
read(ByteBuffer) - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
read(ByteBuffer[], int, int) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
read(ByteBuffer, long) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
read(ByteBuffer, long) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
read(ByteBuffer, long, A, CompletionHandler<Integer, ? super A>) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
readAttributes(Path, Class<A>, LinkOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
readAttributes(Path, String, LinkOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
readByte() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readBytes(byte[], int, int) - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
ReadBytesDirectoryWrapper(Directory) - Constructor for class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper
Sole constructor.
readChar() - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
readCodePoint() - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
reader - Static variable in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
reader - Variable in class org.apache.lucene.tests.search.MatchesTestBase
 
reader - Static variable in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
readFloats(float[], int, int) - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readInt() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readLiveDocs(Directory, SegmentCommitInfo, IOContext) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingLiveDocsFormat
 
readLong() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readMapOfStrings() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readSetOfStrings() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readShape(String) - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
reads a shape from file
readShort() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readString() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readSymbolicLink(Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
readVInt() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readVLong() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
ready() - Method in class org.apache.lucene.tests.analysis.MockReaderWrapper
 
readZInt() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
readZLong() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
reasonableInstance(Random) - Static method in class org.apache.lucene.tests.codecs.compressing.CompressingCodec
Creates a random CompressingCodec with more reasonable parameters for big tests.
recordBlockEncodingCall() - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
recordDictionaryEncodingCall() - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
recordFieldsMetadataEncodingCall() - Method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
reduceOpenFiles(IndexWriter) - Static method in class org.apache.lucene.tests.util.TestUtil
just tries to configure things to keep the open file count lowish
reflectWith(AttributeReflector) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
 
reflectWith(AttributeReflector) - Method in class org.apache.lucene.tests.analysis.Token
 
register(WatchService, WatchEvent.Kind<?>...) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
reinit(Token) - Method in class org.apache.lucene.tests.analysis.Token
Copy the prototype token's fields into this one.
reject(Thread) - Method in class org.apache.lucene.tests.util.QuickPatchThreadsFilter
 
relate(BaseRangeFieldQueryTestCase.Range) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
relativize(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
release(ShardSearchingTestBase.NodeState.ShardIndexSearcher) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
releaseSearcher(IndexSearcher) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
removeIndexInput(IndexInput, String) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
removeIndexOutput(IndexOutput, String) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
rename(String, String) - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.FileTrackingDirectoryWrapper
 
rename(String, String) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
reopen() - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
replaceMaxFailureRule(TestRuleIgnoreAfterMaxFailures) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Temporarily substitute the global TestRuleIgnoreAfterMaxFailures.
reqB(Query) - Method in class org.apache.lucene.tests.search.BaseExplanationTestCase
MACRO: Wraps a Query in a BooleanQuery so that it is required, along with a second optional clause which will match everything
reset() - Method in class org.apache.lucene.tests.analysis.CannedTokenStream
 
reset() - Method in class org.apache.lucene.tests.analysis.CrankyTokenFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
reset() - Method in class org.apache.lucene.tests.analysis.LookaheadTokenFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.MockGraphTokenFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.MockHoleInjectingTokenFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.MockRandomLookaheadTokenFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.MockSynonymFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.MockTokenFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
reset() - Method in class org.apache.lucene.tests.analysis.SimplePayloadFilter
 
reset() - Method in class org.apache.lucene.tests.analysis.ValidatingTokenFilter
 
reset() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomTokenStream
 
reset() - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
reset() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper.Failure
reset should set the state of the failure to its default (freshly constructed) state.
reset() - Method in class org.apache.lucene.tests.util.LineFileDocs
 
resetDefaultQueryCache() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
resetEncodingFlags() - Static method in class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
resetFailures() - Static method in class org.apache.lucene.tests.util.FailureMarker
 
resetMaxUsedSizeInBytes() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
resolve(String) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
resolve(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
resolveSibling(String) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
resolveSibling(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
restoreCPUCoreCount() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
restoreIndexWriterMaxDocs() - Method in class org.apache.lucene.tests.util.LuceneTestCase
Returns to the default IndexWriter.MAX_DOCS limit.
rethrow(Throwable) - Static method in class org.apache.lucene.tests.util.Rethrow
Rethrows t (identical object).
Rethrow - Class in org.apache.lucene.tests.util
Sneaky: rethrowing checked exceptions as unchecked ones.
REUSE_ENUMS - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
rewrite(IndexSearcher) - Method in class org.apache.lucene.tests.search.AssertingQuery
 
rewrite(IndexSearcher) - Method in class org.apache.lucene.tests.search.BlockScoreQueryWrapper
 
rewrite(IndexSearcher) - Method in class org.apache.lucene.tests.search.DisablingBulkScorerQuery
 
rewrite(IndexSearcher) - Method in class org.apache.lucene.tests.search.RandomApproximationQuery
 
rewrite(Query) - Method in class org.apache.lucene.tests.search.AssertingIndexSearcher
 
rewrite(Query) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
Rot13CypherTestUtil - Class in org.apache.lucene.tests.codecs.uniformsplit
Test utility for simple ROT13 cipher (https://en.wikipedia.org/wiki/ROT13).
Rot13CypherTestUtil() - Constructor for class org.apache.lucene.tests.codecs.uniformsplit.Rot13CypherTestUtil
 
ruleChain - Variable in class org.apache.lucene.tests.util.LuceneTestCase
This controls how individual test rules are nested.
run() - Method in interface org.apache.lucene.tests.util.LuceneTestCase.ThrowingRunnable
 
RunListenerPrintReproduceInfo - Class in org.apache.lucene.tests.util
A suite listener printing a "reproduce string".
RunListenerPrintReproduceInfo() - Constructor for class org.apache.lucene.tests.util.RunListenerPrintReproduceInfo
 
runSearchThreads(int) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
runTest(String) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
runWithRestrictedPermissions(PrivilegedExceptionAction<T>, Permission...) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Runs a code part with restricted permissions (be sure to add all required permissions, because it would start with empty permissions).

S

s1 - Static variable in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
s2 - Static variable in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
scheme - Variable in class org.apache.lucene.tests.mockfile.FilterFileStore
URI scheme used for this instance.
scheme - Variable in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
The URI scheme for this provider.
score() - Method in class org.apache.lucene.tests.search.AssertingScorable
 
score() - Method in class org.apache.lucene.tests.search.AssertingScorer
 
score() - Method in class org.apache.lucene.tests.search.BulkScorerWrapperScorer
 
scoreMode() - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAsserter
 
scoreMode() - Method in class org.apache.lucene.tests.search.CheckHits.MatchesAsserter
 
scoreMode() - Method in class org.apache.lucene.tests.search.CheckHits.SetCollector
 
scoreMode() - Method in class org.apache.lucene.tests.search.DummyTotalHitCountCollector
 
scoreMode() - Method in class org.apache.lucene.tests.search.FixedBitSetCollector
 
scorer(float, CollectionStatistics, TermStatistics...) - Method in class org.apache.lucene.tests.search.similarities.AssertingSimilarity
 
ScorerIndexSearcher - Class in org.apache.lucene.tests.search
An IndexSearcher that always uses the Scorer API, never BulkScorer.
ScorerIndexSearcher(IndexReader) - Constructor for class org.apache.lucene.tests.search.ScorerIndexSearcher
Creates a searcher searching the provided index.
ScorerIndexSearcher(IndexReader, Executor) - Constructor for class org.apache.lucene.tests.search.ScorerIndexSearcher
Creates a searcher searching the provided index.
search(List<LeafReaderContext>, Weight, Collector) - Method in class org.apache.lucene.tests.search.AssertingIndexSearcher
 
search(Query, int) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAssertingSearcher
 
search(Query, int) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
search(Query, int, Sort) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAssertingSearcher
 
search(Query, int, Sort) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
search(Query, Collector) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAssertingSearcher
 
search(Query, CollectorManager<C, T>) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAssertingSearcher
 
searchAfter(ScoreDoc, Query, int) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
SearchEquivalenceTestBase - Class in org.apache.lucene.tests.search
Simple base class for checking search equivalence.
SearchEquivalenceTestBase() - Constructor for class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
searcher - Static variable in class org.apache.lucene.tests.search.BaseExplanationTestCase
 
searcher - Variable in class org.apache.lucene.tests.search.MatchesTestBase
 
searcher - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.SearcherAndVersion
 
SearcherAndVersion(IndexSearcher, long) - Constructor for class org.apache.lucene.tests.search.ShardSearchingTestBase.SearcherAndVersion
 
SearcherExpiredException(String) - Constructor for exception org.apache.lucene.tests.search.ShardSearchingTestBase.SearcherExpiredException
 
searchers - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
searchLeaf(LeafReaderContext, Weight, Collector) - Method in class org.apache.lucene.tests.search.ScorerIndexSearcher
 
SECOND - Static variable in class org.apache.lucene.tests.util.TimeUnits
1 second in milliseconds
secondRangeBeginningOriginal - Variable in class org.apache.lucene.tests.analysis.CollationTestBase
 
secondRangeEndOriginal - Variable in class org.apache.lucene.tests.analysis.CollationTestBase
 
SeedPostings(long, int, int, IndexOptions, boolean) - Constructor for class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
seek(long) - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
segmentInfoFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
setAllowRandomFileNotFoundException(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
If set to true (the default), when we throw random IOException on openInput or createOutput, we may sometimes throw FileNotFoundException or NoSuchFileException.
setAllowReadingFilesStillOpenForWrite(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
If set to true, you can open an inputstream on a file that is still open for writes.
setAssertNoDeleteOpenFile(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
Trip a test assert if there is an attempt to delete an open file.
setAssertNoUnrefencedFilesOnClose(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
setAttribute(Path, String, Object, LinkOption...) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
setAttribute(Path, String, Object, LinkOption...) - Method in class org.apache.lucene.tests.mockfile.VerboseFS
 
setCheckIndexOnClose(boolean) - Method in class org.apache.lucene.tests.store.BaseDirectoryWrapper
Set whether or not checkindex should be run on close
SetCollector(Set<Integer>) - Constructor for class org.apache.lucene.tests.search.CheckHits.SetCollector
 
setCrossCheckTermVectorsOnClose(boolean) - Method in class org.apache.lucene.tests.store.BaseDirectoryWrapper
 
setDoFail() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper.Failure
 
setDoNonBulkMerges(boolean) - Method in class org.apache.lucene.tests.index.MockRandomMergePolicy
Set to true if sometimes readers to be merged should be wrapped in a FilterReader to mixup bulk merging.
setDoRandomForceMerge(boolean) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
setDoRandomForceMergeAssert(boolean) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
setEnableChecks(boolean) - Method in class org.apache.lucene.tests.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.tests.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.tests.store.MockDirectoryWrapper
 
setFailOnOpenInput(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
setFlags(int) - Method in class org.apache.lucene.tests.analysis.Token
setIndexWriterMaxDocs(int) - Method in class org.apache.lucene.tests.util.LuceneTestCase
Tells IndexWriter to enforce the specified limit as the maximum number of documents in one index; call LuceneTestCase.restoreIndexWriterMaxDocs() once your test is done.
setMax(int, Object) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
setMaxSizeInBytes(long) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
setMaxTokenLength(int) - Method in class org.apache.lucene.tests.analysis.MockAnalyzer
Toggle maxTokenLength for MockTokenizer
setMergingSegments(Set<SegmentCommitInfo>) - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase.MockMergeContext
 
setMin(int, Object) - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
 
setMinCompetitiveScore(float) - Method in class org.apache.lucene.tests.search.AssertingScorable
 
setMinCompetitiveScore(float) - Method in class org.apache.lucene.tests.search.AssertingScorer
 
setOffsetGap(int) - Method in class org.apache.lucene.tests.analysis.MockAnalyzer
Set a new offset gap which will then be added to the offset when several fields with the same name are indexed
setPayload(BytesRef) - Method in class org.apache.lucene.tests.analysis.Token
setPositionIncrementGap(int) - Method in class org.apache.lucene.tests.analysis.MockAnalyzer
 
setRandomIOExceptionRate(double) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
If 0.0, no exceptions will be thrown.
setRandomIOExceptionRateOnOpen(double) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
If 0.0, no exceptions will be thrown during openInput and createOutput.
setReaderTestPoint() - Method in class org.apache.lucene.tests.analysis.MockTokenizer
 
setScorer(Scorable) - Method in class org.apache.lucene.tests.search.CheckHits.ExplanationAsserter
 
setScorer(Scorable) - Method in class org.apache.lucene.tests.search.CheckHits.SetCollector
 
setThrottling(MockDirectoryWrapper.Throttling) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
setTrackDiskUsage(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
setUp() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
 
setUp() - Method in class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
 
setUp() - Method in class org.apache.lucene.tests.search.MatchesTestBase
 
setUp() - Method in class org.apache.lucene.tests.util.LuceneTestCase
For subclasses to override.
setupCPUCoreCount() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
setupDoc(Document) - Static method in class org.apache.lucene.tests.index.DocHelper
Adds the fields above to a document
setUpExecutorService() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
setUseSlowOpenClosers(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
Add a rare small sleep to catch race conditions in open/close
setVerboseClone(boolean) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
If set to true, we print a fake exception with filename and stacktrace on every indexinput clone()
setWeight(Weight) - Method in class org.apache.lucene.tests.search.AssertingCollector
 
ShapeTestUtil - Class in org.apache.lucene.tests.geo
generates random cartesian geometry; heavy reuse of GeoTestUtil
ShapeTestUtil() - Constructor for class org.apache.lucene.tests.geo.ShapeTestUtil
 
ShardIndexSearcher(long[], IndexReader, int) - Constructor for class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
ShardSearchingTestBase - Class in org.apache.lucene.tests.search
Base test class for simulating distributed search across multiple shards.
ShardSearchingTestBase() - Constructor for class org.apache.lucene.tests.search.ShardSearchingTestBase
 
ShardSearchingTestBase.NodeState - Class in org.apache.lucene.tests.search
Simulated shard node under test
ShardSearchingTestBase.NodeState.ShardIndexSearcher - Class in org.apache.lucene.tests.search
Matches docs in the local shard but scores based on aggregated stats ("mock distributed scoring") from all nodes.
ShardSearchingTestBase.SearcherAndVersion - Class in org.apache.lucene.tests.search
An IndexSearcher and associated version (lease)
ShardSearchingTestBase.SearcherExpiredException - Exception in org.apache.lucene.tests.search
Thrown when the lease for a searcher has expired.
shouldTestMergeInstance() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Returns false if only the regular fields reader should be tested, and true if only the merge instance should be tested.
ShuffleFS - Class in org.apache.lucene.tests.mockfile
Gives an unpredictable, but deterministic order to directory listings.
ShuffleFS(FileSystem, long) - Constructor for class org.apache.lucene.tests.mockfile.ShuffleFS
Create a new instance, wrapping delegate.
shutdownExecutorService() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
shutdownExecutorService(ExecutorService) - Static method in class org.apache.lucene.tests.util.TestUtil
Shutdown ExecutorService and wait for its.
SIMPLE - Static variable in class org.apache.lucene.tests.analysis.MockTokenizer
Acts like LetterTokenizer.
SimplePayloadFilter - Class in org.apache.lucene.tests.analysis
Simple payload filter that sets the payload as pos: XXXX
SimplePayloadFilter(TokenStream) - Constructor for class org.apache.lucene.tests.analysis.SimplePayloadFilter
 
simpleRandomString(Random) - Static method in class org.apache.lucene.tests.util.fst.FSTTester
 
size() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
 
size() - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
size() - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
size() - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
size(SegmentCommitInfo, MergePolicy.MergeContext) - Method in class org.apache.lucene.tests.index.AlcoholicMergePolicy
 
sizeInBytes() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
skip(long) - Method in class org.apache.lucene.tests.mockfile.FilterInputStream2
 
skipBytes(long) - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
SKIPPING - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
slice(String, long, long) - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
slowFileExists(Directory, String) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
Returns true if the file exists (can be opened), false if it cannot be opened, and (unlike Java's File.exists) throws IOException if there's some unexpected error.
smokeTestSearcher(IndexSearcher) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
SOMETIMES - org.apache.lucene.tests.store.MockDirectoryWrapper.Throttling
sometimes (0.5% of the time) emulate a slow hard disk.
stack - Variable in class org.apache.lucene.tests.index.PointsStackTracker
 
start(int, double, int) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase
 
startOffset - Variable in class org.apache.lucene.tests.analysis.LookaheadTokenFilter.Position
 
startOffset - Variable in class org.apache.lucene.tests.search.MatchesTestBase.TermMatch
The start offset
startOffset() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
 
startOffset() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingPostingsEnum
 
startOffset() - Method in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
startsWith(String) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
startsWith(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
stopword - Static variable in class org.apache.lucene.tests.search.SearchEquivalenceTestBase
 
stored - Static variable in class org.apache.lucene.tests.index.DocHelper
 
storedFields() - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
storedFields() - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
storedFields() - Method in class org.apache.lucene.tests.index.MismatchedLeafReader
 
storedFieldsFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
storedFieldsFormat() - Method in class org.apache.lucene.tests.codecs.compressing.CompressingCodec
 
storedFieldsFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
STRING_CODEPOINT_COMPARATOR - Static variable in class org.apache.lucene.tests.util.TestUtil
A comparator that compares UTF-16 strings / char sequences according to Unicode code point order.
STRING_TYPE_STORED_WITH_TVS - Static variable in class org.apache.lucene.tests.index.DocHelper
 
StringMockResourceLoader - Class in org.apache.lucene.tests.util
Fake resource loader for tests: works if you want to fake reading a single file
StringMockResourceLoader(String) - Constructor for class org.apache.lucene.tests.util.StringMockResourceLoader
 
stringToCharSequence(String, Random) - Static method in class org.apache.lucene.tests.util.TestUtil
 
STUniformSplitRot13PostingsFormat - Class in org.apache.lucene.tests.codecs.uniformsplit.sharedterms
STUniformSplitPostingsFormat with block encoding using ROT13 cypher.
STUniformSplitRot13PostingsFormat() - Constructor for class org.apache.lucene.tests.codecs.uniformsplit.sharedterms.STUniformSplitRot13PostingsFormat
 
subCheckBinarySearch(TermsEnum) - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
subpath(int, int) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
suiteFailureMarker - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Suite failure marker (any error in the test or suite scope).
supportedFileAttributeViews() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystem
 
supportsFileAttributeView(Class<? extends FileAttributeView>) - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
supportsFileAttributeView(String) - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
supportsHasBlocks() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
 
supportsIndexSort() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
 
supportsMinVersion() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Whether this format records min versions.
SuppressingConcurrentMergeScheduler - Class in org.apache.lucene.tests.index
A ConcurrentMergeScheduler that ignores AlreadyClosedException.
SuppressingConcurrentMergeScheduler() - Constructor for class org.apache.lucene.tests.index.SuppressingConcurrentMergeScheduler
 
sync(Collection<String>) - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
syncConcurrentMerges(IndexWriter) - Static method in class org.apache.lucene.tests.util.TestUtil
 
syncConcurrentMerges(MergeScheduler) - Static method in class org.apache.lucene.tests.util.TestUtil
 
syncMetaData() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
SYSPROP_AWAITSFIX - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 
SYSPROP_BADAPPLES - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 
SYSPROP_FAILFAST - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 
SYSPROP_MAXFAILURES - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 
SYSPROP_MONSTER - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 
SYSPROP_NIGHTLY - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 
SYSPROP_WEEKLY - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 

T

ta(String[]) - Static method in class org.apache.lucene.tests.search.BaseExplanationTestCase
helper for generating MultiPhraseQueries
tearDown() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
 
tearDown() - Method in class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
 
tearDown() - Method in class org.apache.lucene.tests.search.MatchesTestBase
 
tearDown() - Method in class org.apache.lucene.tests.util.LuceneTestCase
For subclasses to override.
TERM_STATE - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
TermMatch(int, int, int) - Constructor for class org.apache.lucene.tests.search.MatchesTestBase.TermMatch
Create a new TermMatch
terms(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingFields
 
terms(String) - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
terms(String) - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
termsEnums - Variable in class org.apache.lucene.tests.index.PerThreadPKLookup
 
termStatistics(Term, int, long) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState.ShardIndexSearcher
 
termvector - Static variable in class org.apache.lucene.tests.index.DocHelper
 
termVectors() - Method in class org.apache.lucene.tests.index.AssertingLeafReader
 
termVectors() - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
termVectorsFormat() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
termVectorsFormat() - Method in class org.apache.lucene.tests.codecs.compressing.CompressingCodec
 
termVectorsFormat() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
test(Analyzer) - Static method in class org.apache.lucene.tests.analysis.standard.EmojiTokenizationTestUnicode_12_1
 
test(Analyzer) - Static method in class org.apache.lucene.tests.analysis.standard.WordBreakTestUnicode_12_1_0
 
TEST_ASSERTS_ENABLED - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
 
TEST_AWAITSFIX - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Whether or not LuceneTestCase.AwaitsFix tests should run.
TEST_BADAPPLES - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Whether or not LuceneTestCase.BadApple tests should run.
TEST_CODEC - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Gets the codec to run tests with.
TEST_DIRECTORY - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Gets the directory to run tests with
TEST_DOCVALUESFORMAT - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Gets the docValuesFormat to run tests with
TEST_LINE_DOCS_FILE - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
The line file used in tests (by LineFileDocs).
TEST_MONSTER - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Whether or not LuceneTestCase.Monster tests should run.
TEST_NIGHTLY - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Whether or not LuceneTestCase.Nightly tests should run.
TEST_POSTINGSFORMAT - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Gets the postingsFormat to run tests with.
TEST_THROTTLING - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
TEST_WEEKLY - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
Whether or not LuceneTestCase.Weekly tests should run.
test1Bit() - Method in class org.apache.lucene.tests.util.BaseDocIdSetTestCase
Test length=1.
test2Bits() - Method in class org.apache.lucene.tests.util.BaseDocIdSetTestCase
Test length=2.
testAddIndexes() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testAddIndexesDirectory0() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testAddIndexesDirectory01() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testAddIndexesDirectory1() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testAddsSelfToFiles() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Tests SI writer adds itself to files...
testAdvance() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testAgainstBitSet() - Method in class org.apache.lucene.tests.util.BaseDocIdSetTestCase
Compare the content of the set against a BitSet.
testAlignedFloats() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testAlignedInts() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testAlignedLittleEndianLongs() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testAllEqual() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testAllEqual() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
testAllLatEqual() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testAllLonEqual() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testAllPointDocsDeletedInSegment() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testAllXEqual() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testAllYEqual() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testAllZeros() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testAskForPositionsWhenNotThere() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testAttributes() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test attributes map
testBasic() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testBasics() - Method in class org.apache.lucene.tests.store.BaseLockFactoryTestCase
Test obtaining and releasing locks, checking validity
testBigDocuments() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testBigIntNDims() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testBigNumericRange() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBigNumericRange2() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBinaryFieldOffsetLength() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testBinaryFixedLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBinaryMergeAwayAllValuesLargeSegment() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBinarySearchTermLeaf() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testBinaryVariableLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
TestBloomFilteredLucenePostings - Class in org.apache.lucene.tests.codecs.bloom
A class used for testing BloomFilteringPostingsFormat with a concrete delegate (Lucene41).
TestBloomFilteredLucenePostings() - Constructor for class org.apache.lucene.tests.codecs.bloom.TestBloomFilteredLucenePostings
 
testBooleanNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBoxBasics() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Add a single point and search for it in a box
testBoxBasics() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
Add a single point and search for it in a box
testBoxInvalidCoordinates() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testBoxInvalidCoordinates() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testBoxNull() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
null field name not allowed
testBoxNull() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
null field name not allowed
testBulkMergeWithDeletes() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testByte() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testByteNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testByteRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBytesMergeAwayAllValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBytesTwoDocumentsMerged() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testBytesWithNewline() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testByteVectorScorerIteration() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testCardinality() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test the BitSet.cardinality() method.
testCheckIndexIncludesVectors() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testCheckIntegrity() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testCheckIntegrityReadsAllBytes() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
This test is the best effort at verifying that checkIntegrity doesn't miss any files.
testChecksum() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testChecksumsOnly(Directory) - Method in class org.apache.lucene.tests.index.BaseTestCheckIndex
 
testChecksumsOnlyVerbose(Directory) - Method in class org.apache.lucene.tests.index.BaseTestCheckIndex
 
testClear() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test the BitSet.clear(int) method.
testClearAll() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test the BitSet.clear() method.
testClearRange() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test the BitSet.clear(int,int) method.
testClone() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testCloneClose() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testClonedStreamsClosing() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testCloneSliceClose() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testCodecUsesOwnBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testCodecUsesOwnSortedBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testConcurrentReads() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testCopyBytes() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testCopyBytesWithThreads() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testCopyFrom() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testCorruptFilesAreCaught() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testCreateOutputDisabled() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testCreateOutputForExistingFile() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testCreateTempOutput() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testDataTypes() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testDateCompression() - Method in class org.apache.lucene.tests.index.BaseCompressingDocValuesFormatTestCase
 
testDeleteAllVectorDocs() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testDeletedDocs(Directory) - Method in class org.apache.lucene.tests.index.BaseTestCheckIndex
 
testDeleteFile() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testDeleteFileDisabled() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testDenseLiveDocs() - Method in class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
 
testDetectClose() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
Make sure directory throws AlreadyClosedException if you try to createOutput after closing.
testDiagnostics() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test diagnostics map
testDidntWantFreqsButAskedAnyway() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDifferentCodecs1() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testDifferentCodecs2() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testDirectoryStreamFiltered() - Method in class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
Tests that newDirectoryStream with a filter works correctly
testDirectoryStreamGlobFiltered() - Method in class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
Tests that newDirectoryStream with globbing works correctly
testDisorder() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDistanceBasics() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
test we can search for a point
testDistanceBasics() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
test we can search for a point
testDistanceIllegal() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
distance query should not accept invalid lat/lon as origin
testDistanceIllegal() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
distance query should not accept invalid x/y as origin
testDistanceInf() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Inf distance queries are not allowed
testDistanceInf() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
Inf distance queries are not allowed
testDistanceNaN() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
NaN distance queries are not allowed
testDistanceNaN() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
NaN distance queries are not allowed
testDistanceNegative() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
negative distance queries are not allowed
testDistanceNegative() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
negative distance queries are not allowed
testDistanceNull() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
null field name not allowed
testDistanceNull() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
null field name not allowed
testDocCountEdgeCases() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testDocsAndFreqs() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositions() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositionsAndOffsets() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositionsAndOffsetsAndPayloads() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDocsAndFreqsAndPositionsAndPayloads() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDocsOnly() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testDocValuesSimple() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testDoubleClose() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testDoubleClose() - Method in class org.apache.lucene.tests.store.BaseLockFactoryTestCase
Test closing locks twice
testDoubleCloseInput() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testDoubleCloseOutput() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testEmpty() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testEmptyBinaryValueOnPageSizes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testEmptyBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testEmptyByteVectorData() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testEmptyDocs() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testEmptyFieldAndEmptyTerm() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testEmptyFloatVectorData() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testEmptyLiveDocs() - Method in class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
 
testEmptySortedBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testEquals() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testEquals() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testExceptionOnCloseInput() - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Test field infos read that hits exception on close.
testExceptionOnCloseInput() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test segment infos read that hits exception on close make sure we get our exception back, no file handle leaks, etc.
testExceptionOnCloseOutput() - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Test field infos write that hits exception on close.
testExceptionOnCloseOutput() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test segment infos write that hits exception on close.
testExceptionOnCreateOutput() - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Test field infos write that hits exception immediately on open.
testExceptionOnCreateOutput() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test segment infos write that hits exception immediately on open.
testExceptionOnOpenInput() - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Test field infos read that hits exception immediately on open.
testExceptionOnOpenInput() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test segment infos read that hits exception immediately on open.
testFailure(Failure) - Method in class org.apache.lucene.tests.util.FailureMarker
 
testFailure(Failure) - Method in class org.apache.lucene.tests.util.RunListenerPrintReproduceInfo
 
testFarsiRangeFilterCollating(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef) - Method in class org.apache.lucene.tests.analysis.CollationTestBase
 
testFarsiRangeQueryCollating(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef) - Method in class org.apache.lucene.tests.analysis.CollationTestBase
 
testFarsiTermRangeQuery(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef) - Method in class org.apache.lucene.tests.analysis.CollationTestBase
 
testFewLargeValues() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testFewSparseLargeValues() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testFewSparseValues() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testFewValues() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testFieldConstructor() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testFieldConstructorExceptions() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testFields(Fields) - Method in class org.apache.lucene.tests.index.RandomPostingsTester
 
testFieldSetValue() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testFileExistsInListAfterCreated() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
LUCENE-1468: once we create an output, we should see it in the dir listing.
testFileNotFound() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testFiles() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test files map
testFindForcedDeletesMerges() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
 
testFinished(Description) - Method in class org.apache.lucene.tests.util.RunListenerPrintReproduceInfo
 
testFloatsUnderflow() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testFloatVectorScorerIteration() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testForceMergeNotNeeded() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
 
testFsyncDoesntCreateNewFiles() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testFull(Codec, Path, IndexOptions, boolean) - Method in class org.apache.lucene.tests.index.RandomPostingsTester
Indexes all fields/terms at the specified IndexOptions, and fully tests at that IndexOptions.
testFullLongRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testGCDCompression() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testGetAndSet() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test the BitSet.getAndSet(int) method.
testGhosts() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testGroupVInt() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testGroupVIntMultiBlocks() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testGroupVIntOverflow() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testHasBlocks() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
 
testHashCodeEquals() - Method in class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
Test that Path.hashcode/equals are sane
testHighFreqs() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testHighOrdsSortedSetDV() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
Tests where a DVField uses a high number of packed bits to store its ords.
testIllegalDimChangeTwoDocs() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalDimChangeTwoWriters() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalDimChangeViaAddIndexesCodecReader() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalDimChangeViaAddIndexesDirectory() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalDimChangeViaAddIndexesSlowCodecReader() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalDimensionTooLarge() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalEmptyVector() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalEOF() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testIllegalMultipleValues() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalSimilarityFunctionChange() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalSimilarityFunctionChangeTwoWriters() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalSimilarityFunctionChangeViaAddIndexesCodecReader() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalSimilarityFunctionChangeViaAddIndexesDirectory() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIllegalSimilarityFunctionChangeViaAddIndexesSlowCodecReader() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testImmutableAttributes() - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Test field infos attributes coming back are not mutable
testIndependantIterators() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testIndependantSparseIterators() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testIndexedBit() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testIndexedValueNotAliased() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIndexExtremeValues() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Valid values that should not cause exception
testIndexExtremeValues() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
Valid values that should not cause exception
testIndexInfValues() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Inf: illegal
testIndexInfValues() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
Inf: illegal
testIndexMultipleKnnVectorFields() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testIndexNaNValues() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
NaN: illegal
testIndexNaNValues() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
NaN: illegal
testIndexOutOfRangeValues() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Invalid values
testIndexOutputToString() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testInt() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testIntNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testIntsUnderflow() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testInvalidAfterClose() - Method in class org.apache.lucene.tests.store.BaseLockFactoryTestCase
Test ensureValid throws exception after close
testInvalidKnnVectorFieldUsage() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testInvertedWrite() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testJustEmptyField() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testKnnVectorFieldMissingFromOneSegment() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testLargeCFS() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testLargeWrites() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
This test that writes larger than the size of the buffer output will correctly increment the file pointer.
testLevel2Ghosts() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testLineFileDocs() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
Test realistic data, which is often better at uncovering real bugs.
testLineFileDocs() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
Test realistic data, which typically compresses better than random data.
testListAll() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testListAllIsSorted() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testLittleEndianFloatsCrossBoundary() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testLittleEndianLongsCrossBoundary() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testLittleEndianLongsUnderflow() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testLong() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testLongNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testLongRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testLotsOfFields() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testLowCardinality() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testLowCardinality() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testLowCardinality() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
testMakeLockDisabled() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testManySubFiles() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testMapOfStrings() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testMerge() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testMerge() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testMergeFilterReader() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testMergeMissing() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testMergeStability() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testMergeStability() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.
testMergeStability() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testMergeWithDeletes() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testMergeWithIndexSort() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testMergeWithIndexSortAndDeletes() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testMergingWithDifferentByteKnnFields() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testMergingWithDifferentKnnFields() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testMismatchedFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testMismatchedFields() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testMismatchedFields() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testMismatchedFields() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testMismatchedFields() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
mix up field numbers, merge, and check that data is correct
testMissingCodecHeadersAreCaught() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testMissingSortedBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testMixedOptions() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testMostZeros() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testMultiClose() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Calls close multiple times on closeable codec apis
testMultiPolygonBasics() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
test we can search for a multi-polygon
testMultiPolygonBasics() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
test we can search for a multi-polygon
testMultiValued() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testMultiValued() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testMultiValued() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testMultiValued() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
testNarrowPolygonCloseToNorthPole() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testNCommon() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testNCommonBig() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
a more thorough n-common that tests all low bpv
testNextSetBit() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
testNextSetBitInRange() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
testNoBit() - Method in class org.apache.lucene.tests.util.BaseDocIdSetTestCase
Test length=0.
testNoDir() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testNoPathologicalMerges() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
 
testNumberMergeAwayAllValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testNumericField() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testNumericMergeAwayAllValuesLargeSegment() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testObtainConcurrently() - Method in class org.apache.lucene.tests.store.BaseLockFactoryTestCase
 
testObtainsLock(Directory) - Method in class org.apache.lucene.tests.index.BaseTestCheckIndex
 
testOneDimEqual() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testOneDimTwoValues() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testOneField() - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Test field infos read/write with a single field
testOneFloat() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testOneNumber() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testOneSortedNumber() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testOneSortedNumberOneMissing() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testOrDense() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test BitSet.or(DocIdSetIterator) on dense sets.
testOrRandom() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test BitSet.or(DocIdSetIterator) on a random density.
testOrSparse() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test BitSet.or(DocIdSetIterator) on sparse sets.
testOutliers() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testOutliers2() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testOverflow() - Method in class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
 
testPassIOContext() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testPendingDeletions() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testPolygonBasics() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
test we can search for a polygon
testPolygonBasics() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
test we can search for a polygon
testPolygonHole() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
test we can search for a polygon with a hole (but still includes the doc)
testPolygonHole() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
test we can search for a polygon with a hole (but still includes the doc)
testPolygonHoleExcludes() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
test we can search for a polygon with a hole (that excludes the doc)
testPolygonHoleExcludes() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
test we can search for a polygon with a hole (that excludes the doc)
testPolygonNullField() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
null field name not allowed
testPolygonNullField() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
null field name not allowed
testPostingsEnumAll() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testPostingsEnumAll() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testPostingsEnumDocsOnly() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testPostingsEnumFreqs() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testPostingsEnumFreqs() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testPostingsEnumOffsets() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testPostingsEnumOffsets() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testPostingsEnumOffsetsWithoutPositions() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testPostingsEnumPayloads() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testPostingsEnumPayloads() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testPostingsEnumPositions() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testPostingsEnumPositions() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testPostingsEnumReuse() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testPrevSetBit() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
testRamBytesUsed() - Method in class org.apache.lucene.tests.util.BaseDocIdSetTestCase
Test ram usage estimation.
testRandom() - Method in class org.apache.lucene.tests.index.BaseFieldInfoFormatTestCase
Test field infos read/write with random fields, with different values.
testRandom() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
Index random vectors, sometimes skipping documents, sometimes deleting a document, sometimes merging, sometimes sorting the index, and verify that the expected values can be read back consistently.
testRandom() - Method in class org.apache.lucene.tests.index.BasePostingsFormatTestCase
 
testRandom() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Sets some otherwise hard-to-test properties: random segment names, ID values, document count, etc and round-trips
testRandom() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testRandomAccess() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
This test opens two files from a compound stream and verifies that their file positions are independent of each other.
testRandomAccessClones() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
This test opens two files from a compound stream and verifies that their file positions are independent of each other.
testRandomAdvanceBinary() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testRandomAdvanceNumeric() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testRandomBig() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testRandomBig() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testRandomBig() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
testRandomBinaryBig() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testRandomBinaryMedium() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testRandomBinaryTiny() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testRandomByte() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testRandomBytes() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
Index random vectors as bytes, sometimes skipping documents, sometimes deleting a document, sometimes merging, sometimes sorting the index, and verify that the expected values can be read back consistently.
testRandomChunkSizes() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testRandomDistance() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Run a few iterations with just 10 docs, hopefully easy to debug
testRandomDistance() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
Run a few iterations with just 10 docs, hopefully easy to debug
testRandomDistanceHuge() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Runs with thousands of docs
testRandomDistanceHuge() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
Runs with thousands of docs
testRandomDocCount() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
 
testRandomExceptions() - Method in class org.apache.lucene.tests.index.BaseIndexFileFormatTestCase
Tests exception handling on write and openInput/createOutput
testRandomFiles() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
This test creates a compound file based on a large number of files of various length.
testRandomInt() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testRandomLong() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testRandomMedium() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testRandomMedium() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testRandomMedium() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
testRandomScoring() - Method in class org.apache.lucene.tests.search.similarities.BaseSimilarityTestCase
Tests scoring across a bunch of random terms/corpora/frequencies for each possible document length.
testRandomShort() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testRandomSortedBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testRandomStoredFields() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testRandomStoredFieldsWithIndexSort() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testRandomTiny() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testRandomTiny() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testRandomTiny() - Method in class org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase
 
testRandomWithUpdatesAndGraph() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
Index random vectors, sometimes skipping documents, sometimes updating a document, sometimes merging, sometimes sorting the index, using an HNSW similarity function so as to also produce a graph, and verify that the expected values can be read back consistently.
testRareVectors() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase
 
testReadPastEOF() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testReadSkip() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testRectBoundariesAreInclusive() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testRectBoundariesAreInclusive() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testRename() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testRenameFileDisabled() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testResourceNameInsideCompoundFile() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
TestRuleAssertionsRequired - Class in org.apache.lucene.tests.util
Require assertions for Lucene packages.
TestRuleAssertionsRequired() - Constructor for class org.apache.lucene.tests.util.TestRuleAssertionsRequired
 
TestRuleIgnoreAfterMaxFailures - Class in org.apache.lucene.tests.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.tests.util.TestRuleIgnoreAfterMaxFailures
 
TestRuleIgnoreTestSuites - Class in org.apache.lucene.tests.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.tests.util.TestRuleIgnoreTestSuites
 
TestRuleIgnoreTestSuites.NestedTestSuite - Interface in org.apache.lucene.tests.util
Marker interface for nested suites that should be ignored if executed in stand-alone mode.
TestRuleLimitSysouts - Class in org.apache.lucene.tests.util
This test rule serves two purposes: it fails the test if it prints too much to stdout and stderr (tests that chatter too much are discouraged) the rule ensures an absolute hard limit of stuff written to stdout and stderr to prevent accidental infinite loops from filling all available disk space with persisted output.
TestRuleLimitSysouts(TestRuleMarkFailure) - Constructor for class org.apache.lucene.tests.util.TestRuleLimitSysouts
 
TestRuleLimitSysouts.Limit - Annotation Type in org.apache.lucene.tests.util
An annotation specifying the limit of bytes per class.
TestRuleMarkFailure - Class in org.apache.lucene.tests.util
A rule for marking failed tests and suites.
TestRuleMarkFailure(TestRuleMarkFailure...) - Constructor for class org.apache.lucene.tests.util.TestRuleMarkFailure
 
TestRuleRestoreSystemProperties - Class in org.apache.lucene.tests.util
Restore a given set of system properties to a snapshot taken at the beginning of the rule.
TestRuleRestoreSystemProperties(String...) - Constructor for class org.apache.lucene.tests.util.TestRuleRestoreSystemProperties
 
TestRuleStoreClassName - Class in org.apache.lucene.tests.util
Stores the suite name so you can retrieve it from TestRuleStoreClassName.getTestClass()
TestRuleStoreClassName() - Constructor for class org.apache.lucene.tests.util.TestRuleStoreClassName
 
testRunFinished(Result) - Method in class org.apache.lucene.tests.util.RunListenerPrintReproduceInfo
 
testRunStarted(Description) - Method in class org.apache.lucene.tests.util.RunListenerPrintReproduceInfo
 
testSamePointManyTimes() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSamePointManyTimes() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSearchWithVisitedLimit() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
Tests whether KnnVectorsReader.search(java.lang.String, float[], org.apache.lucene.search.KnnCollector, org.apache.lucene.util.Bits) implementations obey the limit on the number of visited vectors.
TestSecurityManager - Class in org.apache.lucene.tests.util
A SecurityManager that prevents tests calling System.exit(int).
TestSecurityManager() - Constructor for class org.apache.lucene.tests.util.TestSecurityManager
Creates a new TestSecurityManager.
testSeekBeyondEndOfFile() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testSeekEnd() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testSeeking() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testSeekPastEOF() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testSeekSliceEnd() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testSeekSliceZero() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testSeekToEndOfFile() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testSeekToEOFThenBack() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testSeekZero() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testSet() - Method in class org.apache.lucene.tests.util.BaseBitSetTestCase
Test the BitSet.set(int) method.
testSetOfStrings() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testShort() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testShortNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testShortRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSimilarityFunctionIdentifiers() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testSimulateAppendOnly() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Simulate an append-only use-case, ie.
testSimulateUpdates() - Method in class org.apache.lucene.tests.index.BaseMergePolicyTestCase
Simulate an update use-case where documents are uniformly updated across segments.
testSingleBigValueCompression() - Method in class org.apache.lucene.tests.index.BaseCompressingDocValuesFormatTestCase
 
testSingleFile() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
This test creates compound file based on a single file.
testSlicedSeeking() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testSliceOfSlice() - Method in class org.apache.lucene.tests.store.BaseChunkedDirectoryTestCase
 
testSliceOfSlice() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
try to stress slices of slices
testSliceOutOfBounds() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testSmallSetDateline() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetDistance() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetDistance() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSmallSetDistanceDateline() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetDistanceNotEmpty() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
see https://issues.apache.org/jira/browse/LUCENE-6905
testSmallSetHugeDistance() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
Explicitly large
testSmallSetHugeDistance() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
Explicitly large
testSmallSetMultiValued() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetMultiValued() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSmallSetPoly() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetPoly() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSmallSetPolyWholeMap() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetPolyWholeSpace() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSmallSetRect() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetRect() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSmallSetRect2() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSmallSetTinyDistance() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetTinyDistance() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSmallSetWholeMap() - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
testSmallSetWholeSpace() - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
testSort() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test sort
testSortedBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedBytesThreeDocuments() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedBytesTwoDocuments() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedBytesTwoDocumentsMerged() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedEnumAdvanceIndependently() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedFixedLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedIndex() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testSortedIndexBytes() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testSortedMergeAwayAllValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedMergeAwayAllValuesLargeSegment() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedNumberMerge() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedNumberMergeAwayAllValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedNumericMergeAwayAllValuesLargeSegment() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedNumericsFewUniqueSetsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedNumericsMultipleValuesVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedNumericsSingleValuedMissingVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedNumericsSingleValuedVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetEnumAdvanceIndependently() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetFixedLengthFewUniqueSetsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetFixedLengthManyValuesPerDocVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetFixedLengthSingleValuedVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetFixedLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetMergeAwayAllValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetMergeAwayAllValuesLargeSegment() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetOneValue() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTermsEnum() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetThreeValuesTwoDocs() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsFirstMissing() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsFirstMissingMerge() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsLastMissing() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsLastMissingMerge() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoDocumentsMerged() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetTwoValuesUnordered() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetVariableLengthFewUniqueSetsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetVariableLengthManyValuesPerDocVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetVariableLengthSingleValuedVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedSetVariableLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedTermsEnum() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSortedVariableLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseAllZeros() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseBinaryFixedLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseBinaryVariableLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseBooleanNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseByteNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseByteRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseFullLongRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseGCDCompression() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseIntNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseLiveDocs() - Method in class org.apache.lucene.tests.index.BaseLiveDocsFormatTestCase
 
testSparseLongNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseLongRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseNCommon() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseNCommonBig() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
a more thorough n-common that tests all low bpv and sparse docs
testSparseOutliers() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseOutliers2() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseShortNumericsVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseShortRange() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testSparseSortedFixedLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseSortedVariableLengthVsStoredFields() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testSparseVectors() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testSparseZeros() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testStarted(Description) - Method in class org.apache.lucene.tests.util.RunListenerPrintReproduceInfo
 
testStoredFieldsOrder() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testStressLocks() - Method in class org.apache.lucene.tests.store.BaseLockFactoryTestCase
 
testString() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testSyncDisabled() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
 
testTerms(Fields, EnumSet<RandomPostingsTester.Option>, IndexOptions, IndexOptions, boolean) - Method in class org.apache.lucene.tests.index.RandomPostingsTester
 
testThreads() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
Tests dv against stored fields with threads (binary/numeric/sorted, no missing)
testThreads() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testThreads2() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
Tests dv against stored fields with threads (all types + missing)
testThreads3() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testThreadSafetyInListAll() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testThreeBytesOneMissingWithMerging() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testThreeFieldsMixed() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testThreeFieldsMixed2() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testThreeNumbersOneMissingWithMerging() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoBinaryValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoBytesOneMissing() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoBytesOneMissingWithMerging() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoDocumentsMerged() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoDocumentsNumeric() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoFieldsMixed() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoFiles() - Method in class org.apache.lucene.tests.index.BaseCompoundFormatTestCase
This test creates compound file based on two files.
testTwoNumbers() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoNumbersOneMissing() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoNumbersOneMissingWithMerging() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoSortedNumber() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoSortedNumberOneMissing() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testTwoSortedNumberSameValue() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testUnalignedFloats() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testUnalignedInts() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testUnalignedLittleEndianLongs() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testUndeadNorms() - Method in class org.apache.lucene.tests.index.BaseNormsFormatTestCase
 
testUniqueID() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test unique ID
testUniqueValuesCompression() - Method in class org.apache.lucene.tests.index.BaseCompressingDocValuesFormatTestCase
 
testURI() - Method in class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
Test that URIs are not corrumpted
testURIchinese() - Method in class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
 
testURIumlaute() - Method in class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
 
TestUtil - Class in org.apache.lucene.tests.util
General utility methods for Lucene unit tests.
testValidAfterAcquire() - Method in class org.apache.lucene.tests.store.BaseLockFactoryTestCase
Test ensureValid returns true after acquire
testVariouslyCompressibleBinaryValues() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testVectorEncodingOrdinals() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testVectorValuesReportCorrectDocs() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testVersions() - Method in class org.apache.lucene.tests.index.BaseSegmentInfoFormatTestCase
Test versions
testVeryLargeButLegalBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testVeryLargeButLegalSortedBytes() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testVInt() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testVLong() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testWithExceptions() - Method in class org.apache.lucene.tests.index.BasePointsFormatTestCase
Make sure we close open files, delete temp files, etc., on exception
testWriteReadMerge() - Method in class org.apache.lucene.tests.index.BaseStoredFieldsFormatTestCase
 
testWriterRamEstimate() - Method in class org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase
 
testZeroOrMin() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testZeros() - Method in class org.apache.lucene.tests.index.BaseDocValuesFormatTestCase
 
testZInt() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
testZLong() - Method in class org.apache.lucene.tests.store.BaseDirectoryTestCase
 
TEXT_FIELD_1_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
TEXT_FIELD_2_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
TEXT_FIELD_3_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
TEXT_FIELD_UTF1_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
TEXT_FIELD_UTF2_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
TEXT_TYPE_STORED_WITH_TVS - Static variable in class org.apache.lucene.tests.index.DocHelper
 
textField1 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
textField2 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
textField3 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
textUtfField1 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
textUtfField2 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
ThreadedIndexingAndSearchingTestCase - Class in org.apache.lucene.tests.index
Utility class that spawns multiple indexing and searching threads.
ThreadedIndexingAndSearchingTestCase() - Constructor for class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
THREADS - org.apache.lucene.tests.index.RandomPostingsTester.Option
 
ThrottledIndexOutput - Class in org.apache.lucene.tests.util
Intentionally slow IndexOutput for testing.
ThrottledIndexOutput(int, long, int, IndexOutput) - Constructor for class org.apache.lucene.tests.util.ThrottledIndexOutput
 
ThrottledIndexOutput(int, long, long, long, long, IndexOutput) - Constructor for class org.apache.lucene.tests.util.ThrottledIndexOutput
 
ThrottledIndexOutput(int, long, IndexOutput) - Constructor for class org.apache.lucene.tests.util.ThrottledIndexOutput
 
throwExcAfterChar(int) - Method in class org.apache.lucene.tests.analysis.MockReaderWrapper
Throw an exception after reading this many chars.
throwExcNext() - Method in class org.apache.lucene.tests.analysis.MockReaderWrapper
 
TimeUnits - Class in org.apache.lucene.tests.util
time unit constants for use in annotations.
toAbsolutePath() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
toDelegate(Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
toDelegate(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
Override this to customize the unboxing of Path from various operations
toDocument() - Method in class org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomDocument
 
toDot() - Method in class org.apache.lucene.tests.analysis.TokenStreamToDot
 
toDot(Analyzer, String) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
toDotFile(Analyzer, String, String) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
toFile() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
toIntsRef(String, int) - Static method in class org.apache.lucene.tests.util.fst.FSTTester
 
toIntsRef(String, int, IntsRefBuilder) - Static method in class org.apache.lucene.tests.util.fst.FSTTester
 
Token - Class in org.apache.lucene.tests.analysis
A Token is an occurrence of a term from the text of a field.
Token() - Constructor for class org.apache.lucene.tests.analysis.Token
Constructs a Token will null text.
Token(CharSequence, int, int) - Constructor for class org.apache.lucene.tests.analysis.Token
Constructs a Token with the given term text, start and end offsets.
Token(CharSequence, int, int, int) - Constructor for class org.apache.lucene.tests.analysis.Token
Constructs a Token with the given term text, position increment, start and end offsets
Token(CharSequence, int, int, int, int) - Constructor for class org.apache.lucene.tests.analysis.Token
 
TOKEN_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.tests.analysis.Token
Convenience factory that returns Token as implementation for the basic attributes and return the default impl (with "Impl" appended) for all other attributes.
tokenFilterFactory(String, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized TokenFilterFactory with the specified name and key-value arguments.
tokenFilterFactory(String, Version, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized TokenFilterFactory with the specified name and key-value arguments.
tokenFilterFactory(String, Version, ResourceLoader, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized TokenFilterFactory with the specified name, version, resource loader, and key-value arguments.
tokenizerFactory(String, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized TokenizerFactory with the specified name and key-value arguments.
tokenizerFactory(String, Version, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized TokenizerFactory with the specified name and key-value arguments.
tokenizerFactory(String, Version, ResourceLoader, String...) - Method in class org.apache.lucene.tests.analysis.BaseTokenStreamFactoryTestCase
Returns a fully initialized TokenizerFactory with the specified name, version, resource loader, and key-value arguments.
TokenStreamToDot - Class in org.apache.lucene.tests.analysis
Consumes a TokenStream and outputs the dot (graphviz) string (graph).
TokenStreamToDot(String, TokenStream, PrintWriter) - Constructor for class org.apache.lucene.tests.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.tests.search.CheckHits
 
toRealPath(LinkOption...) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
toString() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingCodec
 
toString() - Method in class org.apache.lucene.tests.codecs.asserting.AssertingLiveDocsFormat
 
toString() - Method in class org.apache.lucene.tests.codecs.bloom.TestBloomFilteredLucenePostings
 
toString() - Method in class org.apache.lucene.tests.codecs.compressing.CompressingCodec
 
toString() - Method in class org.apache.lucene.tests.codecs.cranky.CrankyCodec
 
toString() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
 
toString() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingNumericDocValues
 
toString() - Method in class org.apache.lucene.tests.index.AssertingLeafReader.AssertingTerms
 
toString() - Method in class org.apache.lucene.tests.index.FieldFilterLeafReader
 
toString() - Method in class org.apache.lucene.tests.index.RandomCodec
 
toString() - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 
toString() - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
 
toString() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
toString() - Method in class org.apache.lucene.tests.search.AssertingIndexSearcher
 
toString() - Method in class org.apache.lucene.tests.search.AssertingScorer
 
toString() - Method in class org.apache.lucene.tests.search.MatchesTestBase.TermMatch
 
toString() - Method in class org.apache.lucene.tests.search.similarities.AssertingSimilarity
 
toString() - Method in class org.apache.lucene.tests.search.similarities.RandomSimilarity
 
toString() - Method in class org.apache.lucene.tests.store.MockDirectoryWrapper
 
toString() - Method in class org.apache.lucene.tests.store.MockIndexInputWrapper
 
toString(String) - Method in class org.apache.lucene.tests.search.AssertingQuery
 
toString(String) - Method in class org.apache.lucene.tests.search.BlockScoreQueryWrapper
 
toString(String) - Method in class org.apache.lucene.tests.search.DisablingBulkScorerQuery
 
toString(String) - Method in class org.apache.lucene.tests.search.RandomApproximationQuery
 
toString(Analyzer, String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
Returns a String summary of the tokens this analyzer produces on this text
toSVG(Object...) - Static method in class org.apache.lucene.tests.geo.GeoTestUtil
Returns svg of polygon for debugging.
toUri() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
transferFrom(ReadableByteChannel, long, long) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
transferTo(long, long, WritableByteChannel) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
truncate(long) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
truncate(long) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
truncate(long) - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
tryLock(long, long, boolean) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
tryLock(long, long, boolean) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
twoPhaseIterator() - Method in class org.apache.lucene.tests.search.AssertingScorer
 
type() - Method in class org.apache.lucene.tests.mockfile.FilterFileStore
 

U

UniformSplitRot13PostingsFormat - Class in org.apache.lucene.tests.codecs.uniformsplit
UniformSplitPostingsFormat with block encoding using ROT13 cypher.
UniformSplitRot13PostingsFormat() - Constructor for class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
UniformSplitRot13PostingsFormat(String, boolean) - Constructor for class org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat
 
unindexed - Static variable in class org.apache.lucene.tests.index.DocHelper
 
UNINDEXED_FIELD_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
UNINDEXED_FIELD_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
unIndField - Static variable in class org.apache.lucene.tests.index.DocHelper
 
unstored - Static variable in class org.apache.lucene.tests.index.DocHelper
 
UNSTORED_1_FIELD_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
UNSTORED_2_FIELD_TEXT - Static variable in class org.apache.lucene.tests.index.DocHelper
 
UNSTORED_FIELD_1_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
UNSTORED_FIELD_2_KEY - Static variable in class org.apache.lucene.tests.index.DocHelper
 
unStoredField1 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
unStoredField2 - Static variable in class org.apache.lucene.tests.index.DocHelper
 
unwrap() - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
unwrap(Path) - Static method in class org.apache.lucene.tests.mockfile.FilterPath
Unwraps all FilterPaths, returning the innermost Path.
unwrap(Scorable) - Static method in class org.apache.lucene.tests.search.AssertingScorable
 
unWrap(Matches) - Static method in class org.apache.lucene.tests.search.AssertingMatches
 
unzip(InputStream, Path) - Static method in class org.apache.lucene.tests.util.TestUtil
Convenience method unzipping zipName into destDir.
updateBinaryDocValue(Term, String, BytesRef) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
updateDocument(Term, Iterable<? extends IndexableField>) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
updateDocument(Term, Iterable<T>) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
Updates a document.
updateDocuments(Term, Iterable<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
updateDocuments(Term, List<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
updateDocValues(Term, Field...) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
updateNodeVersion(int, long) - Method in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
updateNumericDocValue(Term, String, Long) - Method in class org.apache.lucene.tests.index.RandomIndexWriter
 
upto - Variable in class org.apache.lucene.tests.index.RandomPostingsTester.SeedPostings
 
useCompoundFile(SegmentInfos, SegmentCommitInfo, MergePolicy.MergeContext) - Method in class org.apache.lucene.tests.index.MockRandomMergePolicy
 
usually() - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
usually(Random) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
UTF16_TERM_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.tests.analysis.MockUTF16TermAttributeImpl
Factory that returns an instance of this class for CharTermAttribute

V

ValidatingTokenFilter - Class in org.apache.lucene.tests.analysis
A TokenFilter that checks consistency of the tokens (eg offsets are consistent with one another).
ValidatingTokenFilter(TokenStream, String) - Constructor for class org.apache.lucene.tests.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.tests.index.BaseTermVectorsFormatTestCase
 
value() - Method in annotation type org.apache.lucene.tests.util.LuceneTestCase.Monster
 
value() - Method in annotation type org.apache.lucene.tests.util.LuceneTestCase.SuppressCodecs
 
value() - Method in annotation type org.apache.lucene.tests.util.LuceneTestCase.SuppressFileSystems
 
valueOf(String) - Static method in enum org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.Options
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.tests.index.RandomPostingsTester.Option
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range.QueryType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.tests.store.MockDirectoryWrapper.Throttling
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.lucene.tests.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.tests.index.RandomPostingsTester.Option
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range.QueryType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.lucene.tests.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.tests.codecs.asserting.AssertingTermVectorsFormat
 
vectorsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingTermVectorsFormat
 
VERBOSE - Static variable in class org.apache.lucene.tests.util.LuceneTestCase
True if and only if tests are run in verbose mode.
VerboseFS - Class in org.apache.lucene.tests.mockfile
FileSystem that records all major destructive filesystem activities.
VerboseFS(FileSystem, InfoStream) - Constructor for class org.apache.lucene.tests.mockfile.VerboseFS
Create a new instance, recording major filesystem write activities (create, delete, etc) to the specified InfoStream.
verifyExplanation(String, int, float, boolean, Explanation) - Static method in class org.apache.lucene.tests.search.CheckHits
Assert that an explanation has the expected score, and optionally that its sub-details max/sum/factor match to that score.
verifyRandomDistances(double[], double[]) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
verifyRandomDistances(float[], float[]) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
verifyRandomGeometries(double[], double[]) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
verifyRandomGeometries(float[], float[]) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
verifyRandomPolygons(double[], double[]) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
verifyRandomPolygons(float[], float[]) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
verifyRandomRectangles(double[], double[]) - Method in class org.apache.lucene.tests.geo.BaseGeoPointTestCase
 
verifyRandomRectangles(float[], float[]) - Method in class org.apache.lucene.tests.geo.BaseXYPointTestCase
 
VerifyTestClassNamingConvention - Class in org.apache.lucene.tests.util
Enforce test naming convention.
VerifyTestClassNamingConvention(String, Pattern) - Constructor for class org.apache.lucene.tests.util.VerifyTestClassNamingConvention
 
version - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.SearcherAndVersion
 
VirusCheckingFS - Class in org.apache.lucene.tests.mockfile
Acts like a virus checker on Windows, where random programs may open the files you just wrote in an unfriendly way preventing deletion (e.g.
VirusCheckingFS(FileSystem, long) - Constructor for class org.apache.lucene.tests.mockfile.VirusCheckingFS
Create a new instance, wrapping delegate.
visit(QueryVisitor) - Method in class org.apache.lucene.tests.search.AssertingQuery
 
visit(QueryVisitor) - Method in class org.apache.lucene.tests.search.BlockScoreQueryWrapper
 
visit(QueryVisitor) - Method in class org.apache.lucene.tests.search.DisablingBulkScorerQuery
 
visit(QueryVisitor) - Method in class org.apache.lucene.tests.search.RandomApproximationQuery
 
VocabularyAssert - Class in org.apache.lucene.tests.analysis
Utility class for doing vocabulary-based stemming tests
VocabularyAssert() - Constructor for class org.apache.lucene.tests.analysis.VocabularyAssert
 

W

w - Variable in class org.apache.lucene.tests.index.RandomIndexWriter
 
wasSuccessful() - Method in class org.apache.lucene.tests.util.TestRuleMarkFailure
Check if this object was successful (the opposite of TestRuleMarkFailure.hadFailures()).
WHITESPACE - Static variable in class org.apache.lucene.tests.analysis.MockTokenizer
Acts Similar to WhitespaceTokenizer
whitespaceMockTokenizer(Reader) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
whitespaceMockTokenizer(String) - Static method in class org.apache.lucene.tests.analysis.BaseTokenStreamTestCase
 
WindowsFS - Class in org.apache.lucene.tests.mockfile
FileSystem that (imperfectly) acts like windows.
WindowsFS(FileSystem) - Constructor for class org.apache.lucene.tests.mockfile.WindowsFS
Create a new instance, wrapping the delegate filesystem to act like Windows.
WITHIN - org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range.QueryType
 
WordBreakTestUnicode_12_1_0 - Class in org.apache.lucene.tests.analysis.standard
This class was automatically generated by generateJavaUnicodeWordBreakTest.pl from: http://www.unicode.org/Public/12.1.0/ucd/auxiliary/WordBreakTest.txt
WordBreakTestUnicode_12_1_0() - Constructor for class org.apache.lucene.tests.analysis.standard.WordBreakTestUnicode_12_1_0
 
wrap(Path) - Method in class org.apache.lucene.tests.mockfile.FilterPath
 
wrap(Path) - Method in class org.apache.lucene.tests.mockfile.MockFileSystemTestCase
wraps Path with custom behavior
wrap(Random, Query) - Static method in class org.apache.lucene.tests.search.AssertingQuery
Wrap a query if necessary.
wrap(Random, Scorer, ScoreMode, boolean) - Static method in class org.apache.lucene.tests.search.AssertingScorer
 
wrap(Collector) - Static method in class org.apache.lucene.tests.search.AssertingCollector
Wrap the given collector in order to add assertions.
wrap(Scorable) - Static method in class org.apache.lucene.tests.search.AssertingScorable
 
wrapPath(Path) - Method in class org.apache.lucene.tests.mockfile.FilterFileSystemProvider
wraps a Path with provider-specific behavior
wrapPath(Path) - Method in class org.apache.lucene.tests.mockfile.WindowsFS
 
wrapReader(IndexReader) - Static method in class org.apache.lucene.tests.util.LuceneTestCase
 
wrapUnderlyingReader(Random, IndexSearcher, int) - Static method in class org.apache.lucene.tests.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(byte[]) - Method in class org.apache.lucene.tests.mockfile.FilterOutputStream2
 
write(byte[], int, int) - Method in class org.apache.lucene.tests.mockfile.FilterOutputStream2
 
write(int) - Method in class org.apache.lucene.tests.mockfile.FilterOutputStream2
 
write(ByteBuffer) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
write(ByteBuffer) - Method in class org.apache.lucene.tests.mockfile.FilterSeekableByteChannel
 
write(ByteBuffer[], int, int) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
write(ByteBuffer, long) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
write(ByteBuffer, long) - Method in class org.apache.lucene.tests.mockfile.FilterFileChannel
 
write(ByteBuffer, long, A, CompletionHandler<Integer, ? super A>) - Method in class org.apache.lucene.tests.mockfile.FilterAsynchronousFileChannel
 
writeArc(int, int, String, String) - Method in class org.apache.lucene.tests.analysis.TokenStreamToDot
 
writeByte(byte) - Method in class org.apache.lucene.tests.store.MockIndexOutputWrapper
 
writeByte(byte) - Method in class org.apache.lucene.tests.util.ThrottledIndexOutput
 
writeBytes(byte[], int) - Method in class org.apache.lucene.tests.store.MockIndexOutputWrapper
 
writeBytes(byte[], int, int) - Method in class org.apache.lucene.tests.store.CorruptingIndexOutput
 
writeBytes(byte[], int, int) - Method in class org.apache.lucene.tests.store.MockIndexOutputWrapper
 
writeBytes(byte[], int, int) - Method in class org.apache.lucene.tests.util.ThrottledIndexOutput
 
writeDoc(Random, Directory, Analyzer, Similarity, Document) - Static method in class org.apache.lucene.tests.index.DocHelper
Writes the document to the directory using the analyzer and the similarity score; returns the SegmentInfo describing the new segment
writeDoc(Random, Directory, Document) - Static method in class org.apache.lucene.tests.index.DocHelper
Writes the document to the directory using a segment named "test"; returns the SegmentInfo describing the new segment
writeHeader() - Method in class org.apache.lucene.tests.analysis.TokenStreamToDot
Override to customize.
writeLiveDocs(Bits, Directory, SegmentCommitInfo, int, IOContext) - Method in class org.apache.lucene.tests.codecs.asserting.AssertingLiveDocsFormat
 
writeNode(int, String) - Method in class org.apache.lucene.tests.analysis.TokenStreamToDot
 
writer - Variable in class org.apache.lucene.tests.index.ThreadedIndexingAndSearchingTestCase
 
writer - Variable in class org.apache.lucene.tests.search.ShardSearchingTestBase.NodeState
 
writeTrailer() - Method in class org.apache.lucene.tests.analysis.TokenStreamToDot
Override to customize.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages