Package org.apache.lucene.search

Support for testing search components.

See:
          Description

Class Summary
AssertingIndexSearcher Helper class that adds some extra checks to ensure correct usage of IndexSearcher and Weight.
CheckHits Utility class for asserting expected hits in tests.
CheckHits.ExplanationAsserter Asserts that the score explanation for every document matching a query corresponds with the true score.
CheckHits.ExplanationAssertingSearcher an IndexSearcher that implicitly checks hte explanation of every match whenever it executes a search.
CheckHits.SetCollector Just collects document ids into a set.
QueryUtils Utility class for sanity-checking queries.
QueryUtils.FCInvisibleMultiReader This is a MultiReader that can be used for randomly wrapping other readers without creating FieldCache insanity.
RandomSimilarityProvider Similarity implementation that randomizes Similarity implementations per-field.
SearchEquivalenceTestBase Simple base class for checking search equivalence.
ShardSearchingTestBase  
ShardSearchingTestBase.SearcherAndVersion  
 

Exception Summary
ShardSearchingTestBase.SearcherExpiredException  
 

Package org.apache.lucene.search Description

Support for testing search components.

The primary classes are:



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