usc-isi-i2 / dig-etl-engine

Download DIG to run on your laptop or server.
http://usc-isi-i2.github.io/dig/
MIT License
101 stars 39 forks source link

Add field attribute called "Ranking Multiplier" #220

Open szeke opened 6 years ago

szeke commented 6 years ago

Each field should have an attribute called Ranking Multiplier and the value can be a float number that defaults to 1.0. Internally, the attribute can be called ranking_multiplier or whatever convention we are using for attributes.

This attribute is only relevant when the type of the field is Number.

The tooltip should say: Affects search ranking by multiplying the elastic search score by value of this field times the value of the ranking multiplier.

jasonslepicka commented 6 years ago

There should be two UI elements for each field. One that enables the ranking multiplier field (like a check box) and then a text box for the value that defaults to 1.0 which is for the user to specify the attribute value. I've called the attribute scoring_coefficient instead of ranking_multiplier.