1
0
mirror of synced 2026-09-11 02:19:47 +00:00
Commit Graph

1192 Commits

Author SHA1 Message Date
Peter-Josef Meisch 2fa15f772a Escape backslash in StringQuery.
Original Pull Request
Closes #2326

(cherry picked from commit 03ecc48b09)
2022-10-11 22:38:22 +02:00
Peter-Josef Meisch 02b6d54cc9 Prefer config supplied content-type and accept header.
Original Pull Request #2328
Closes #2327
2022-10-08 15:10:26 +02:00
Peter-Josef Meisch 8bb3474c05 Revert "Support partially update document by entity."
This reverts commit 7e904cdbe7.
2022-09-24 22:00:49 +02:00
puppylpg 7e904cdbe7 Support partially update document by entity.
Original Pull Request #2305
Closes #2304
2022-09-24 21:57:41 +02:00
Spring Builds 2efa79d469 Prepare 4.4.3 (2021.2.3).
See #2221
2022-09-19 11:36:24 +00:00
Peter-Josef Meisch 20fde914df Upgrade to Elasticsearch 7.17.6.
Original Pull Request #2289
Closes #2285
2022-09-04 12:42:14 +02:00
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 86634ceb38)
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 8377f64a8a)
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 acf02a1dc9)

# 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 373be49f97)
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 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 259c43af19)
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 f901380766)
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 f917fb7a65)
2022-06-25 17:43:39 +02:00
Mark Paluch db21ab06f9 Prepare 4.4.1 (2021.2.1).
See #2166
2022-06-20 11:29:07 +02:00
panzhenchao 7efd4b3be7 Fix incorrect argument check asserts.
Original Pull Request #2169
Closes #2170

(cherry picked from commit c826adb152)
2022-05-27 20:29:40 +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 0950dd6c7a)
2022-04-24 11:58:05 +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 a60f3059e1)
2022-04-02 21:15:17 +02:00
Peter-Josef Meisch 5549216db0 Default Refresh policy for ReactiveElasticsearchTemplate.
Original Pull Request #2124
Closes #2110

(cherry picked from commit acd7990fac)
2022-03-24 21:11:25 +01: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 6f6cedf6df)
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
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 d8ebf2336b Polishing.
Fix Javadoc errors.

See #2095
2022-02-22 09:57:08 +01:00
Peter-Josef Meisch c1a1ea9724 Remove blocking code in SearchDocument processing.
Original Pull Request #2094
Closes #2025
2022-02-20 12:26:19 +01:00
Peter-Josef Meisch 453460fab3 Update compatibility headers documentation 2022-02-19 13:45:21 +01:00
Peter-Josef Meisch cf380e289d Documentation about compatibility headers.
Original Pull Request #2093
Closes #2088
2022-02-18 20:09:32 +01:00
Mark Paluch 0fa8de1bec Prepare 4.4 M3 (2021.2.0).
See #2063
2022-02-18 11:08:48 +01:00
Peter-Josef Meisch d34b00e436 Polishing. 2022-02-17 07:50:57 +01:00
Houtaroy 9fa1d1ddbc Class Completion add a parameterless constructor.
Original Pull Request #2086
Closes #2085
2022-02-17 07:48:40 +01:00
Oliver Drotbohm db59ac2a03 Adapt to changes in entity creation metadata APIs in Spring Data Commons. 2022-02-15 15:38:09 +01:00
Peter-Josef Meisch 32fa7391c4 Fix exception on property conversion with criteria exists/empty/non-empty.
Original Pull Request #2081
Closes #2080
2022-02-09 22:45:38 +01:00
Peter-Josef Meisch e54c03d06a Allow index names per query in bulk requests.
Original Pull Request #2079
Closes #2043
2022-02-06 11:35:32 +01:00
Peter-Josef Meisch f092d0ac19 Upgrade to Elasticsearch 7.17.0.
Original Pull Request #2078
Closes #2077
2022-02-01 22:04:15 +01:00
pnowak85 f37eec641b Fix IllegalArgumentException when creating custom IndicesOption with empty Option or WildcardState set.
Original Pull Request #2076
Closes #2075
2022-02-01 18:32:38 +01:00
Peter-Josef Meisch 4a0e7cc56e Polishing 2022-01-26 21:48:05 +01:00
Onizuka c5db583048 Implement support for reindex API.
Original Pull Request #2070 
Closes #1529
2022-01-26 20:54:00 +01:00
Peter-Josef Meisch cf3e46bf68 Improve integration test setup.
Original Pull Request #2072
Closes #2068
2022-01-23 20:24:18 +01:00