Class SearchEquivalenceTestBase
Simple base class for checking search equivalence.
Extend it, and write tests that create
Inherited Members
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class SearchEquivalenceTestBase : LuceneTestCase
Fields
Name | Description |
---|---|
Analyzer | |
Directory | |
Reader | |
S1 | |
S2 | |
Stopword |
Methods
Name | Description |
---|---|
AfterClass() | |
AssertSameSet(Query, Query) | Asserts that the documents returned by
are the same as of those returned by
|
AssertSubsetOf(Query, Query) | Asserts that the documents returned by
are a subset of those returned by
|
AssertSubsetOf(Query, Query, Filter) | Asserts that the documents returned by
are a subset of those returned by .
Both queries will be filtered by
|
BeforeClass() | LUCENENET specific Is non-static because ClassEnvRule is no longer static. |
RandomFilter() | Returns a random filter over the document set |
RandomTerm() | returns a term suitable for searching. terms are single characters in lowercase (a-z) |