mitre / quaerite

Search relevance evaluation toolkit
Other
73 stars 14 forks source link

Refactor scorers to extend aggregators #48

Closed tballison closed 5 years ago

tballison commented 5 years ago

We currently wrap each scorer in its own aggregator. Let's refactor to have each scorer extend the appropriate aggregator to clean up the clutter.

We should create 3 interfaces as defined in https://github.com/mitre/quaerite/issues/44#issuecomment-495744672

NOTE: This will be a breaking change because it will change the names of the scorers in the .json files... we'll drop the "aggregator" part of the scorer name. This issue will update the examples so that users can update their config files.