public static CheckHitCollector ( |
||
random | ||
query | the query to test | |
defaultFieldName | string | used for displaying the query in assertion messages |
searcher | the searcher to test the query against | |
results | int | a list of documentIds that must match the query |
similarity |
/// LUCENENET specific
/// Removes dependency on |
|
Résultat | void |
/// <summary> /// check the expDocNrs first, then check the query (and the explanations) </summary> public virtual void Qtest(Query q, int[] expDocNrs) { CheckHits.CheckHitCollector( #if FEATURE_INSTANCE_TESTDATA_INITIALIZATION this, #endif Random, q, FIELD, Searcher, expDocNrs); }
/// <summary>check the expDocNrs first, then check the query (and the explanations) </summary> public virtual void Qtest(Query q, int[] expDocNrs) { CheckHits.CheckHitCollector(q, FIELD, searcher, expDocNrs); }
/// <summary> /// check the expDocNrs first, then check the query (and the explanations) </summary> public virtual void Qtest(Query q, int[] expDocNrs) { CheckHits.CheckHitCollector(Random(), q, FIELD, Searcher, expDocNrs, Similarity); }