I'll be presenting kt-search, a Kotlin multi-platform client for Opensearch and Elasticsearch at the upcoming Opensearch Community Meeting tomorrow:
https://forum.opensearch.org/t/opensearch-community-meeting-2022-0802/1032
More on this library here.
https://github.com/jillesvangurp/kt-search
Meanwhile some new features that I've added:
• kts based scripting; very useful for scripting together e.g. snapshots or other cluster operations in Elasticsearch and Opensearch
• Documented how to use the
JsonDsl
to model the various domain specific languages in the Elasticsearch API with Kotlin. The key feature here is that JsonDsl delegates to a map. So you can define type safe properties in sub classes that store things in the map and fall back to manipulating the map for missing features.
• Paged searches (search-after, scrolling)
• Support for Opensearch 2.x