Commit Graph

218 Commits

Author SHA1 Message Date
Mark Paluch
c0ef590038 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:42:56 +01:00
Oliver Gierke
200f1771d5 DATAES-315 - Adapt API in ElasticsearchRepositoryFactoryBean.
Related ticket: DATACMNS-891.
2016-12-15 15:25:17 +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
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
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
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
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
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
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
4efec54e1d DATAES-211 - incorporate changes in GeoDistance 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
Artur Konczak
8963123ffe DATAES-211 - updated to ES-2.2, test fixes round 1 2016-02-24 12:45:34 +00:00
slowikps
4296760eb0 DATAES-230 - Remove unnecessary type check in AbstractElasticsearchRepository 2016-01-26 15:38:51 +00:00
Ted Liang
403a85b094 DATAES-209 - Dynamic mapping using @Mapping Annotation at field level
fix test

fix comment in test
2016-01-26 15:22:16 +00:00
Mohsin Husen
428cac3642 DATAES-216 - cleanup 2016-01-26 15:04:00 +00:00
Thiago Locatelli
ba1fb9fc6f DATAES-216 - Adding support to 'indices_boost' when searching against multiple indices
Applying spring-data code format

Merge branch 'master' of https://github.com/thiagolocatelli/spring-data-elasticsearch into thiagolocatelli-master
2016-01-26 14:57:00 +00:00
pkraeutli
9c91723833 DATAES-224 retain newlines when reading mapping/setting files
Fixed test-settings yaml
2016-01-26 14:42:34 +00:00
Artur Konczak
7dbab75cf5 DATAES-50 - Enabled support for scripts for node client, added missing groovy lib 2015-12-31 02:09:11 +00:00
Ryan Murfitt
d6603f8edf DATAES-50 - Added scripted field functionality 2015-12-31 02:08:38 +00:00
Kevin Leturc
727cb5eb09 DATAES-141 - Update ElasticsearchTemplate constructors to init properly the default implementations. 2015-12-28 00:26:20 +00:00
Kevin Leturc
23e1e9f46a DATAES-217 Propose scan method with a class in order to retrieve index and type from Document 2015-12-17 00:47:01 +00:00
Mason Chan
751302d6f0 DATAES-143 added support for turning off auto index creation based on Document annotation. 2015-12-16 01:53:49 +00:00
Oliver Gierke
485f0e7252 DATAES-221 - Adapted to API changes in Spring Data Commons.
Related ticket: DATACMNS-89.
2015-12-14 21:13:33 +01:00
dianandonov
aa9c47516c DATAES-208 - Allow node configuration to honor the server settings in @Document 2015-12-12 02:18:24 +00:00
Artur Konczak
21ff7e50cf DATAES-206 - added GEO_POINT support for Point from Spring Data Commons 2015-12-08 12:03:25 +00:00
Nicolas François
5b850c61e2 DATAES-210 - Typo in error message 2015-11-04 16:41:44 +00:00
Kevin Leturc
7d645ac5e1 DATAES-200 Set persistent entity index and type in query when no indices/types are set. 2015-09-23 13:23:00 +02:00
Artur Konczak
4350234299 DATAES-179 - added support for Attachment field type 2015-09-19 00:16:59 +01:00
Artur Konczak
5a648bcb7a DATAES-172 - added test to cover geohash prefix 2015-09-18 16:16:46 +01:00
dianandonov
6a06bbfbb9 DATAES-172 - Added support for "geohash_prefix" and "geohash_precision" on GeoPointField annotation 2015-09-17 23:10:51 +01:00
Mohsin Husen
c2f13c3820 DATAES-194 - Tests should clean up "data" directory. 2015-09-17 12:02:51 +01:00
Artur Konczak
49708d38c0 DATAES-171 - added support for missing query keywords 2015-09-17 09:11:57 +01:00
Artur Konczak
6cdc765b24 DATAES-137 - set missing MappingContext in ElasticsearchRepositoryFactoryBean 2015-08-29 01:49:18 +01:00