[TR-154] Default result set size for TRECResultMatching Created: 10/Feb/11  Updated: 05/Apr/11  Resolved: 04/Mar/11

Status: Resolved
Project: Terrier Core
Component/s: .matching
Affects Version/s: None
Fix Version/s: 3.5

Type: Bug Priority: Major
Reporter: Rodrygo L. T. Santos Assignee: Rodrygo L. T. Santos
Resolution: Fixed  
Labels: None

TRECResultMatching bypasses normal matching by "retrieving" directly from a TREC run (as opposed to the entire collection). However, unless an expected result set size is explicitly provided (through trecresults.matching.number.docs), it creates a ResultSet object to hold every document in the collection, which penalises efficiency.

trecresults.matching.number.docs should have a default value, probably 1000 (the typical TREC run size). If more than this default number of objects is loaded, an exception should be raised.

Comment by Craig Macdonald [ 18/Feb/11 ]

Tagging for 3.1, as TRECResultMatching are moving into CORE for 3.1

Comment by Rodrygo L. T. Santos [ 04/Mar/11 ]

The version committed for TREC-214 resolves this issue. In particular, the default size is set to 1000. However, no warning is raised if there are more than this amount of results available.

Generated at Fri Dec 14 10:27:10 GMT 2018 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.