Use a enum field. Those are designed to map arbitrary values to a sort order.
The standard example is to apply an order to something that isn’t alpha like:
Error, Warning, Info.
https://lucene.apache.org/solr/guide/6_6/working-with-enum-fields.html
Enums convert an ordered set into a numeric sort
On 9/1/2018 12:36 AM, Salvo Bonanno wrote:
I need to sort a results set in a particolar way... the documents
looks like this:
There are two problems with what you want and your setup.
I need to sort them by profile_txt value (it's a multiValue field but
actually it contains just a single valu
Hello
I need to sort a results set in a particolar way... the documents
looks like this:
{
"customer_id":28998,
"name_txt":["Equal Corp"],
"address_txt":["Austin Ring Center"],
"municipality_txt":["Austin"],
"province_txt":["Austin"],
"region_txt":["TX"],
"profile_txt"