Fork me on GitHub
  • API

    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
    object
    Trec1MQReader
    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.Trec
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class Trec1MQReader

    Constructors

    Trec1MQReader(string)

    Constructor for Trec's 1MQ TopicsReader

    Declaration
    public Trec1MQReader(string name)
    Parameters
    Type Name Description
    string name

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

    Methods

    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.

    Exceptions
    Type Condition
    IOException

    if cannot read the queries.

    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.