Class AddIndexesTask
Adds an input index to an existing index, using AddIndexes(Directory[]) or AddIndexes(IndexReader[]). The location of the input index is specified by the parameter ADDINDEXES_INPUT_DIR and is assumed to be a directory on the file system.
Takes optional parameter Lucene.Net.Benchmarks.ByTask.Tasks.AddIndexesTask.useAddIndexesDir which specifies which
AddIndexes variant to use (defaults to true, to use AddIndexes(Directory)).
Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class AddIndexesTask : PerfTask, IDisposable
Constructors
| Improve this Doc View SourceAddIndexesTask(PerfRunData)
Declaration
public AddIndexesTask(PerfRunData runData)
Parameters
| Type | Name | Description |
|---|---|---|
| PerfRunData | runData |
Fields
| Improve this Doc View SourceADDINDEXES_INPUT_DIR
Declaration
public static readonly string ADDINDEXES_INPUT_DIR
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
| Improve this Doc View SourceSupportsParams
Declaration
public override bool SupportsParams { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Methods
| Improve this Doc View SourceDispose(Boolean)
Releases resources used by the AddIndexesTask and if overridden in a derived class, optionally releases unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
|
Overrides
| Improve this Doc View SourceDoLogic()
Declaration
public override int DoLogic()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
| Improve this Doc View SourceSetParams(String)
Set the params (useAddIndexesDir only)
Declaration
public override void SetParams(string params)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | params |
|
Overrides
| Improve this Doc View SourceSetup()
Declaration
public override void Setup()
Overrides
| Improve this Doc View SourceTearDown()
Declaration
public override void TearDown()