Skip to content

Releases: jillesvangurp/kt-search

Misc fixes for ktor-client

17 Mar 12:19
Compare
Choose a tag to compare

A few small fixes & thanks to @yassenb:

  • ktor client now respects the encoding when getting the response bytes
  • extra parameters map is now supported on bulk API as well

Bug fixes & top hits agg

07 Mar 06:31
Compare
Choose a tag to compare

Some nice progress on implementing kt-search at Formation. We squashed a few more issues in the process. Thanks @NikkyAI and @indra-an for reporting issues.

  • add a few non reified variants of pars functions to make using that easier
  • propagate the content type correctly on rest calls
  • improve aggregations documentation
  • #55 fix bulk update document serialization
  • #56 implement the top_hits aggregation
  • #57 fix msearch result parsing. This was mistakenly assuming the results were ndjson. They are not.
  • #58 Json Dsl now uses a Map<String,Any?> so we can deal with null values. They are still omitted in the json.

2.0.0-RC-7

26 Feb 13:08
Compare
Choose a tag to compare

Sorry for the radio silence and I missed the fact that some people created issues and pull requests for a few weeks. Apologies. I've been busy with some other stuff. I'm currently increasing the roll out of this in our own platforms. There will likely be some more RCs as I do that. But I don't anticipate any big changes. But there may be some additions to the API as I work with it.

  • Build file improvements #51. Thanks @BierDav.
  • Implement update API and bulk updates to address #54 and finally add that missing functionality.
  • support raw json for the settings/mappings on creating indices
  • add or, and, not functions as shortcuts to using bool
  • update docker versions for elastic search 7 & 8

Full Changelog: 2.0.0-RC-6...2.0.0-RC-7

2.0.0-RC-6 Fix basic auth issues with ktor-client

06 Jan 10:17
Compare
Choose a tag to compare

Recent changes in ktor client changed the way they handle basic authentication. They now require to indicate whether you want to send the auth headers with a lambda function, which defaults to returning false!

This release fixes that issue.

Full Changelog: 2.0.0-RC-5...2.0.0-RC-6

2.0.0-RC-5

04 Jan 15:08
Compare
Choose a tag to compare
  • keyAsInstant extension property on DateHistogramBucket

Full Changelog: 2.0.0-RC-4...2.0.0-RC-5

2.0.0-RC-4 cardinality agg response support

04 Jan 12:12
Compare
Choose a tag to compare

2.0.0-RC-3 Improve aggregation response handling

04 Jan 10:40
Compare
Choose a tag to compare

Improved the way you deal with aggregation responses to be a bit nicer. We're using this at FORMATION and improving things as we go.

  • You can now use enum values for aggregation names so you don't have to use string literals. You can use the enum values to dig out the corresponding response as well, e.g. val dtr = response.aggregations.dateHistogramResult(MyAggNames.BY_DATE)
  • Rename a few extension functions for getting to the parsed buckets for the various aggregations
  • New wrapper class that gives you access to both the sub aggregations and the parsed bucket and an extension property on BucketAggregationResult<T> to get that.

What's Changed

Full Changelog: 2.0.0-RC-2...2.0.0-RC-3

new maven coordinates

03 Jan 15:52
Compare
Choose a tag to compare

Jitpack has failed me again. Somehow it keeps flipping between working, half working and not working at all with multi platform. It was fine for a few weeks and now all my projects no longer publish correctly.

So the documentation has been updated with the maven repository and the build files have been adjusted. RC-1 never downloaded correctly because of this. RC-2 should work. But do mind the changed groupId

Otherwise no relevant changes.

2.0.0-RC-1 implement several missing queries

02 Jan 12:32
8ad425e
Compare
Choose a tag to compare

We were missing a few terms and text level queries. Now all of those are supported.

There are still a few missing query types listed as joining queries and specialized queries in the ES documentation. These may be added as needed.

Otherwise, the last few weeks, we've expanded the query support over several releases, added aggregation query support as well, and improved the documentation. So, labeling this as a release candidate.

What's Changed

Full Changelog: 1.99.20...2.0.0-RC-1

1.99.20

27 Dec 09:48
6b93dd0
Compare
Choose a tag to compare

X-mas release. I had some downtime and spent it documenting things, dotting a few i-s and implementing some missing stuff.

What's Changed

Full Changelog: 1.99.19...1.99.20