Releases: jillesvangurp/kt-search
Releases · jillesvangurp/kt-search
Improve BulkSession error handling
- 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
- default
keepAlive
of 1 minute onsearchAfter
- simplify
IndexRepository
search response now that we haveparseHits
- add
parseHit
extension function toSearchResponse.Hit
- add delete point in time API
Opensearch 2.x support and misc API improvements
- 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
- 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
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
- 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
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