org.apache.lucene.benchmark.byTask.tasks
public class OpenIndexTask extends PerfTask
merge.factor, max.buffered,
max.field.length, ram.flush.mb [default 0], autocommit
[default true]
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_AUTO_COMMIT |
static int |
DEFAULT_MAX_BUFFERED |
static int |
DEFAULT_MAX_FIELD_LENGTH |
static int |
DEFAULT_MERGE_PFACTOR |
static double |
DEFAULT_RAM_FLUSH_MB |
Constructor and Description |
---|
OpenIndexTask(PerfRunData runData) |
Modifier and Type | Method and Description |
---|---|
int |
doLogic()
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
clone, close, getDepth, getLogMessage, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, setup, shouldNeverLogAtStart, shouldNotRecordStats, supportsParams, tearDown, toString
public static final int DEFAULT_MAX_BUFFERED
public static final int DEFAULT_MAX_FIELD_LENGTH
public static final int DEFAULT_MERGE_PFACTOR
public static final double DEFAULT_RAM_FLUSH_MB
public static final boolean DEFAULT_AUTO_COMMIT
public OpenIndexTask(PerfRunData runData)
public int doLogic() throws java.io.IOException
PerfTask
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.