| 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 |
withRetrieve()
Return true if, with search and 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, numHits, retrieveDoc, setup, traversalSize, withCollector, withTopDocs, withTotalHitsclone, close, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, 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()
ReadTaskCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.