So I want to sort my Solr response by the following fields:
- published_year (desc)
- series_number (asc)
- status_color
Problem is that status_color
must be sorted by the following values (e.i. not alphabetically):
- "Green"
- "Yellow"
- "Red"
This field may only contain one of these values.
I'm hoping theres a way of doing this in the Solr query instead of massaging the result in code. With a result of hundreds of thounsands of documents it's not really an option.
Any help is appreciated.