Boost relevance by numeric field (the greater the value, more relevant it is)

Hello

I need to include a "should" clause to try to boost the relevance of a query by a numeric field. The greater the field value is, more relevant the document should be.

I'm not sure how to approach this. At first I took a look at the "rank_feature" field type. Would that be a way to solve this? Anyway, not for my case, since I think this feature is not available in < 7.0 clusters...

What about "script_score"?

For now what I am trying to do is to "should range gt 0" and then sorting the documents by "_score" and my numeric field...

Any tips here?

Thank you