Cloneable
SearchWithCollectorTask
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 | Description |
---|---|
SearchTask(PerfRunData runData) |
Modifier and Type | Method | 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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, supportsParams, tearDown, toString
createCollector, doLogic, getBenchmarkHighlighter, getFieldsToHighlight, getSort, numHits, numToHighlight, retrieveDoc, setup, traversalSize, withCollector, withMaxScore, withScore
public SearchTask(PerfRunData runData)
public boolean withRetrieve()
ReadTask
withRetrieve
in class ReadTask
public boolean withSearch()
ReadTask
withSearch
in class ReadTask
public boolean withTraverse()
ReadTask
withTraverse
in class ReadTask
public boolean withWarm()
ReadTask
public QueryMaker getQueryMaker()
ReadTask
getQueryMaker
in class ReadTask
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.