checkMatches

fun checkMatches(query: Query, searcher: IndexSearcher)

Asserts that the result of calling Weight.matches for every document matching a query returns a non-null Matches

Parameters

query

the query to test

searcher

the search to test against