Class AssertingIndexSearcher
Inheritance
System.Object
AssertingIndexSearcher
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingIndexSearcher : IndexSearcher
Constructors
|
Improve this Doc
View Source
AssertingIndexSearcher(Random, IndexReader)
Declaration
public AssertingIndexSearcher(Random random, IndexReader r)
Parameters
Type |
Name |
Description |
System.Random |
random |
|
IndexReader |
r |
|
|
Improve this Doc
View Source
AssertingIndexSearcher(Random, IndexReader, TaskScheduler)
Declaration
public AssertingIndexSearcher(Random random, IndexReader r, TaskScheduler ex)
Parameters
Type |
Name |
Description |
System.Random |
random |
|
IndexReader |
r |
|
System.Threading.Tasks.TaskScheduler |
ex |
|
|
Improve this Doc
View Source
AssertingIndexSearcher(Random, IndexReaderContext)
Declaration
public AssertingIndexSearcher(Random random, IndexReaderContext context)
Parameters
|
Improve this Doc
View Source
AssertingIndexSearcher(Random, IndexReaderContext, TaskScheduler)
Declaration
public AssertingIndexSearcher(Random random, IndexReaderContext context, TaskScheduler ex)
Parameters
Type |
Name |
Description |
System.Random |
random |
|
IndexReaderContext |
context |
|
System.Threading.Tasks.TaskScheduler |
ex |
|
Methods
|
Improve this Doc
View Source
CreateNormalizedWeight(Query)
Ensures, that the returned Weight is not normalized again, which may produce wrong scores.
Declaration
public override Weight CreateNormalizedWeight(Query query)
Parameters
Type |
Name |
Description |
Query |
query |
|
Returns
Overrides
|
Improve this Doc
View Source
Rewrite(Query)
Declaration
public override Query Rewrite(Query original)
Parameters
Type |
Name |
Description |
Query |
original |
|
Returns
Overrides
|
Improve this Doc
View Source
Search(IList<AtomicReaderContext>, Weight, ICollector)
Declaration
protected override void Search(IList<AtomicReaderContext> leaves, Weight weight, ICollector collector)
Parameters
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
WrapFilter(Query, Filter)
Declaration
protected override Query WrapFilter(Query query, Filter filter)
Parameters
Returns
Overrides