FileDocCategorySizeDatePackage
SearchTravRetTask.javaAPI DocApache Lucene 2.2.01528Sat Jun 16 22:20:58 BST 2007org.apache.lucene.benchmark.byTask.tasks

SearchTravRetTask

public class SearchTravRetTask extends SearchTravTask
Search and Traverse and Retrieve docs task.

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.

Fields Summary
Constructors Summary
public SearchTravRetTask(org.apache.lucene.benchmark.byTask.PerfRunData runData)

    super(runData);
  
Methods Summary
public booleanwithRetrieve()

    return true;