[TR-287] Terrier assumes that all retrieved document should have score > 0 Created: 04/Jun/14  Updated: 16/Jun/14  Resolved: 04/Jun/14

Status: Resolved
Project: Terrier Core
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0

Type: Improvement Priority: Blocker
Reporter: Craig Macdonald Assignee: Craig Macdonald
Resolution: Fixed  
Labels: None

Issue Links:
Related
relates to TR-304 Make appropriate fat and learning to ... Resolved

 Description   
TRECDocidOutputFormat and TRECDocnoOutputFormat assumes that documents should have score > 0 to be retrieved. This isnt true of all settings.

 Comments   
Comment by Craig Macdonald [ 04/Jun/14 ]

Old matching classes used to initialise documents scores to 0. However:

  • OldBaseMatching has been removed from Terrier 4.
  • taat.Full uses AccumulatorResultSet internally
  • daat.Full uses CandidateResultSet internally
  • Both do not retrieve documents with score 0.
Comment by Craig Macdonald [ 04/Jun/14 ]

Went for score != Double.NEGATIVE_INFINITY. All unit tests pass.

Generated at Mon Dec 11 00:17:56 GMT 2017 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.