org.apache.lucene.benchmark.byTask.tasks
Class DeleteDocTask
- Cloneable
public class DeleteDocTask
Delete a document by docid.
Other side effects: none.
clone , doLogic , getDepth , getName , getParams , getRunData , runAndMaybeStats , setDepth , setName , setParams , setup , shouldNeverLogAtStart , shouldNotRecordStats , tearDown , toString |
setParams
public void setParams(String params)
Set the params (docid only)
- setParams in interface PerfTask
params
- docid to delete, or -1 for deleting by delete gap settings.
setup
public void setup()
throws Exception
- setup in interface PerfTask
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.