Show / Hide Table of Contents

    Class Trec1MQReader

    Read topics of TREC 1MQ track.

    Expects this topic format -

        qnum:qtext

    Comment lines starting with '#' are ignored.

    All topics will have a single name value pair.

    Inheritance
    System.Object
    Trec1MQReader
    Namespace: Lucene.Net.Benchmarks.Quality.Trec
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class Trec1MQReader : object

    Constructors

    | Improve this Doc View Source

    Trec1MQReader(String)

    Constructor for Trec's 1MQ TopicsReader

    Declaration
    public Trec1MQReader(string name)
    Parameters
    Type Name Description
    System.String name

    Name of name-value pair to set for all queries.

    Methods

    | Improve this Doc View Source

    ReadQueries(TextReader)

    Read quality queries from trec 1MQ format topics file.

    Declaration
    public virtual QualityQuery[] ReadQueries(TextReader reader)
    Parameters
    Type Name Description
    TextReader reader

    where queries are read from.

    Returns
    Type Description
    QualityQuery[]

    the result quality queries.

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