1680 Commits

Author SHA1 Message Date
Peter-Josef Meisch
988736dd41
Fix NPE in RequestFactory when language in UpdateQuery is not set (4.4.x).
Original Pull Request #2288
Closes #2287
2022-09-03 07:50:01 +02:00
Peter-Josef Meisch
346c5cce58
Fix mapping of property values into a collection.
When reading from Elasticsearch into a property of type Collection<T> (List<T> or Set<T>) the MappingElasticsearchConverter now can read both from the returned JSON:

    an array of T objects - will put the objects in a corresponding collection
    a single T object will put the single object into a corrsponding colletcion

This is implemented and tested for both: entities where the properties have setters and immutable classes that only provide an all-args constructor.

Original Pull Request #2282
Closes #2280

(cherry picked from commit 86634ceb38dbc9d1a3985171a4bf12a6d5912612)
2022-08-29 21:06:38 +02:00
Peter-Josef Meisch
a3ebd8be78
Fix update call in reactive client (Elasticsearch 7 client)
Original Pull Request #2281
Closes #2276

(cherry picked from commit 8377f64a8a919b31c37f337fc92c3ea8ee9154d8)
2022-08-26 08:12:22 +02:00
Peter-Josef Meisch
3c6d96e49f Don't try to write non-writeable properties.
Original Pull Request #2249
Closes #2230

(cherry picked from commit acf02a1dc9e427b1d72bd949553e70f51539bd4d)

# Conflicts:
#	src/main/java/org/springframework/data/elasticsearch/core/convert/MappingElasticsearchConverter.java
2022-08-04 12:11:22 +02:00
Peter-Josef Meisch
be70a398be
Fix exists query for imperative repository implementation.
Original Pull Request #2236
Closes #2162

(cherry picked from commit 373be49f97fe333714d29ce5e78ace38d7b0354f)
2022-07-22 22:01:26 +02:00
Peter-Josef Meisch
e3e666fd2e
Upgrade to Elasticsearch 7.17.5.
Original Pull Request #2224
Closes #2215
2022-07-16 21:30:41 +02:00
Christoph Strobl
cb3d1e11d3
After release cleanups.
See #2186
2022-07-15 11:24:08 +02:00
Christoph Strobl
9e17bf3df8
Prepare next development iteration.
See #2186
2022-07-15 11:24:05 +02:00
Christoph Strobl
f70a7d6414
Release version 4.4.2 (2021.2.2).
See #2186
4.4.2
2022-07-15 11:08:28 +02:00
Christoph Strobl
13a4aa31f6
Prepare 4.4.2 (2021.2.2).
See #2186
2022-07-15 11:07:51 +02:00
diamondT
aa4aecacdf Fix handling of array-of-strings parameters for @Query-annotated queries.
Original Pull Request  #2182
Closes #2135

(cherry picked from commit 259c43af19db269476d31bfe5df5554807b7b2f9)
2022-07-12 20:22:57 +02:00
Peter-Josef Meisch
85ed8a4891
Upgrade to Elasticsearch 7.17.4.
Original Pull Request #2201
Closes #2199
2022-06-25 21:15:59 +02:00
Peter-Josef Meisch
ae66cbd619
Fix updatebyquery request.
Original Pull Request #2197
Closes #2191

(cherry picked from commit f90138076659e5452fd38444c85cfee0745b074c)
2022-06-25 19:58:40 +02:00
Peter-Josef Meisch
98d1f5bf63
Update version documentation.
Original Pull Request #2195
Closes #2194

(cherry picked from commit f917fb7a65ba18c3aa229e99beb37a846c89978f)
2022-06-25 17:43:39 +02:00
Mark Paluch
d9f71027b6
After release cleanups.
See #2166
2022-06-20 11:40:07 +02:00
Mark Paluch
2729fa95a3
Prepare next development iteration.
See #2166
2022-06-20 11:40:05 +02:00
Mark Paluch
1126c65766
Release version 4.4.1 (2021.2.1).
See #2166
4.4.1
2022-06-20 11:29:30 +02:00
Mark Paluch
db21ab06f9
Prepare 4.4.1 (2021.2.1).
See #2166
2022-06-20 11:29:07 +02:00
Mark Paluch
1af298d95a
Upgrade to Maven Wrapper 3.8.5.
See #2178
2022-06-03 09:39:36 +02:00
Mark Paluch
980c6b350d
Update CI properties.
See #2166
2022-06-03 09:34:36 +02:00
panzhenchao
7efd4b3be7
Fix incorrect argument check asserts.
Original Pull Request #2169
Closes #2170

(cherry picked from commit c826adb152fb1b00b49f9a8b69db8f969b9ba486)
2022-05-27 20:29:40 +02:00
Christoph Strobl
d2cc58ccad
After release cleanups.
See #2140
2022-05-13 10:15:13 +02:00
Christoph Strobl
109dc05d9b
Prepare next development iteration.
See #2140
2022-05-13 10:15:11 +02:00
Christoph Strobl
edde0214a0
Release version 4.4 GA (2021.2.0).
See #2140
4.4.0
2022-05-13 10:05:08 +02:00
Christoph Strobl
c8699d93d0
Prepare 4.4 GA (2021.2.0).
See #2140
2022-05-13 10:04:21 +02:00
Peter-Josef Meisch
c0b26a51f1
Add new Elasticsearch client as an alternative to the existing REST client.
Original Pull Request #2160
Closes #1973
2022-05-12 07:32:39 +02:00
Peter-Josef Meisch
3dbb1e73d6
Update to Elasticsearch 7.17.3.
Original Pull Request #2145
Closes #2144

(cherry picked from commit 0950dd6c7a1fc2f3f94516e8720e83e1fb577deb)
2022-04-24 11:58:05 +02:00
Christoph Strobl
e5efd31973
After release cleanups.
See #2120
2022-04-19 11:21:18 +02:00
Christoph Strobl
0637927ed4
Prepare next development iteration.
See #2120
2022-04-19 11:21:15 +02:00
Christoph Strobl
16dacbb63c
Release version 4.4 RC1 (2021.2.0).
See #2120
4.4.0-RC1
2022-04-19 11:10:55 +02:00
Christoph Strobl
12acddb86d
Prepare 4.4 RC1 (2021.2.0).
See #2120
2022-04-19 11:10:15 +02:00
Peter-Josef Meisch
8cef50347e
Add more implementations using the new client.
Original Pull Request #2136
See #1973
2022-04-13 22:12:02 +02:00
Peter-Josef Meisch
ea4d3f9f30
Upgrade to Elasticsearch 7.17.2.
Original Pull Request #2131
Closes #2130

(cherry picked from commit a60f3059e168ac48b6dc9f97d3d3b14ad1837903)
2022-04-02 21:15:17 +02:00
Peter-Josef Meisch
b9e2b13f21
Add info to readme about Elasticsearch versions.
Original Pull Request #2128
Closes #2127

(cherry picked from commit 3154c74f941a8a433299ad43619c8bb0cccaf2fe)
2022-04-02 18:22:54 +02:00
Peter-Josef Meisch
5549216db0
Default Refresh policy for ReactiveElasticsearchTemplate.
Original Pull Request #2124
Closes #2110

(cherry picked from commit acd7990fac8a07a3816c389849981fd176fd63ab)
2022-03-24 21:11:25 +01:00
Mark Paluch
a2cee9defd
Update Jenkinsfile according to Java 8 build pipeline configuration.
See #2120
2022-03-24 09:30:20 +01:00
Greg L. Turnquist
ea0ac3f7bc
After release cleanups.
See #2092
2022-03-21 10:20:33 -05:00
Greg L. Turnquist
49cb56ed0c
Prepare next development iteration.
See #2092
2022-03-21 10:20:31 -05:00
Greg L. Turnquist
e8f9f9f1e3
Release version 4.4 M4 (2021.2.0).
See #2092
4.4.0-M4
2022-03-21 10:09:34 -05:00
Greg L. Turnquist
f91c9c443b
Prepare 4.4 M4 (2021.2.0).
See #2092
2022-03-21 10:07:09 -05:00
Peter-Josef Meisch
709b4c615e
Set visibility SimpleElasticsearchPersistentEntity.ContextConfiguration to public.
Original Pull Request #2116
Closes #2114
2022-03-20 11:00:06 +01:00
Peter-Josef Meisch
149535e0d3
Fix javadoc formatting
(cherry picked from commit 6f6cedf6dff2c7f7ef886d65a857b345013db628)
2022-03-19 21:04:06 +01:00
Peter-Josef Meisch
b5eee05e3b
Fix http headers 2022-03-19 19:29:08 +01:00
Peter-Josef Meisch
4eb8f08ad8
Add new Elasticsearch client integration.
Original Pull Request #2115
2022-03-19 18:51:01 +01:00
Mark Paluch
4e39fb30bc
Use Java 8 to build snapshots for Artifactory.
Closes #2095
2022-03-15 14:19:47 +01:00
Peter-Josef Meisch
5875bf3b9b
Polishing. 2022-03-12 11:33:57 +01:00
Owen-q
33c4bb23b7
Add searchAfter interfaces to NativeSearchQueryBuilder.
Original Pull Request #2106 
Closes #2105
2022-03-12 11:27:35 +01:00
Peter-Josef Meisch
9c740f14bd
Upgrade to Elasticsearch 7.17.1. (#2109)
Closes #2108
2022-03-06 12:50:01 +01:00
Peter-Josef Meisch
bf080002bc
MappingBuilder must set configured date formats for date_range fields.
Original Pull Request #2103
Closes #2102
2022-02-22 21:05:51 +01:00
Mark Paluch
5eaea38ff1
Update CI properties.
See #2092
2022-02-22 14:09:32 +01:00