# Package org.apache.lucene.search.similarities

Support for testing similarities

See: Description

Class Summary
AssertingSimilarity: wraps a similarity with checks for testing
BaseSimilarityTestCase: Abstract class to do basic tests for a similarity.
RandomSimilarity: Similarity implementation that randomizes Similarity implementations per-field.

## Package org.apache.lucene.search.similarities Description

Support for testing similarities

The primary classes are:

- `RandomSimilarity`: Randomizes similarity per-field in tests.