Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IQueryMaker

    Create queries for the test.

    Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public interface IQueryMaker

    Methods

    MakeQuery()

    Create the next query

    Declaration
    Query MakeQuery()
    Returns
    Type Description
    Query

    MakeQuery(int)

    Create the next query, of the given size.

    Declaration
    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
    string PrintQueries()
    Returns
    Type Description
    string

    ResetInputs()

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

    Declaration
    void ResetInputs()

    SetConfig(Config)

    Set the properties

    Declaration
    void SetConfig(Config config)
    Parameters
    Type Name Description
    Config config
    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.