public class CreateIndexTask extends PerfTask
merge.factor, max.buffered,
max.field.length, ram.flush.mb [default 0], autocommit
[default true]
.Constructor and Description |
---|
CreateIndexTask(PerfRunData runData) |
Modifier and Type | Method and Description |
---|---|
int |
doLogic()
Perform the task once (ignoring repetions specification)
Return number of work items done by this task.
|
static void |
setIndexWriterConfig(IndexWriter writer,
Config config) |
clone, getDepth, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, setup, shouldNeverLogAtStart, shouldNotRecordStats, supportsParams, tearDown, toString
public CreateIndexTask(PerfRunData runData)
public static void setIndexWriterConfig(IndexWriter writer, Config config) throws java.io.IOException
java.io.IOException
public int doLogic() throws java.io.IOException
PerfTask
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.