520 Commits

Author SHA1 Message Date
Michael Wirth
512e9eacad DATAES-363 - Fixed CrudRepository.existsById(…) implementation.
Properly use Optional.isPresent() over a null check.

Original pull request: #183.
2018-04-18 12:36:10 +02:00
Remco Zigterman
4856974c1a DATAES-402 - fixing paging information 2018-03-15 09:57:19 +00:00
Artur Konczak
51f9485700 DATAES-421 updated to latest version of ES 6.2.2 2018-03-15 09:14:43 +00:00
rivergod
e7b93bee90 DATAES-421 - Update ES to 6.1.0 2018-03-15 09:14:43 +00:00
Mark Paluch
9bfc6f23b9 DATAES-424 - Fix line endings to LF. 2018-01-24 13:06:40 +01:00
Oliver Gierke
51d0f95f65 DATAES-410 - Adapt API changes in Property in test cases. 2017-10-27 11:24:34 +02:00
Vladimir Tsanev
75f34e4d02 DATAES-361 - Move Log4j2 config file to test sources.
The configuration file for Log4j2 had been added to src/main/resources accidentally which caused it to be picked up by user applications, e.g. in a Spring Boot application effectively disabling Boot's auto-configuration. This file has now been moved to the test resources.

Original pull request: #191.
Related tickets: spring-projects/spring-boot#10634
2017-10-13 15:40:44 +02:00
Mark Paluch
a30a13dced DATAES-395 - Downgrade to CDI 1.0. 2017-09-21 14:39:22 +02:00
Mark Paluch
960263837b DATAES-395 - Polishing.
Fix line endings.
2017-09-18 15:36:39 +02:00
Mark Paluch
6dd4d28067 DATAES-395 - Upgrade to OpenWebBeans 2.0.1. 2017-09-18 15:36:20 +02:00
Artur Konczak
8dfee0a437 DATAES-373 - bump elasticsearch version to 5.5.0 2017-07-21 15:34:39 +01:00
Mohsin Husen
a085c064d5 DATAES-274 - prevent NPE in FacetedPageImpl 2017-07-21 10:40:11 +01:00
Mohsin Husen
a343bf7109 DATAES-353 - Polishing 2017-07-21 10:39:03 +01:00
Mark Paluch
b5bab6b85e DATAES-369 - Adapt to API changes in mapping subsystem. 2017-07-04 14:36:13 +02:00
Mohsin Husen
f1eb8a5eca DATAES-285 - bump elasticsearch version to 5.4.0 2017-05-31 19:49:26 +01:00
Artur Konczak
089d7746be DATAES-285 - upgrade to elasticsearch 5.x 2017-05-31 19:49:11 +01:00
Christoph Strobl
416a3f2baf DATAES-352 - Adapt to API changes in repository interfaces.
We now follow a more consistent naming scheme for the methods in repository that are driven by the following guidelines:

* Methods referring to an identifier now all end on …ById(…).
* Methods taking or returning a collection are named …All(…)

Please see DATACMNS-944 for details.
2017-05-05 00:03:25 +02:00
Mark Paluch
312df33c31 DATAES-350 - Adapt to SimpleTypeHolder changes in Spring Data Commons.
Replace constructor usage with singleton instance.

Related Ticket: DATAES-350.
2017-04-24 10:33:45 +02:00
Oliver Gierke
ff18271917 DATAES-328 - Adapt to API cchanges after Mockito 2.7 upgrade. 2017-03-24 09:44:49 +01:00
Mark Paluch
519a2a11a4 DATAES-328 - Adapt to API changes in Spring Data Commons. 2017-03-24 09:44:49 +01:00
Mark Paluch
4c7dd4939a DATAES-328 - Replace explicit generics with diamond operator. 2017-03-24 09:44:49 +01:00
Mark Paluch
0cada7f374 DATAES-328 - Integrate Data Commons Java 8 upgrade branch. 2017-03-24 09:44:49 +01:00
Artur Konczak
db3174dbbe DATAES-289 - added groovy plugin for ES2.4 2016-09-01 12:42:01 +01:00
Oliver Gierke
896fbbebc8 DATAES-289 - Upgraded to Elasticsearch 2.4.
Upgraded to Elasticsearch 2.4 as version before that are not compatiblewith Jackson 2.8 [0].

Removed the now unsupported Groovy plugin registration way and added groovy-lang as test scope dependency but had to disable the only Groovy related test as it seems to be unclear how to activate the Groovy plugin in an embedded Elasticsearch server [1].

[0] https://github.com/elastic/elasticsearch/issues/20089
[1] https://discuss.elastic.co/t/after-upgrade-from-es-2-1-1-to-es-2-2-0-groovy-scripting-is-broken/40977
2016-09-01 13:26:03 +02:00
Artur Konczak
7a95cb64a8 DATAES-260 added missing test 2016-08-22 00:31:40 +01:00
Artur Konczak
53b587101d DATAES-163 - Modified tests to work with new version of spring-data-elasticsearch base on ES2.x 2016-08-20 23:50:16 +01:00
Gad Akuka
063d8ed983 DATAES-163 - Add support for UUID as primary key
Add support for UUID as primary key

Add tests for support of UUID as primary key
2016-08-20 23:50:16 +01:00
Oliver Gierke
7113c7ac66 DATAES-281 - Polishing.
Added unit test for change in DefaultResultMapperTests. Tweaked and simplified integration tests.

Make use of IdentifierAccessor in ElasticsearcTemplate.getPersistentEntityId(…). Added missing generics in DefaultResultMapper.

Removed unused imports, fixed copyright ranges, authors.

Original pull request: #156.
2016-08-20 10:08:21 +02:00
Young Gu
7e736a6271 DATAES-281 - Setting identifier values now uses PersistentPropertyAccessor API.
DefaultResultMapper and ElasticsearchTemplate now use the PersistentPropertyAccessor API to set identifier values on objects instead of using reflection.

Original pull request: #156.
2016-08-20 09:59:08 +02:00
Artur Konczak
392a87ab0a DATAES-180 - added faceted page back powered by aggregation 2016-06-24 11:56:38 +01:00
Artur Konczak
6ffac62b3e DATAES-180 - clean up 2016-06-24 11:56:38 +01:00
Petar Tahchiev
fd06f8efd7 Created AggregatedPage to hold the Aggregations
Create AggregatedPage and populate it in the DefaultResultMapper.
2016-06-24 11:56:37 +01:00
Artur Konczak
f569b0348a DATAES-262 - Upgrade elasticsearch to 2.3.3 2016-06-14 15:51:07 +01:00
Artur Konczak
ef0831fa33 DATAES-105 - support for IP6 2016-04-04 10:31:32 +01:00
Mark Paluch
023214a344 DATAES-234 - Use Set to store qualifiers in CDI extension.
Qualifiers are now stored in their original set instead of using the toString representation.
2016-03-17 14:52:39 +00:00
Markus Ackermann
8bb4ac3653 DATAES-238 - Fix ElasticsearchTemplate.prepareUpdate(): preserve routing
* need to specify Locale.ENGLISH in String.format()
  to make tests succeed on non-english locales

* that's because the String.format involves floating
  point numbers which are formatted differently in
  some locales

* ElasticsearchTemplate.prepareUpdate() properly copies routing
  from given UpdateRequest

* add unit tests to ElasticsearchTemplateParentChildTests
  for update of a child document
2016-03-15 11:16:57 +00:00
Mohsin Husen
a8d915f830 DATAES-241 - Remove commons-collections dependency and use CollectionUtils from Spring Utils 2016-03-08 15:24:51 +00:00
Mohsin Husen
c4b4a8c45d DATAES-188 - Source filtering feature Implementation 2016-03-03 14:53:18 +00:00
Mohsin Husen
6535caff8a DATAES-236 - fix test for build failure 2016-02-26 15:00:36 +00:00
Mohsin Husen
2aa7ed1c23 DATAES-236 - Clear the search contexts associated with specified scroll id 2016-02-26 14:54:51 +00:00
Mohsin Husen
e9576adb1a DATAES-211 - build fix, ignore test 2016-02-24 13:42:07 +00:00
Mohsin Husen
c5c9956bc0 DATAES-211 - clean up
remove waitForOperation from refresh()
enhance GeoPoint and Point feature
code clean up
2016-02-24 12:45:37 +00:00
Mohsin Husen
4930415302 DATAES-211 - Fix tests for CDI (jar hell) 2016-02-24 12:45:36 +00:00
Mohsin Husen
42fc41b2eb DATAES-211 - clean up
remove facet feature as it is removed in elasticsearch 2.x
2016-02-24 12:45:36 +00:00
Mohsin Husen
4e0cbb8966 DATAES-211
changes in AliasRequest
 fix tests due to changes in mapping, geo point, alias etc
2016-02-24 12:45:36 +00:00
Mohsin Husen
95194961dc DATAES-211 - move groovy scripting into test folder 2016-02-24 12:45:36 +00:00
Mohsin Husen
6a2b5fd945 DATAES-211 - entity should have suggest mapping 2016-02-24 12:45:35 +00:00
Mohsin Husen
c7313b52eb DATAES-211 - index analyzer is removed. use analyzer for search and index analyzer or use search analyzer. 2016-02-24 12:45:35 +00:00
Mohsin Husen
a05a597123 DATAES-211 - index analyzer is removed. use analyzer for search and index analyzer or use search analyzer. 2016-02-24 12:45:35 +00:00
Mohsin Husen
61880671a4 DATAES-211 - enhance multi field support as multifield type is removed 2016-02-24 12:45:35 +00:00