org.apache.lucene.benchmark.byTask.tasks
public class SearchTravRetLoadFieldSelectorTask extends SearchTravTask
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: comma separated list of Fields to load.
Other side effects: counts additional 1 (record) for each traversed hit, and 1 more for each retrieved (non null) document.
Field Summary | |
---|---|
protected FieldSelector | fieldSelector |
Constructor Summary | |
---|---|
SearchTravRetLoadFieldSelectorTask(PerfRunData runData) |
Method Summary | |
---|---|
protected int | retrieveDoc(IndexReader ir, int id) |
void | setParams(String params) |
boolean | supportsParams() |
boolean | withRetrieve() |