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?