Class Trec1MQReader
java.lang.Object
org.apache.lucene.benchmark.quality.trec.Trec1MQReader
Read topics of TREC 1MQ track.
Expects this topic format -
qnum:qtextComment lines starting with '#' are ignored.
All topics will have a single name value pair.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadQueries
(BufferedReader reader) Read quality queries from trec 1MQ format topics file.
-
Constructor Details
-
Trec1MQReader
Constructor for Trec's 1MQ TopicsReader- Parameters:
name
- name of name-value pair to set for all queries.
-
-
Method Details
-
readQueries
Read quality queries from trec 1MQ format topics file.- Parameters:
reader
- where queries are read from.- Returns:
- the result quality queries.
- Throws:
IOException
- if cannot read the queries.
-