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, withTotalHits
clone, close, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, 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
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.