Commit Graph

185 Commits

Author SHA1 Message Date
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
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
Mohsin Husen
09455006ab DATAES-211 - enable groovy for scripting 2016-02-24 12:45:35 +00:00
Mohsin Husen
924467ec94 DATAES-211 -clean up 2016-02-24 12:45:34 +00:00
Artur Konczak
8963123ffe DATAES-211 - updated to ES-2.2, test fixes round 1 2016-02-24 12:45:34 +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
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
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
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
Artur Konczak
5a648bcb7a DATAES-172 - added test to cover geohash prefix 2015-09-18 16:16:46 +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
Kevin Leturc
416daef2f9 DATAES-165 - Add Java 8 Steram support in custom repositories. 2015-06-21 01:39:50 +01:00
Kevin Leturc
576495932e DATAES-167 - Add scan method for CriteriaQuery. 2015-06-21 01:11:39 +01:00
Matija Obreza
c9ffc4417a DATAES-127 - Include total, other and missing count in TermResult
Include totalCount, otherCount and missingCount from TermsFacet in TermResult.
2015-06-21 00:13:41 +01:00
Artur Konczak
a3828c6161 Additional tests to cover synonyms 2015-05-22 13:20:06 +02:00
Mohsin Husen
4a90020dc1 DATAES-157 - support deleteBy operation 2015-05-15 13:21:38 +01:00
Mohsin Husen
01a67eef05 DATAES-164 - CriteriaQuery equals method has to use AND operator instead of OR 2015-05-15 12:23:23 +01:00
XAVIER VANDEMEULEBROUCKE
7aaf7e1782 DATAES-158 - DATAES-159 2015-05-11 00:32:42 +01:00
Kevin Leturc
97bcf28a04 DATAES-135 - Add a flag in configuration to consider nested repositories 2015-03-01 20:52:05 +00:00
Artur Konczak
fad9a56036 DATAES-136 - added support for basePackage configuration for @EnableElasticsearchRepositories 2015-02-12 01:17:19 +00:00
Mohsin Husen
d92137247f DATAES-46 - Apply code formatting 2015-01-30 17:19:06 +00:00
Franck MARCHAND
bb62148bb7 DATAES-129 : Custom Repository Method for simple geo request does not work 2015-01-30 17:07:00 +00:00
msachs
7cf7cb9168 DATAES-132 - adding possibility to configure mapping with nested and include in parent option 2015-01-30 16:02:21 +00:00
Faisal Feroz
37802761ed DATAES-130 Added support for Spel Expressions in Type
- Added support for Spel Expressions in index type

- Renamed SpELEntityTest to SpELEntityTests so they run when
called from maven
2014-12-07 01:12:00 +00:00
Mewes Kochheim
1255dfa89d DATAES-91 - fixed payload feature, added corresponding unit tests to cover it, fixed code format 2014-12-06 23:34:43 +00:00
Artur Konczak
7fdab4aa5c DATAES-91 - fixed tests 2014-11-13 16:23:24 +00:00