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

    Constructors

    | Improve this Doc View Source

    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.

    System.String name

    Name of this run.

    Methods

    | Improve this Doc View Source

    Flush()

    Declaration
    public virtual void Flush()
    | Improve this Doc View Source

    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.

    System.String docNameField

    stored field used for fetching the result doc name.

    IndexSearcher searcher

    index access for fetching doc name.

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