Show / Hide Table of Contents

    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)).

    Inheritance
    System.Object
    PerfTask
    AddIndexesTask
    Inherited Members
    PerfTask.m_logStep
    PerfTask.m_params
    PerfTask.NEW_LINE
    PerfTask.SetRunInBackground(Int32)
    PerfTask.RunInBackground
    PerfTask.BackgroundDeltaPriority
    PerfTask.Stop
    PerfTask.StopNow()
    PerfTask.Clone()
    PerfTask.Dispose()
    PerfTask.Dispose(Boolean)
    PerfTask.RunAndMaybeStats(Boolean)
    PerfTask.GetName()
    PerfTask.SetName(String)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.ToString()
    PerfTask.GetLogMessage(Int32)
    PerfTask.ShouldNeverLogAtStart
    PerfTask.ShouldNotRecordStats
    PerfTask.Params
    PerfTask.DisableCounting
    PerfTask.AlgLineNum
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class AddIndexesTask : PerfTask

    Constructors

    | Improve this Doc View Source

    AddIndexesTask(PerfRunData)

    Declaration
    public AddIndexesTask(PerfRunData runData)
    Parameters
    Type Name Description
    PerfRunData runData

    Fields

    | Improve this Doc View Source

    ADDINDEXES_INPUT_DIR

    Declaration
    public static readonly string ADDINDEXES_INPUT_DIR
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    SupportsParams

    Declaration
    public override bool SupportsParams { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    PerfTask.SupportsParams

    Methods

    | Improve this Doc View Source

    DoLogic()

    Declaration
    public override int DoLogic()
    Returns
    Type Description
    System.Int32
    Overrides
    PerfTask.DoLogic()
    | Improve this Doc View Source

    SetParams(String)

    Set the params (useAddIndexesDir only)

    Declaration
    public override void SetParams(string params)
    Parameters
    Type Name Description
    System.String params

    useAddIndexesDir=true for using AddIndexes(Directory[]) or false for using AddIndexes(IndexReader[]). Defaults to true.

    Overrides
    PerfTask.SetParams(String)
    | Improve this Doc View Source

    Setup()

    Declaration
    public override void Setup()
    Overrides
    PerfTask.Setup()
    | Improve this Doc View Source

    TearDown()

    Declaration
    public override void TearDown()
    Overrides
    PerfTask.TearDown()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)