230 Commits

Author SHA1 Message Date
mohsin.husen
ddce814d3b DATAES-43 : Add Test cases for CDI Repository 2014-02-06 20:16:05 +00:00
mohsin.husen
5c6557e5b9 DATAES-43 : Add Test cases for CDI Repository 2014-02-06 20:01:41 +00:00
mohsin.husen
7828612f15 DATAES-43 : Add Test cases for CDI Repository 2014-02-06 19:48:45 +00:00
mohsin.husen
fb95bb06bf DATAES-42 : Adding support for letting Elasticsearch generate Id for document 2014-02-01 12:53:07 +00:00
Artur Konczak
bbc46d95df DATAES-13 added support for minimum score 2014-01-29 22:06:45 +00:00
akonczak
6c5e8fee22 Merge pull request #29 from javamachr/master
Added DefaultMapper support to map only partial fields from result instead of whole source field.
2014-01-05 04:28:10 -08:00
mohsin.husen
30bd165b22 DATAES-5 : Add Apache license headers where necessary 2014-01-05 11:11:04 +00:00
mohsin.husen
5922695e34 DATAES-33 : Mapping of Parent-Child Relationships 2014-01-04 14:35:53 +00:00
mohsin.husen
bc1abd96e8 DATAES-37 : Multiple level Nested Document support 2014-01-04 11:54:56 +00:00
Rizwan Idrees
41fe0bed42 removed ambiguity for save method in repositories & fixed the Pageable issue for searchSimilar methods 2013-12-26 21:33:12 +00:00
Rizwan Idrees
afc6349dec Upgraded the elasticsearch version to 0.90.9 2013-12-26 10:01:58 +00:00
Artur Konczak
2a772d553a DATAES-40 added check for annotated field type to avoid unnecessary complex mapping 2013-12-19 22:02:58 +00:00
mohsin.husen
9386129bbf DATAES-31 : Add the ability to index arbitrary JSON strings 2013-11-23 14:58:19 +00:00
mohsin.husen
a833c89a69 DATAES-39 : SearchResultMapper support for scroll and queryForPage 2013-11-23 13:45:42 +00:00
mohsin.husen
f824f4f1e9 DATAES-38 : Add/Remove/Get Alias Support 2013-11-23 11:31:40 +00:00
Jakub Vavrik
7b86505181 Fixed mangled UTF-8 encoding in field mapping conversion to json. 2013-11-19 14:54:09 +01:00
Jakub Vavrik
a76809dd0a Added DefaultMapper support to map only partial fields from result instead of whole source field. 2013-11-19 10:44:53 +01:00
Artur Konczak
3fb28de7ad DATAES-34 #17 - documentation for custom result mapper 2013-11-17 22:04:04 +00:00
Artur Konczak
56d4079d81 DATAES-34 #17 - added option to inject custom implementation of ResultMapper 2013-11-17 20:25:50 +00:00
Artur Konczak
47c82a8f96 DATAES-25 migrated to jackson v2.2.3 2013-11-10 19:58:57 +00:00
Artur Konczak
655ccb0cec DATAES-29, ISSUE #16 - formatted new files 2013-11-10 19:22:28 +00:00
Artur Konczak
7f91413591 DATAES-29, ISSUE #16 - added interface EntityMapper to allow for custom implementation and configuration for ObjectMapper 2013-11-10 18:51:01 +00:00
Artur Konczak
86de8f73b8 ISSUE #20 - added more tests to cover complex custom repository with manual wiring 2013-11-01 21:26:32 +00:00
Artur Konczak
0ac8c6698e ISSUE #20 - added more tests to cover this case 2013-11-01 13:51:13 +00:00
Artur Konczak
485320b388 Merge branch 'master' of https://github.com/javamachr/spring-data-elasticsearch into javamachr-master
Add support for @Transient annotation to skip fields from mapping
2013-10-30 21:31:26 +00:00
Mohsin Husen
4b70622be8 DATAES-23 : Person object should user in memory store type 2013-10-30 15:18:27 +00:00
Mohsin Husen
ff7cfa3965 DATAES-23 : Add support for Nested Type (Root level initially) 2013-10-30 14:40:10 +00:00
Mohsin Husen
95579d11ac DATAES-28 : Upgrade to elasticsearch 0.90.5 2013-10-30 14:02:50 +00:00
akonczak
2305fc873e Merge pull request #9 from stuartstevenson/master
MappingBuilder circular reference issue
2013-10-29 16:49:44 -07:00
Artur Konczak
e684d4f257 DATAES-26 - added support for histogram facets 2013-10-21 23:44:41 +01:00
Artur Konczak
35cb4e6930 DATAES-21 statistical facets(Petar Tahchiev) 2013-10-11 23:24:55 +01:00
Jakub Vavrik
be9a34cedd Added test for infinite recursion mapping. 2013-10-11 13:23:03 +02:00
Jakub Vavrik
680e07726f Added simple fix for infinite recursion in entity mapping if class contains a field of same type as the class. In such case will skip that field. 2013-10-11 13:05:13 +02:00
Jakub Vavrik
61d8114513 Merge remote-tracking branch 'upstream/master' 2013-10-09 18:39:25 +02:00
Jakub Vavrik
b5dfb59428 Added skipping of fields that are marked using spring data @Transient annotation 2013-10-09 18:22:31 +02:00
akonczak
99940f47c3 Merge pull request #14 from javamachr/master
added format and pattern  support for date fieldtype + fixed nullpointer...
2013-10-08 16:41:36 -07:00
Artur Konczak
406ef06559 renamed Criteria method bbox to boundedBy 2013-10-08 23:25:38 +01:00
Jakub Vavrik
21577aab00 added format and pattern support for date fieldtype + fixed nullpointer when TransportClientFactoryBean configuration is java config only. 2013-10-07 10:08:05 +02:00
Artur Konczak
6ea839d97c Merge branch 'geo_location' added missing file 2013-09-28 00:32:53 +01:00
Artur Konczak
7e9f12cc9c Merge branch 'geo_location' 2013-09-28 00:29:19 +01:00
Artur Konczak
bb81fa75db Renamed GeoEnvelope to GeoBox 2013-09-27 22:58:26 +01:00
Stuart Stevenson
598b162c94 mappingbuilder circular reference issue
I found that by trying to save a spatial4j Point object using a repository that MappingBuilder threw a StackOverFlow exception because it contains a circular reference to a field Point class called 'center'.  mapEntity method recursively calls itself and has no way to avoid infinite loops. Commited a test with dummy object CircularObject that contains a reference to itself as a field.

 First commit was to build a list of previously visited classes. Second commit was to change this to be an property on the Field annotation with idea that users can specify the fields that should be ignored when mapping the objects. This doesn't stop lazy users being stung but should be more configurable.
2013-09-24 19:14:55 +01:00
Mohsin Husen
5a34a90586 DATAES-22 : Add support for TransportClient additional parameters such as client.transport.ignore_cluster_name, client.transport.ping_timeout, client.transport.nodes_sampler_interval 2013-09-18 10:50:40 +01:00
Artur Konczak
714bcf87fe Merge branch 'master' into geo_location 2013-08-14 22:45:30 +01:00
Mohsin Husen
1152e00a31 DATAES-18 : Add Support to specify Index Name and type in Delete Query 2013-08-09 14:45:32 +01:00
Mohsin Husen
00ac1e8c95 DATAES-19 : Delete specific type in an index, Type exists check 2013-08-09 12:57:02 +01:00
Mohsin Husen
99a30a2a4b DATAES-17 : Add support to retrieve highlighted text in search result 2013-08-07 10:15:06 +01:00
Mohsin Husen
096c2e197e DATAES-16 : Add Partial Update / Upsert support 2013-07-30 12:11:59 +01:00
Artur Konczak
5a499315e8 DATAES-12 added support for GeoPoint 2013-06-24 12:55:52 +01:00
Artur Konczak
18b8108084 DATAES-10 Merged all changes from 'facets' branch 2013-06-14 15:21:47 +01:00