Skip to content

Commit 1ed0b48

Browse files
committed
updated release notes
1 parent f28bcd5 commit 1ed0b48

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

docs/release-notes/release-highlights.asciidoc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,45 @@ For a list of detailed changes, including bug fixes, please see the https://gith
99
==== Version 8.16
1010
* `ElasticsearchClient` is now `Closeable`. Closing a client object also closes the underlying transport - https://github.com/elastic/elasticsearch-java/pull/851[#851]
1111

12+
[discrete]
13+
==== Version 8.15
14+
15+
* New https://www.elastic.co/guide/en/elasticsearch/reference/current/connector-apis.html[Connector API] available
16+
* Fixed bug in BulkIngester - https://github.com/elastic/elasticsearch-java/pull/830[#830]
17+
* Various bug fixes, among which are https://github.com/elastic/elasticsearch-java/pull/844[#844], https://github.com/elastic/elasticsearch-java/pull/847[#847]
18+
* Changed builders for queries that use generic types, for example:
19+
20+
** Old RangeQuery:
21+
+
22+
[source,java,indent=2]
23+
----
24+
RangeQuery ra = RangeQuery.of(r -> r // no distinction between various types (date, term, number)
25+
.field("day")
26+
.gte(JsonData.of("2024-06-20")) // must use custom json for fields because there's no defined type
27+
.lte(JsonData.of("2024-07-05"))
28+
.boost(1.0F)
29+
.format("yyyy-MM-dd")
30+
.relation(RangeRelation.Contains));
31+
----
32+
+
33+
** New RangeQuery:
34+
+
35+
[source,java]
36+
----
37+
RangeQuery ra = RangeQuery.of(r -> r
38+
.date(d -> d // choose query type before
39+
.field("day")
40+
.gte("20-06-24") // field now only accepts valid type for the specified query
41+
.lte("20-07-24")
42+
.boost(1.0F)
43+
.format("yyyy-MM-dd")
44+
.relation(RangeRelation.Contains)));
45+
----
46+
47+
[discrete]
48+
==== Version 8.14
49+
* No new feature.
50+
1251
[discrete]
1352
==== Version 8.13
1453

0 commit comments

Comments
 (0)