400 Commits

Author SHA1 Message Date
Mark Paluch
5f3bacf950 DATAES-328 - Reduce null usage, use PageRequest.of factory method. 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
Oliver Gierke
4cb22f1520 DATAES-327 - Updated changelog. 2017-03-02 11:11:06 +01:00
Mark Paluch
642eabeb9b DATAES-329 - Remove references to Assert single-arg methods.
Replace references to Assert single-arg methods with references to methods accepting the test object and message.

Related ticket: SPR-15196.
2017-02-02 08:41:56 +01:00
Mark Paluch
cda69367b7 DATAES-325 - Replace references to GenericCollectionTypeResolver with ResolvableType.
Using ResolvableType instead of GenericCollectionTypeResolver that is removed with Spring 5.

Related ticket: SPR-15160.
2017-01-26 14:01:51 +01:00
Oliver Gierke
6bcf3e0b52 DATAES-319 - Updated changelog. 2017-01-26 12:12:40 +01:00
Oliver Gierke
6bb59fd084 DATAES-320 - Updated changelog. 2017-01-26 12:12:09 +01:00
Oliver Gierke
6353881de8 DATAES-304 - Updated changelog. 2016-12-21 19:35:42 +01:00
Oliver Gierke
7470652ef9 DATAES-275 - Updated changelog. 2016-12-21 18:43:06 +01:00
Oliver Gierke
9754d70bfa DATAES-315 - Adapt API in ElasticsearchRepositoryFactoryBean.
Related ticket: DATACMNS-891.
2016-12-15 16:22:17 +01:00
Mark Paluch
c8c3e0a5ec DATAES-313 - Register ElasticsearchRepositoryFactory in spring.factories.
This is required for the switch in support for multi-store detection.

Related ticket: DATACMNS-952.
2016-12-06 09:13:08 +01:00
Oliver Gierke
1980ccf694 DATAES-306 - Prepare 3.0 M1 (Kay). 2016-11-23 10:35:09 +01:00
Oliver Gierke
e0141bcf44 DATAES-306 - Updated changelog. 2016-11-23 10:35:06 +01:00
Oliver Gierke
fce9c1fd60 DATAES-300 - Updated changelog. 2016-11-03 18:56:50 +01:00
Oliver Gierke
42ba51546e DATAES-297 - Updated changelog. 2016-09-29 14:42:13 +02:00
Oliver Gierke
8df87b3268 DATAES-299 - Updated changelog. 2016-09-29 11:42:11 +02:00
Oliver Gierke
bc3c2dc12c DATAES-296 - Updated changelog. 2016-09-21 08:10:37 +02:00
Oliver Gierke
5483564f08 DATAES-268 - Updated changelog. 2016-09-21 08:10:35 +02: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
Pavel Luhin
2718be7c07 DATAES-260 - StacOverflow when two reverse relationship.
Ignore fields based on parent ignore list
2016-08-21 22:37:37 +01:00
Artur Konczak
c7dfd2131e DATAES-228 - clean up 2016-08-21 00:33:39 +01:00
Mark Janssen
2b60128390 DATAES-228 Fix id handling for indexing
When an id is set in the IndexQuery object, use it without requiring an
@Document annotation. When it is not, try to resolve it from the object
when it has @Document and @Id annotations.
2016-08-21 00:23:14 +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
Oliver Gierke
a3a6f9cc67 DATAES-250 - Prepare 2.1 M1 (Ingalls). 2016-07-27 13:51:38 +02:00
Oliver Gierke
ecc62cc1b4 DATAES-250 - Updated changelog. 2016-07-27 13:51:36 +02:00
Zsombor Gegesy
edfca24527 DATAES-264 - Make available the entity class of the repository so generic code can be written more easily. 2016-06-24 14:49:05 +01: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
Oliver Gierke
8c77d314aa DATAES-251 - Updated changelog. 2016-06-15 14:31:50 +02:00
Artur Konczak
f569b0348a DATAES-262 - Upgrade elasticsearch to 2.3.3 2016-06-14 15:51:07 +01:00
Oliver Gierke
6c0272880a DATAES-249 - Updated changelog. 2016-04-06 23:14:28 +02:00
Oliver Gierke
d9e66aa532 DATAES-245 - Prepare 2.0 GA (Hopper). 2016-04-06 16:34:47 +02:00
Oliver Gierke
5094482b6c DATAES-245 - Updated changelog. 2016-04-06 16:34:42 +02:00
Artur Konczak
ef0831fa33 DATAES-105 - support for IP6 2016-04-04 10:31:32 +01:00
Mohsin Husen
b2f0300856 DATAES-240 - After release cleanups. 2016-03-18 10:44:11 +00:00
Oliver Gierke
cbb3a7afc4 DATAES-240 - Prepare 2.0 RC1 (Hopper). 2016-03-18 11:06:58 +01:00
Oliver Gierke
800b10b2b1 DATAES-240 - Updated changelog. 2016-03-18 11:06:55 +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
Mohsin Husen
374acbdd63 DATAES-124 - ElasticSearchTemplate should expose client 2016-03-15 11:34:41 +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
Joseph Moore
1cf18a4a50 DATAES-237 - path-configuration fails to load configs from inside jars 2016-02-26 15:18:12 +00:00