Hey Guys - is there a way to check the version of ...
# community-help
d
Hey Guys - is there a way to check the version of the local typesense server ?
k
Yes, hit the /debug endpoint.
d
hi Kishore, can you tell me the curl request or how to do it on postman ?
k
Sure:
Copy code
curl  -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" <http://localhost:8108/debug>
d
Thanks man
While i have you here - one more question Is it possible to have results be sorted alphabetically by a schema field ?
k
Yes, in recent RCs, we support sort by string. See here for usage: https://github.com/typesense/typesense/issues/117#issuecomment-1000857228
d
Perfect - i will give it a go - currently converting string to integer before indexing, From what i see on the caveats - that still may be the way to go - but i’ll check out the pros and cons for this
k
String sorting memory requirement is a point for consideration. As for locale awareness, that's a difficult nut to crack. There's simply no easy way to order different languages because their unicode points don't match with their lexical ordering like it does for English.
👀 1