Sorting results on type string

hi i want to be able to sort on field type string
my mapping:
"Nick" : {"type": "string", "analyzer": "not_analyzed"}

request:
"sort" : {"Nick": "desc"}

but the results i get isnt properly sorted

This should work properly, gist a curl recreation and we can look at it (Elasticsearch Platform — Find real-time answers at scale | Elastic).
On Thursday, February 17, 2011 at 1:59 PM, nabizan wrote:

hi i want to be able to sort on field type string
my mapping:
"Nick" : {"type": "string", "analyzer": "not_analyzed"}

request:
"sort" : {"Nick": "desc"}

but the results i get isnt properly sorted

View this message in context: http://elasticsearch-users.115913.n3.nabble.com/sorting-results-on-type-string-tp2518275p2518275.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.