Christoph Strobl
2e709a72b7
DATAES-569 - Add index operations to reactive client.
...
Original pull request: #277 .
2019-05-07 16:45:08 +02:00
Mark Paluch
807cfe78bc
DATAES-576 - Fix CustomMethodRepositoryRestTests.
...
Register custom template bean as workaround to delete the index before repository bootstrapping.
2019-05-06 21:59:36 +02:00
Mark Paluch
1f04e6453c
DATAES-576 - Fix ElasticsearchTemplateTests.
...
We now delete documents with a type query instead of a term query. Also, added index cleanup to ReactiveElasticsearchTemplateTests.
2019-05-06 21:21:16 +02:00
Mark Paluch
b6fa4c8a74
DATAES-568 - Polishing.
...
Add package-info and nullability annotations to org.springframework.data.elasticsearch.core.mapping.
Extract method to avoid excessive nesting.
Add ticket references/convert old references to test methods. Move test models to inner classes. Use static imports for JSON Assert. Formatting.
Original pull request: #281 .
2019-05-06 20:00:24 +02:00
P.J. Meisch
66b77ecb75
DATAES-568 - MappingBuilder must use the @Field annotation's name attribute.
...
Original pull request: #281 .
2019-05-06 15:59:01 +02:00
xhaggi
e5c514e385
DATAES-570 - Use Delete By Query API for delete by query operations.
...
Original pull request: #280
2019-04-29 11:37:57 +02:00
Dmitriy Yakovlev
be34ff8703
DATAES-459 - Return ScrolledPage instead of Page while using startScroll and continueScroll methods.
...
Original pull request: #274
2019-04-26 14:47:58 +02:00
xhaggi
9abe0f28c5
DATAES-572 - Indices created in ElasticsearchTemplateTests are retained after tests.
...
Original pull request: #279
2019-04-26 10:22:25 +02:00
Christoph Strobl
b60c9af35c
DATAES-565 - Alter test setup to assure a clean start.
...
Make sure required resources are cleaned before running tests. Some leftovers from other tests may still be lingering around and we need to get rid of those.
2019-04-25 13:25:52 +02:00
Dmitriy Yakovlev
eb15c114b8
DATAES-457 - ElasticsearchTemplate.prepareScroll() does not add sorting.
...
Original pull request: #273
2019-04-24 15:39:19 +02:00
Dmitriy Yakovlev
4ab8af5116
DATAES-566 - Eliminate double SearchHit source to string conversion in DefaultResultMapper.
...
Original pull request: #275
2019-04-24 15:30:27 +02:00
P.J.Meisch
e7857e874f
DATAES-562 - Custom name attribute for @Field mapping in ElasticsearchEntityMapper.
...
Original pull request: #270
2019-04-24 15:19:55 +02:00
Mark Paluch
17d9022181
DATAES-563 - Polishing.
...
Merge test methods. Add author name. Formatting, javadoc.
Original pull request: #271 .
2019-04-23 16:05:39 +02:00
P.J. Meisch
deefeb462e
DATAES-563 - Add elasticsearchTemplate bean alias to AbstractElasticsearchConfiguration.
...
We now register ElasticsearchOperations through AbstractElasticsearchConfiguration with an additional bean alias to retain compatibility with existing code and to not require additional configuration when using @EnableElasticsearchRepositories.
EnableElasticsearchRepositories defaults to a bean named elasticsearchTemplate while AbstractElasticsearchConfiguration exposed the template bean named elasticsearchOperations.
Original pull request: #271 .
2019-04-23 16:02:37 +02:00
Dmitriy Yakovlev
f0ae72141f
DATAES-565 - prepareScroll doesn't respect SourceFilter from the Query.
...
Original pull request: #272
2019-04-18 12:46:31 +02:00
Dimitri
7e0d0ea2c0
DATAES-546 - Escaped double quotes in code snippet.
...
Original pull request: #246
2019-04-17 10:16:37 +02:00
P.J. Meisch
676567910d
DATAES-561 - Reuse ObjectMapper in ElasticsearchEntityMapper
...
Original pull request: #269
2019-04-17 09:40:43 +02:00
Christoph Strobl
dff7d4e11b
DATAES-542 - After release cleanups.
2019-04-11 12:00:21 +02:00
Christoph Strobl
5c9fea307b
DATAES-542 - Prepare next development iteration.
2019-04-11 12:00:20 +02:00
Christoph Strobl
2f2aa263fe
DATAES-542 - Release version 3.2 M3 (Moore).
3.2.0.M3
2019-04-11 11:24:32 +02:00
Christoph Strobl
6d980cb767
DATAES-542 - Prepare 3.2 M3 (Moore).
2019-04-11 11:23:56 +02:00
Christoph Strobl
f5b29aeba7
DATAES-542 - Updated changelog.
2019-04-11 11:23:55 +02:00
Jens Schauder
0ccc54da34
DATAES-558 - Upgrade Elastic Search version to 6.6.2.
2019-04-11 11:07:07 +02:00
Christoph Strobl
3ea7dea5cb
DATAES-552 - Polishing.
...
Update lookup to replace all matches & add some tests.
Original Pull Request: #267
2019-04-10 10:20:12 +02:00
Taylor
b93bd07a3a
DATAES-552 - @Query annotation fail when passing over 10 parameters
...
Updated the replacePlaceholders methods to use replaceFirst to prevent duplication substitutions.
Original Pull Request: #267
2019-04-10 10:19:25 +02:00
Christoph Strobl
16bf8450f0
DATAES-547 - Polishing.
...
Add test and directly use SearchHit to pass on the index name.
Fix minor flaw in Exception translation for non existing indices along the way.
Original Pull Request: #257
2019-04-09 15:40:49 +02:00
Spyna
082988955b
DATAES-547 - ElasticSearchTemplate.delete(DeleteQuery, Class) does not delete documents.
...
Original Pull Request: #257
2019-04-09 15:40:34 +02:00
Oliver Drotbohm
3b99aa04ef
DATAES-538 - Updated changelog.
2019-04-01 20:56:32 +02:00
Oliver Drotbohm
18910f457a
DATAES-528 - Updated changelog.
2019-04-01 19:37:03 +02:00
Oliver Drotbohm
e4825d52a7
DATAES-554 - Updated changelog.
2019-04-01 18:52:21 +02:00
Oliver Drotbohm
27b33e019e
DATAES-527 - Updated changelog.
2019-04-01 18:49:24 +02:00
Spring Operator
9818ed0af9
DATAES-549 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 317 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
Original Pull Request: #266
2019-03-22 08:20:19 +01:00
Spring Operator
cacab0a478
DATAES-549 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://www.elasticsearch.org/ (301) with 1 occurrences migrated to:
https://www.elastic.co/ ([https](https://www.elasticsearch.org/ ) result SSLHandshakeException).
* [ ] http://www.elasticsearch.org/download/ (301) with 1 occurrences migrated to:
https://www.elastic.co/downloads/elasticsearch ([https](https://www.elasticsearch.org/download/ ) result SSLHandshakeException).
* [ ] http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html (301) with 2 occurrences migrated to:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html ([https](https://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html ) result SSLHandshakeException).
* [ ] http://www.elasticsearch.org/guide/reference/mapping/date-format/ (301) with 1 occurrences migrated to:
https://www.elastic.co/guide/reference/mapping/date-format/ ([https](https://www.elasticsearch.org/guide/reference/mapping/date-format/ ) result SSLHandshakeException).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://asciidoctor.org with 1 occurrences migrated to:
https://asciidoctor.org ([https](https://asciidoctor.org ) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data-elasticsearch with 1 occurrences migrated to:
https://stackoverflow.com/questions/tagged/spring-data-elasticsearch ([https](https://stackoverflow.com/questions/tagged/spring-data-elasticsearch ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* [ ] http://www.springframework.org/schema/data/repository/spring-repository.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/data/repository/spring-repository.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository.xsd ) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
https://contributor-covenant.org ([https](https://contributor-covenant.org ) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/ ) result 301).
* [ ] http://docs.spring.io/spring-data/elasticsearch/docs/current/api/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/elasticsearch/docs/current/api/ ([https](https://docs.spring.io/spring-data/elasticsearch/docs/current/api/ ) result 301).
* [ ] http://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/ ([https](https://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/ ) result 301).
* [ ] http://help.github.com/forking/ with 1 occurrences migrated to:
https://help.github.com/forking/ ([https](https://help.github.com/forking/ ) result 301).
* [ ] http://projects.spring.io/spring-data with 1 occurrences migrated to:
https://projects.spring.io/spring-data ([https](https://projects.spring.io/spring-data ) result 301).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.1.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ) result 301).
* [ ] http://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch-1.0.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch-1.0.xsd ([https](https://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch-1.0.xsd ) result 301).
* [ ] http://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch.xsd ([https](https://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch.xsd ) result 301).
* [ ] http://repo.spring.io/libs-snapshot with 1 occurrences migrated to:
https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot ) result 302).
* [ ] http://www.springsource.org/download with 1 occurrences migrated to:
https://www.springsource.org/download ([https](https://www.springsource.org/download ) result 302).
* [ ] http://www.springsource.org/node/feed with 1 occurrences migrated to:
https://www.springsource.org/node/feed ([https](https://www.springsource.org/node/feed ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://127.0.0.1:9200 with 1 occurrences
* http://localhost:9200 with 3 occurrences
* http://www.springframework.org/schema/beans with 14 occurrences
* http://www.springframework.org/schema/data/elasticsearch with 14 occurrences
* http://www.springframework.org/schema/data/repository with 4 occurrences
* http://www.springframework.org/schema/tool with 4 occurrences
* http://www.w3.org/2001/XMLSchema with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 5 occurrences
Original Pull Request: #259
2019-03-21 08:00:05 +01:00
Spring Operator
75b039a477
DATAES-549 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* http://www.springframework.org/schema/beans/spring-beans-3.1.xsd with 19 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* http://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch.xsd with 20 occurrences migrated to:
https://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch.xsd ([https](https://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch.xsd ) result 200).
* http://java.sun.com/xml/ns/javaee/beans_1_0.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/javaee/beans_1_0.xsd ([https](https://java.sun.com/xml/ns/javaee/beans_1_0.xsd ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://java.sun.com/xml/ns/javaee with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.springframework.org/schema/beans with 44 occurrences
* http://www.springframework.org/schema/data/elasticsearch with 40 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 24 occurrences
Original Pull Request: #258
2019-03-20 12:38:23 +01:00
Spring Operator
3b834b6c60
DATAES-549 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were fixed successfully.
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.pivotal.io migrated to:
https://www.pivotal.io ([https](https://www.pivotal.io ) result 301).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
Original pull request: #244
2019-03-19 13:04:32 -05:00
Oliver Drotbohm
13d369de20
DATAES-545 - Move off deprecations in Spring Data Commons.
...
Related ticket: DATACMNS-1496.
2019-03-13 19:20:40 +01:00
Petr Kukrál
11ba4c55ad
DATAES-535 - Add mapping annotation @DynamicTemplates.
...
Original pull request: #238
2019-03-13 14:16:12 +01:00
xhaggi
efb5d9e021
DATAES-536 - Polishing
...
* remove unused field xContentBuilder
* add missing generics
* add XContentType to rawValue
* organize imports
2019-03-13 13:46:13 +01:00
Robert Gründler
092690d1b9
DATAES-536 - Add support for context suggester
...
Original pull request: #241
2019-03-13 10:27:11 +01:00
Christoph Strobl
16f2139742
DATAES-517 - After release cleanups.
2019-03-07 10:07:30 +01:00
Christoph Strobl
437f2e9cde
DATAES-517 - Prepare next development iteration.
2019-03-07 10:07:29 +01:00
Christoph Strobl
0060f3d6f3
DATAES-517 - Release version 3.2 M2 (Moore).
3.2.0.M2
2019-03-07 09:42:22 +01:00
Christoph Strobl
76df6c10fc
DATAES-517 - Prepare 3.2 M2 (Moore).
2019-03-07 09:41:17 +01:00
Christoph Strobl
b2e2160b45
DATAES-517 - Updated changelog.
2019-03-07 09:41:16 +01:00
Mark Paluch
c3e7056d7b
DATAES-530 - Polishing.
...
Fix generics in ElasticsearchEntityMapper. Extract methods. Move enum conversion handling to simple type handling for symmetric implementation. Swap comparison of nullable types to avoid potential null dereference.
Rename ElasticsearchDefaultTypeMapper to DefaultElasticsearchTypeMapper. Move MapTypeAliasAccessor to DefaultElasticsearchTypeMapper.
Introduce SearchResultMapperAdapter to avoid empty method implementations in anonymous classes. Javadoc, reference docs, formatting.
Original Pull Request: #237
2019-03-06 10:03:02 +01:00
Christoph Strobl
a64af54e26
DATAES-530 - Add converter based EntityMapper.
...
ElasticsearchEntityMapper provides an alternative to the Jackson based EntityMapper implementation.
Original Pull Request: #237
2019-03-06 10:02:13 +01:00
Mark Paluch
1dc113d57b
DATAES-537 - Upgrade to Elasticsearch 6.6.1.
...
Adapt tests to use new IndicesOptions defaults.
Original Pull Request: #243
2019-03-06 09:29:37 +01:00
Greg Turnquist
e81e38dbb1
DATAES-526 - Introduce Concourse.
2019-02-28 10:41:05 -06:00
Peter Nowak
e0831fa234
DATAES-525 - Fixed issue in scrolling not applying the search query.
...
The root cause of the deletion problem was the doScroll which did not apply the given query and therefor returned all entries from the index.
The doScroll implementation has been fixed to apply the query and multiple unit tests have been added to ensure that the delete methods delete the desired documents only and leave the rest untouched.
Also added unit tests for the scrolling to test it against real queries (not only matchAll).
Original pull request: #240
2019-02-21 08:27:30 +01:00
Ivan Greene
c77b543fb8
DATAES-523 - Allow specifying version type.
...
Allow specifying the version type for documents.
Original pull request: #236
2019-02-21 08:24:29 +01:00