Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-173

The Decorate class incorrectly adds meta index properties when used as a PostProcess rather than a PostFilter


    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 3.6
    • Component/s: .querying
    • Labels:


      The Decorate class, which is responsible for adding metadata to the Terrier ResultSets for display, incorrectly adds metadata for each key when used as a PostProcess rather than a PostFilter. In particular, it adds all meta entries for a single document when given a key, instead the meta entries for all documents for that key.

      This does not effect the Web-based interface example on the terrier,org website as it used the Decorate class as a PostFilter, which works correctly.

      A version of the Decorate class where this issue is fixed is attached.


          Issue Links


            richardm Richard McCreadie created issue -
            richardm Richard McCreadie made changes -
            Field Original Value New Value
            Status Open [ 1 ] Patch Available [ 10000 ]
            Anonymous made changes -
            Status Patch Available [ 10000 ] Open [ 1 ]
            craigm Craig Macdonald made changes -
            Link This issue is blocked by TREC-252 [ TREC-252 ]
            craigm Craig Macdonald made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Fix Version/s 3.6 [ 10060 ]
            Fix Version/s 4.0 [ 10051 ]
            Resolution Fixed [ 1 ]


              • Assignee:
                richardm Richard McCreadie
                richardm Richard McCreadie
              • Watchers:
                0 Start watching this issue


                • Created: