Method Search
Search(Weight, Filter, Int32)
Declaration
public override TopDocs Search(Weight weight, Filter filter, int nDocs)
Parameters
Type |
Name |
Description |
Weight |
weight |
|
Filter |
filter |
|
System.Int32 |
nDocs |
|
Returns
Overrides
Search(Weight, Filter, Int32, Sort)
Declaration
public override TopFieldDocs Search(Weight weight, Filter filter, int nDocs, Sort sort)
Parameters
Returns
Overrides
Search(Weight, Filter, Int32, Sort, Boolean)
Just like Search(Weight, Filter, Int32, Sort), but you choose
whether or not the fields in the returned FieldDoc instances
should be set by specifying fillFields.
NOTE: this does not compute scores by default. If you need scores, create
a TopFieldCollector instance by calling
Create(Sort, Int32, Boolean, Boolean, Boolean, Boolean) and then pass that to
Search(Weight, Filter, Collector).
Declaration
public virtual TopFieldDocs Search(Weight weight, Filter filter, int nDocs, Sort sort, bool fillFields)
Parameters
Type |
Name |
Description |
Weight |
weight |
|
Filter |
filter |
|
System.Int32 |
nDocs |
|
Sort |
sort |
|
System.Boolean |
fillFields |
|
Returns
Search(Weight, Filter, Collector)
Declaration
public override void Search(Weight weight, Filter filter, Collector collector)
Parameters
Overrides