Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AbstractQueryMaker

    Abstract base query maker. Each query maker should just implement the PrepareQueries() method.

    Inheritance
    object
    AbstractQueryMaker
    EnwikiQueryMaker
    FileBasedQueryMaker
    ReutersQueryMaker
    SimpleQueryMaker
    SpatialFileQueryMaker
    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 abstract class AbstractQueryMaker : IQueryMaker

    Fields

    m_config

    Abstract base query maker. Each query maker should just implement the PrepareQueries() method.

    Declaration
    protected Config m_config
    Field Value
    Type Description
    Config

    m_qnum

    Abstract base query maker. Each query maker should just implement the PrepareQueries() method.

    Declaration
    protected int m_qnum
    Field Value
    Type Description
    int

    m_queries

    Abstract base query maker. Each query maker should just implement the PrepareQueries() method.

    Declaration
    protected Query[] m_queries
    Field Value
    Type Description
    Query[]

    Methods

    MakeQuery()

    Create the next query

    Declaration
    public virtual Query MakeQuery()
    Returns
    Type Description
    Query

    MakeQuery(int)

    Abstract base query maker. Each query maker should just implement the PrepareQueries() method.

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

    NextQnum()

    Abstract base query maker. Each query maker should just implement the PrepareQueries() method.

    Declaration
    protected virtual int NextQnum()
    Returns
    Type Description
    int

    PrepareQueries()

    Abstract base query maker. Each query maker should just implement the PrepareQueries() method.

    Declaration
    protected abstract Query[] PrepareQueries()
    Returns
    Type Description
    Query[]

    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.