Class TrecTopicsReader
Read TREC topics.
Inheritance
System.Object
    TrecTopicsReader
  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 TrecTopicsReader
  Remarks
Expects this topic format -
  <top>
  <num> Number: nnn
  <title> title of the topic
  <desc> Description:
  description of the topic
  <narr> Narrative:
  "story" composed by assessors.
  </top>
Comment lines starting with '#' are ignored.
Constructors
| Improve this Doc View SourceTrecTopicsReader()
Constructor for Trec's TopicsReader
Declaration
public TrecTopicsReader()
  Methods
| Improve this Doc View SourceReadQueries(TextReader)
Read quality queries from trec format topics file.
Declaration
public virtual QualityQuery[] ReadQueries(TextReader reader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.TextReader | reader | where queries are read from.  | 
      
Returns
| Type | Description | 
|---|---|
| QualityQuery[] | the result quality queries.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| System.IO.IOException | if cannot read the queries.  |