Class CheckHits.MatchesAsserter

  • All Implemented Interfaces:
    Collector, LeafCollector
    Enclosing class:
    CheckHits

    public static class CheckHits.MatchesAsserter
    extends SimpleCollector
    Asserts that the Matches from a query is non-null whenever the document its created for is a hit.

    Also checks that the previous non-matching document has a null Matches