org.apache.lucene.benchmark.byTask.tasks

Class SearchTravRetTask

Implemented Interfaces:
Cloneable

public class SearchTravRetTask
extends ReadTask

Search and Travrese and Retrieve docs task.

Field Summary

Fields inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask

NEW_LINE, params

Constructor Summary

SearchTravRetTask(PerfRunData runData)

Method Summary

QueryMaker
getQueryMaker()
Return query maker used for this task.
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

doLogic, getQueryMaker, withRetrieve, withSearch, withTraverse, withWarm

Methods inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask

clone, doLogic, getDepth, getName, getParams, getRunData, runAndMaybeStats, setDepth, setName, setParams, setup, shouldNeverLogAtStart, shouldNotRecordStats, tearDown, toString

Constructor Details

SearchTravRetTask

public SearchTravRetTask(PerfRunData runData)

Method Details

getQueryMaker

public QueryMaker getQueryMaker()
Return query maker used for this task.
Overrides:
getQueryMaker in interface ReadTask

withRetrieve

public boolean withRetrieve()
Return true if, with search & results traversing, docs should be retrieved.
Overrides:
withRetrieve in interface ReadTask

withSearch

public boolean withSearch()
Return true if search should be performed.
Overrides:
withSearch in interface ReadTask

withTraverse

public boolean withTraverse()
Return true if, with search, results should be traversed.
Overrides:
withTraverse in interface ReadTask

withWarm

public boolean withWarm()
Return true if warming should be performed.
Overrides:
withWarm in interface ReadTask

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.