[TR-173] The Decorate class incorrectly adds meta index properties when used as a PostProcess rather than a PostFilter Created: 28/Jun/11 Updated: 17/Apr/12 Resolved: 17/Apr/12
|Reporter:||Richard McCreadie||Assignee:||Richard McCreadie|
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.
|Comment by Greg Maksa [ 29/Jun/11 ]|
Thanks for the quick response guys, it really gave me a hard time yesterday. Facet Categories here I come > >:o >:O
|Comment by Craig Macdonald [ 17/Apr/12 ]|
Committed r3610 for Terrier 3.6