java - Elastic search sort field containing special characters numbers and alpahbets -
i created case insensitive analyzer put /dhruv3 { "settings": { "index": { "analysis": { "analyzer": { "analyzer_keyword": { "tokenizer": "keyword", "filter": [ "lowercase", "asciifolding" ] } } } } }, "mappings": { "test": { "properties": { "about": { "type": "string", "analyzer": "analyzer_keyword" }, "firsname": { "type": "string" } } } } } and used in mapping. field supposed contain aplha numerc , special characters.then inserted values about field as 1234, `pal, pal, ~pal . besides searching need result sorted. searching working when try sort them as get dhruv/test/_search { "sort...