public class SearchWithCollectorTask extends SearchTask
| Constructor and Description |
|---|
SearchWithCollectorTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
protected Collector |
createCollector() |
QueryMaker |
getQueryMaker()
Return query maker used for this task.
|
void |
setup()
Task setup work that should not be measured for that specific task.
|
boolean |
withCollector() |
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.
|
doLogic, getBenchmarkHighlighter, getFieldsToHighlight, getSort, numHits, numToHighlight, retrieveDoc, traversalSize, withMaxScore, withScoreclone, close, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, setDepth, setDisableCounting, setName, setParams, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, supportsParams, tearDown, toStringprotected String clnName
public SearchWithCollectorTask(PerfRunData runData)
public void setup()
throws Exception
PerfTaskPerfTask.doLogic() to this method. Only the work done in PerfTask.doLogic()
is measured for this task. Notice that higher level (sequence) tasks
containing this task would then measure larger time than the sum of their
contained tasks.public boolean withCollector()
withCollector in class ReadTaskprotected Collector createCollector() throws Exception
createCollector in class ReadTaskExceptionpublic QueryMaker getQueryMaker()
ReadTaskgetQueryMaker in class SearchTaskpublic boolean withRetrieve()
ReadTaskwithRetrieve in class SearchTaskpublic boolean withSearch()
ReadTaskwithSearch in class SearchTaskpublic boolean withTraverse()
ReadTaskwithTraverse in class SearchTaskpublic boolean withWarm()
ReadTaskwithWarm in class SearchTaskCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.