Releases: jillesvangurp/kt-search
Misc fixes for ktor-client
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
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
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 usingbool
- 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
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
- 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
Minor release
Full Changelog: 2.0.0-RC-3...2.0.0-RC-4
2.0.0-RC-3 Improve aggregation response handling
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
- improve aggregations responses by @jillesvangurp in #49
Full Changelog: 2.0.0-RC-2...2.0.0-RC-3
new maven coordinates
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
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
- implement terms_set query by @jillesvangurp in #44
- implement combined fields by @jillesvangurp in #45
- intervals query support with nice dsl by @jillesvangurp in #48
Full Changelog: 1.99.20...2.0.0-RC-1
1.99.20
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
- document all queries by @jillesvangurp in #41
- implement count api by @jillesvangurp in #42
- implement and document msearch by @jillesvangurp in #43
Full Changelog: 1.99.19...1.99.20