Class ExplanationAssertingSearcher
An that implicitly checks hte explanation of every match
whenever it executes a search.
Inheritance
System.Object
ExplanationAssertingSearcher
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class ExplanationAssertingSearcher : IndexSearcher
Constructors
|
Improve this Doc
View Source
ExplanationAssertingSearcher(IndexReader)
Declaration
public ExplanationAssertingSearcher(IndexReader r)
Parameters
Type |
Name |
Description |
IndexReader |
r |
|
Methods
|
Improve this Doc
View Source
CheckExplanations(Query)
Declaration
protected virtual void CheckExplanations(Query q)
Parameters
Type |
Name |
Description |
Query |
q |
|
|
Improve this Doc
View Source
Search(Query, Filter, ICollector)
Declaration
public override void Search(Query query, Filter filter, ICollector results)
Parameters
Type |
Name |
Description |
Query |
query |
|
Filter |
filter |
|
ICollector |
results |
|
|
Improve this Doc
View Source
Search(Query, Filter, Int32)
Declaration
public override TopDocs Search(Query query, Filter filter, int n)
Parameters
Type |
Name |
Description |
Query |
query |
|
Filter |
filter |
|
System.Int32 |
n |
|
Returns
|
Improve this Doc
View Source
Search(Query, Filter, Int32, Sort)
Declaration
public override TopFieldDocs Search(Query query, Filter filter, int n, Sort sort)
Parameters
Type |
Name |
Description |
Query |
query |
|
Filter |
filter |
|
System.Int32 |
n |
|
Sort |
sort |
|
Returns
Type |
Description |
TopFieldDocs |
|
|
Improve this Doc
View Source
Search(Query, ICollector)
Declaration
public override void Search(Query query, ICollector results)
Parameters
Type |
Name |
Description |
Query |
query |
|
ICollector |
results |
|
See Also