public class SearchTask 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.
| Constructor and Description |
|---|
SearchTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
QueryMaker |
getQueryMaker()
Return query maker used for this task.
|
boolean |
withRetrieve()
Return true if, with search & results traversing, docs should be retrieved.
|
boolean |
withSearch()
Return true if search should be performed.
|
boolean |
withTraverse()
Return true if, with search, results should be traversed.
|
boolean |
withWarm()
Return true if warming should be performed.
|
createCollector, doLogic, getBenchmarkHighlighter, getFieldsToHighlight, getSort, numHits, numToHighlight, retrieveDoc, setup, traversalSize, withCollector, withMaxScore, withScoreclone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, supportsParams, tearDown, toStringpublic SearchTask(PerfRunData runData)
public boolean withRetrieve()
ReadTaskwithRetrieve in class ReadTaskpublic boolean withSearch()
ReadTaskwithSearch in class ReadTaskpublic boolean withTraverse()
ReadTaskwithTraverse in class ReadTaskpublic boolean withWarm()
ReadTaskpublic QueryMaker getQueryMaker()
ReadTaskgetQueryMaker in class ReadTask