Cloneablepublic 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.
logStep, NEW_LINE, params, stopNowtraversalSize| Constructor | Description |
|---|---|
SearchTravRetTask(PerfRunData runData) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
withRetrieve() |
Return true if, with search & results traversing, docs should be retrieved.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toStringcreateCollector, doLogic, getBenchmarkHighlighter, getFieldsToHighlight, getSort, numHits, numToHighlight, retrieveDoc, setup, withCollector, withMaxScore, withScoregetQueryMaker, setParams, supportsParams, traversalSize, withSearch, withTraverse, withWarmpublic SearchTravRetTask(PerfRunData runData)
public boolean withRetrieve()
ReadTaskwithRetrieve in class SearchTravTaskCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.