org.apache.lucene.benchmark.byTask.tasks

Class WarmTask

public class WarmTask extends ReadTask

Warm reader task: retrieve all reader documents.

Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.

Other side effects: counts additional 1 (record) for each retrieved (non null) document.

Constructor Summary
WarmTask(PerfRunData runData)
Method Summary
QueryMakergetQueryMaker()
booleanwithRetrieve()
booleanwithSearch()
booleanwithTraverse()
booleanwithWarm()

Constructor Detail

WarmTask

public WarmTask(PerfRunData runData)

Method Detail

getQueryMaker

public QueryMaker getQueryMaker()

withRetrieve

public boolean withRetrieve()

withSearch

public boolean withSearch()

withTraverse

public boolean withTraverse()

withWarm

public boolean withWarm()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.