Skip to content

Releases: jillesvangurp/kt-search

Improve BulkSession error handling

09 Aug 15:28
Compare
Choose a tag to compare
  • callback now supports request failures as well
  • more flexible handling of exceptions in the BulkSession. Defaults to throwing and closing the session.

Simpler search responses

30 Jul 12:00
Compare
Choose a tag to compare
  • default keepAlive of 1 minute on searchAfter
  • simplify IndexRepository search response now that we have parseHits
  • add parseHit extension function to SearchResponse.Hit
  • add delete point in time API

Opensearch 2.x support and misc API improvements

30 Jul 09:05
Compare
Choose a tag to compare
  • add opensearch 2 as a supported version, mark search_after as supported by opensearch 2.x
  • new usable extension property on ClusterStatus that is true if yellow or green.
  • add an example kts script and document how to use kt-search with kts scripts
  • add parseHit on SearchResponse
  • add ids extension function to quickly get the ids out of the search response
  • make the SearchDSL block optional so you can search for everything
  • add a variant of indexDocument that serializes an object
  • much improved documentation

Seriailization support in BulkSession, documentation

28 Jul 11:49
Compare
Choose a tag to compare
  • documentation is no longer a work in progress, added lots of it
  • add extension functions to BulkSession that serialize an object
  • support kproperty for key names in JsonDsl

Improve sort dsl & tweak index mappings dsl

27 Jul 14:20
Compare
Choose a tag to compare

A few minor tweaks:

  • sort dsl add functions now have default values for most parameters
  • support missing on sort fields
  • the block parameter for IndexRepository.createMapping now comes last so you can move it outside of the parentheses

Fix dependencies to be marked api

22 Jul 13:58
Compare
Choose a tag to compare
Pre-release
  • Search client dependencies are now pulled in transitively.
  • Add coerceInputValues to default json configuration for kotlinx.serialization to ensure new enum values don't break deserialization

First preview of upcoming 2.0

10 Jul 14:50
67769c1
Compare
Choose a tag to compare
Pre-release

Lots of changes since 1.x

  • Multi platform, kotlinx serialization and kto based
  • Compatible with Opensearch, Elasticsearch 7 & 8
  • No more Java Rest High Level client dependence or code generation for that.
  • Improved DSL support