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.
Inherited Members
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. |