Package-level declarations
Types
Wraps a Scorer with additional checks
A collector that asserts that it is used correctly.
Helper class that adds some extra checks to ensure correct usage of IndexSearcher and Weight.
An implementation of Matches with additional consistency checks.
Assertion-enabled query.
Wraps another Scorable and asserts that scores are reasonable and only called when positioned
Wraps a Scorer with additional checks
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.
Abstract class to do basic tests for a RangeField query. Testing rigor inspired by BaseGeoPointTestCase
Query wrapper that reduces the size of max-score blocks to more easily detect problems with the max-score logic.
A BulkScorer-backed scorer.
A dummy version of org.gnit.lucenekmp.search.TotalHitCountCollector that doesn't shortcut using Weight.count.
Collector that accumulates matching docs in a FixedBitSet
Base class for tests checking the Weight.matches implementations
Utility class for sanity-checking queries.
A Query that adds random approximations to its scorers.
An IndexSearcher that always uses the Scorer API, never BulkScorer.
Simple base class for checking search equivalence. Extend it, and write tests that create .randomTerms (all terms are single characters a-z), and use .assertSameSet and assertSubsetOf.
Base test class for simulating distributed search across multiple shards.