Elastic search wildcard query to get sorted results
问题 I have a Elastic Search server setup where am storing company names to be used for for company search, the way it works is: From company name, spaces and dots will be removed and stored in ES in a field called trimmedcompanyname, { "companyName" : "RECKON INFOSYSTEM PRIVATE LIMITED", "trimmedCompanyName" : "reckoninfosystemprivatelimited", "id" : "1079" } now when search comes to my server i remove the spaces and dots and then make request to ES server. The ES request in query format is: GET