Method CheckHitsQuery
CheckHitsQuery(Query, ScoreDoc[], ScoreDoc[], Int32[])
Tests that two queries have an expected order of documents, and that the two queries have the same score values.
Declaration
public static void CheckHitsQuery(Query query, ScoreDoc[] hits1, ScoreDoc[] hits2, int[] results)
Parameters
Type | Name | Description |
---|---|---|
Query | query | |
ScoreDoc[] | hits1 | |
ScoreDoc[] | hits2 | |
System.Int32[] | results |