# Package org.apache.lucene.search.similarities

Support for testing similarities

See: Description

- Class Summary
  Class | Description
  --- | ---
  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.

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