Package org.apache.lucene.index

Support for testing of indexes.

See:
          Description

Class Summary
AlcoholicMergePolicy Merge policy for testing, it is like an alcoholic.
AssertingAtomicReader A FilterAtomicReader that can be used to apply additional checks for tests.
AssertingAtomicReader.AssertingFields Wraps a Fields but with additional asserts
AssertingAtomicReader.AssertingFieldsEnum Wraps a FieldsEnum but with additional asserts
AssertingAtomicReader.AssertingTerms Wraps a Terms but with additional asserts
AssertingDirectoryReader A DirectoryReader that wraps all its subreaders with AssertingAtomicReader
FieldFilterAtomicReader  
MockIndexInput IndexInput backed by a byte[] for testing.
MockRandomMergePolicy MergePolicy that makes random decisions for testing.
RandomCodec Codec that assigns per-field random postings formats.
RandomIndexWriter Silly class that randomizes the indexing experience.
ThreadedIndexingAndSearchingTestCase Utility class that spawns multiple indexing and searching threads.
 

Enum Summary
AlcoholicMergePolicy.Drink  
 

Package org.apache.lucene.index Description

Support for testing of indexes.

The primary classes are:



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