|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.benchmark.quality.trec.Trec1MQReader
public class 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 | |
|---|---|
Trec1MQReader(String name)
Constructor for Trec's 1MQ TopicsReader |
|
| Method Summary | |
|---|---|
QualityQuery[] |
readQueries(BufferedReader reader)
Read quality queries from trec 1MQ format topics file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Trec1MQReader(String name)
name - name of name-value pair to set for all queries.| Method Detail |
|---|
public QualityQuery[] readQueries(BufferedReader reader)
throws IOException
reader - where queries are read from.
IOException - if cannot read the queries.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||