Show / Hide Table of Contents

    Class NewAnalyzerTask

    Create a new Analyzer and set it it in the getRunData() for use by all future tasks.

    Inheritance
    System.Object
    PerfTask
    NewAnalyzerTask
    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
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class NewAnalyzerTask : PerfTask

    Constructors

    | Improve this Doc View Source

    NewAnalyzerTask(PerfRunData)

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

    Properties

    | Improve this Doc View Source

    SupportsParams

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

    Methods

    | Improve this Doc View Source

    CreateAnalyzer(String)

    Declaration
    public static Analyzer CreateAnalyzer(string className)
    Parameters
    Type Name Description
    System.String className
    Returns
    Type Description
    Analyzer
    | 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 (analyzerName only), Comma-separate list of Analyzer class names. If the Analyzer lives in Lucene.Net.Analysis, the name can be shortened by dropping the Lucene.Net.Analysis part of the Fully Qualified Class Name.

    Analyzer names may also refer to previously defined AnalyzerFactory's.

    Example Declaration:

    {"NewAnalyzer" NewAnalyzer(WhitespaceAnalyzer, SimpleAnalyzer, StopAnalyzer, Standard.StandardAnalyzer) >

    Example AnalyzerFactory usage:

    -AnalyzerFactory(name:'whitespace tokenized',WhitespaceTokenizer)
    -NewAnalyzer('whitespace tokenized')
    Declaration
    public override void SetParams(string params)
    Parameters
    Type Name Description
    System.String params

    analyzerClassName, or empty for the StandardAnalyzer

    Overrides
    PerfTask.SetParams(String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)