• API

    Show / Hide Table of Contents

    Class OpenIndexTask

    Open an index writer.

    Inheritance
    System.Object
    PerfTask
    OpenIndexTask
    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.Dispose(Boolean)
    PerfTask.RunAndMaybeStats(Boolean)
    PerfTask.GetName()
    PerfTask.SetName(String)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.ToString()
    PerfTask.GetLogMessage(Int32)
    PerfTask.ShouldNeverLogAtStart
    PerfTask.ShouldNotRecordStats
    PerfTask.Setup()
    PerfTask.TearDown()
    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 OpenIndexTask : PerfTask, IDisposable
    Remarks

    Other side effects: index writer object in perfRunData is set.

    Relevant properties:

    • merge.factor
    • max.buffered
    • max.field.length
    • ram.flush.mb[default 0]

    Accepts a param specifying the commit point as previously saved with CommitIndexTask. If you specify this, it rolls the index back to that commit on opening the Lucene.Net.Index.IndexWriter.

    Constructors

    | Improve this Doc View Source

    OpenIndexTask(PerfRunData)

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

    Fields

    | Improve this Doc View Source

    DEFAULT_MAX_BUFFERED

    Declaration
    public static readonly int DEFAULT_MAX_BUFFERED
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DEFAULT_MERGE_PFACTOR

    Declaration
    public static readonly int DEFAULT_MERGE_PFACTOR
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DEFAULT_RAM_FLUSH_MB

    Declaration
    public static readonly double DEFAULT_RAM_FLUSH_MB
    Field Value
    Type Description
    System.Double

    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)

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

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)