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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Benchmarks.Quality.Trec
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class Trec1MQReader
Constructors
| Improve this Doc View SourceTrec1MQReader(String)
Constructor for Trec's 1MQ TopicsReader
Declaration
public Trec1MQReader(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | Name of name-value pair to set for all queries. |
Methods
| Improve this Doc View SourceReadQueries(TextReader)
Read quality queries from trec 1MQ format topics file.
Declaration
public virtual QualityQuery[] ReadQueries(TextReader reader)
Parameters
Type | Name | Description |
---|---|---|
System. |
reader | where queries are read from. |
Returns
Type | Description |
---|---|
Quality |
the result quality queries. |
Exceptions
Type | Condition |
---|---|
System. |
if cannot read the queries. |