Constructor and Description |
---|
SearchWithSortTask(PerfRunData runData) |
Modifier and Type | Method and Description |
---|---|
QueryMaker |
getQueryMaker()
Return query maker used for this task.
|
Sort |
getSort() |
void |
setParams(String sortField)
SortFields: field:type,field:type[,noscore][,nomaxscore]
If noscore is present, then we turn off score tracking
in
TopFieldCollector . |
boolean |
supportsParams()
Sub classes that support parameters must override this method to return
true.
|
boolean |
withMaxScore()
Whether maxScores should be computed (only useful with
field sort)
|
boolean |
withRetrieve()
Return true if, with search & results traversing, docs should be retrieved.
|
boolean |
withScore()
Whether scores should be computed (only useful with
field sort)
|
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, numHits, numToHighlight, retrieveDoc, setup, traversalSize, withCollector
clone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toString
public SearchWithSortTask(PerfRunData runData)
public void setParams(String sortField)
TopFieldCollector
.
If nomaxscore is present, then we turn off maxScore tracking
in TopFieldCollector
.
name:string,page:int,subject:stringpublic boolean supportsParams()
PerfTask
supportsParams
in class PerfTask
public QueryMaker getQueryMaker()
ReadTask
getQueryMaker
in class ReadTask
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 boolean withScore()
ReadTask
public boolean withMaxScore()
ReadTask
withMaxScore
in class ReadTask