Override field value for sorting

Konishiwa amigos,

I have the following requirement : I have a field, that contains a priority term (string) : highest, high, medium, low, lowest. I want to be able to sort on this field, but not by alphabetical order. I want to say to ES that highest has an higher sorting score than high, etc.

Is it possible? Can I somehow apply a score to sort terms? Maybe in the mapping?

1 Like

No? Not the slighest idea?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.