|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.benchmark.byTask.tasks.PerfTask
org.apache.lucene.benchmark.byTask.tasks.ReadTask
org.apache.lucene.benchmark.byTask.tasks.SearchWithSortTask
public class SearchWithSortTask
Does sort search on specified field.
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask |
|---|
NEW_LINE, params |
| Constructor Summary | |
|---|---|
SearchWithSortTask(PerfRunData runData)
|
|
| Method Summary | |
|---|---|
QueryMaker |
getQueryMaker()
Return query maker used for this task. |
Sort |
getSort()
|
void |
setParams(String sortField)
SortFields: field:type,field:type name,byline:int,subject:auto |
boolean |
supportsParams()
Sub classes that supports parameters must overide this method to return true. |
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. |
| Methods inherited from class org.apache.lucene.benchmark.byTask.tasks.ReadTask |
|---|
doHighlight, doLogic, getFieldsToHighlight, getHighlighter, isMergeContiguousFragments, maxNumFragments, numToHighlight, retrieveDoc, traversalSize |
| Methods inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask |
|---|
clone, getDepth, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setup, shouldNeverLogAtStart, shouldNotRecordStats, tearDown, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SearchWithSortTask(PerfRunData runData)
| Method Detail |
|---|
public void setParams(String sortField)
setParams in class PerfTaskpublic boolean supportsParams()
PerfTask
supportsParams in class PerfTaskpublic QueryMaker getQueryMaker()
ReadTask
getQueryMaker in class ReadTaskpublic boolean withRetrieve()
ReadTask
withRetrieve in class ReadTaskpublic boolean withSearch()
ReadTask
withSearch in class ReadTaskpublic boolean withTraverse()
ReadTask
withTraverse in class ReadTaskpublic boolean withWarm()
ReadTask
withWarm in class ReadTaskpublic Sort getSort()
getSort in class ReadTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||