Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.0
-
Component/s: .applications, .structures
-
Labels:None
Description
TRECQuery is the class responsible for extracting queries from a TREC topics file.
It also has a sub-class called SingleLineTRECQuery for topics files in a different format.
Both files assumes that all the queries from the files can be loaded in memory.
However, for processing queries from a large query log, this seems unlikely.
TRECQuery should be refactored, (and probably moved out of the structures package, where it doesn't belong). It should probably represent some Iterator interface instead.
It also has a sub-class called SingleLineTRECQuery for topics files in a different format.
Both files assumes that all the queries from the files can be loaded in memory.
However, for processing queries from a large query log, this seems unlikely.
TRECQuery should be refactored, (and probably moved out of the structures package, where it doesn't belong). It should probably represent some Iterator interface instead.
question: interface or abstract class?
question: should this be an interface in TRECQuerying, since this is the only place it is used?