public class SearchTravRetTask 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: 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.
traversalSize| Constructor and Description |
|---|
SearchTravRetTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
withRetrieve()
Return true if, with search & results traversing, docs should be retrieved.
|
getQueryMaker, setParams, supportsParams, traversalSize, withSearch, withTraverse, withWarmdoHighlight, doLogic, getFieldsToHighlight, getHighlighter, getSort, isMergeContiguousFragments, maxNumFragments, numToHighlight, retrieveDocclone, getDepth, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setup, shouldNeverLogAtStart, shouldNotRecordStats, tearDown, toStringpublic SearchTravRetTask(PerfRunData runData)
public boolean withRetrieve()
ReadTaskwithRetrieve in class SearchTravTaskCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.