Class SearchTravRetTask
Search and Traverse and Retrieve docs task.
Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class SearchTravRetTask : SearchTravTask, IDisposable
Remarks
Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.
Takes optional param: traversal size (otherwise all results are traversed). Other side effects: counts additional 1 (record) for each traversed hit, and 1 more for each retrieved (non null) document.Constructors
SearchTravRetTask(PerfRunData)
Search and Traverse and Retrieve docs task.
Declaration
public SearchTravRetTask(PerfRunData runData)
Parameters
Type | Name | Description |
---|---|---|
PerfRunData | runData |
Remarks
Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.
Takes optional param: traversal size (otherwise all results are traversed). Other side effects: counts additional 1 (record) for each traversed hit, and 1 more for each retrieved (non null) document.Properties
WithRetrieve
Return true
if, with search & results traversing, docs should be retrieved.
Declaration
public override bool WithRetrieve { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Remarks
Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.
Takes optional param: traversal size (otherwise all results are traversed). Other side effects: counts additional 1 (record) for each traversed hit, and 1 more for each retrieved (non null) document.