org.apache.lucene.benchmark.byTask.tasks
public class SearchTravTask extends ReadTask
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.
Field Summary | |
---|---|
protected int | traversalSize |
Constructor Summary | |
---|---|
SearchTravTask(PerfRunData runData) |
Method Summary | |
---|---|
QueryMaker | getQueryMaker() |
void | setParams(String params) |
boolean | supportsParams() |
int | traversalSize() |
boolean | withRetrieve() |
boolean | withSearch() |
boolean | withTraverse() |
boolean | withWarm() |