| 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, withCollectorclone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toStringpublic 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()
PerfTasksupportsParams in class PerfTaskpublic QueryMaker getQueryMaker()
ReadTaskgetQueryMaker in class ReadTaskpublic boolean withRetrieve()
ReadTaskwithRetrieve in class ReadTaskpublic boolean withSearch()
ReadTaskwithSearch in class ReadTaskpublic boolean withTraverse()
ReadTaskwithTraverse in class ReadTaskpublic boolean withWarm()
ReadTaskpublic boolean withScore()
ReadTaskpublic boolean withMaxScore()
ReadTaskwithMaxScore in class ReadTaskCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.