Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SubmissionReport

    Create a log ready for submission. Extend this class and override Report(QualityQuery, TopDocs, string, IndexSearcher) to create different reports.

    Inheritance
    object
    SubmissionReport
    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.Quality.Utils
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class SubmissionReport

    Constructors

    SubmissionReport(TextWriter, string)

    Constructor for SubmissionReport.

    Declaration
    public SubmissionReport(TextWriter logger, string name)
    Parameters
    Type Name Description
    TextWriter logger

    If null, no submission data is created.

    string name

    Name of this run.

    Methods

    Flush()

    Create a log ready for submission. Extend this class and override Report(QualityQuery, TopDocs, string, IndexSearcher) to create different reports.

    Declaration
    public virtual void Flush()

    Report(QualityQuery, TopDocs, string, IndexSearcher)

    Report a search result for a certain quality query.

    Declaration
    public virtual void Report(QualityQuery qq, TopDocs td, string docNameField, IndexSearcher searcher)
    Parameters
    Type Name Description
    QualityQuery qq

    quality query for which the results are reported.

    TopDocs td

    search results for the query.

    string docNameField

    stored field used for fetching the result doc name.

    IndexSearcher searcher

    index access for fetching doc name.

    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.