Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Int64ToEnglishQueryMaker

    Creates queries whose content is a spelled-out long number starting from MinValue + 10.

    Inheritance
    object
    Int64ToEnglishQueryMaker
    Implements
    IQueryMaker
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class Int64ToEnglishQueryMaker : IQueryMaker

    Fields

    m_parser

    Creates queries whose content is a spelled-out long number starting from MinValue + 10.

    Declaration
    protected QueryParser m_parser
    Field Value
    Type Description
    QueryParser

    Methods

    MakeQuery()

    Create the next query

    Declaration
    public virtual Query MakeQuery()
    Returns
    Type Description
    Query

    MakeQuery(int)

    Create the next query, of the given size.

    Declaration
    public virtual Query MakeQuery(int size)
    Parameters
    Type Name Description
    int size

    The size of the query - number of terms, etc.

    Returns
    Type Description
    Query
    Exceptions
    Type Condition
    Exception

    If cannot make the query, or if size > 0 was specified but this feature is not supported.

    PrintQueries()

    Print the queries

    Declaration
    public virtual string PrintQueries()
    Returns
    Type Description
    string

    ResetInputs()

    Reset inputs so that the test run would behave, input wise, as if it just started.

    Declaration
    public virtual void ResetInputs()

    SetConfig(Config)

    Set the properties

    Declaration
    public virtual void SetConfig(Config config)
    Parameters
    Type Name Description
    Config config

    Implements

    IQueryMaker
    Back to top Copyright © 2024 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.