Fork me on GitHub
  • API

    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
    Implements
    System.IDisposable
    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.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
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class AddIndexesTask : PerfTask, IDisposable

    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

    Dispose(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

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    PerfTask.Dispose(Boolean)
    | 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()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.