Hi people, I've started work on a new kotlin clien...
# feed
j
Hi people, I've started work on a new kotlin client for Opensearch and Elasticsearch called kt-search. It's a successor to my popular es-kotlin-client which due to the Opensearch fork and deprecation of the Elastic RestHighLevelClient was in need of a rewrite. I had a few days off and got lots of work done on this. There is still plenty to do but at this point the basics are there. And of course, I've been a long time user of Elasticsearch and this client is based on a decade of learnings using and writing clients for Elasticsearch. • Multiplatform (js and jvm only currently, but native should just work) • Works with opensearch and elasticsearch. Pretty much any recent version. • Uses ktor client 2.0 and kotlinx-serialization • Kotlin DSLs for querying, mappings, and more • Easy to extend with whatever you need from the vast Opensearch or Elasticsearch APIs. Pull requests welcome if something you need is still missing. https://github.com/jillesvangurp/kt-search I'd love to get some early feedback on this. It will take me a while to wrap up a 2.0 release (1.0 would be the old client). So, nothing is set in stone yet. I'm looking for a way to not impose run time dependencies. E.g. the http client should be easy to replace and I'm looking to give people some flexibility with what json serialization libraries they use as well.
🎉 11
K 3