1399 Commits

Author SHA1 Message Date
akonczak
2305fc873e Merge pull request #9 from stuartstevenson/master
MappingBuilder circular reference issue
2013-10-29 16:49:44 -07:00
akonczak
3e7e262980 Update README.md 2013-10-25 16:44:09 +01: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
bf510728df Updated parent version to 1.2.0.RELEASE 2013-09-28 18:03:25 +01: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
c8861ebf0d Merge remote-tracking branch 'origin/master' 2013-09-24 19:15:17 +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
Mohsin Husen
36e2095286 Update README.md 2013-09-09 17:24:38 +01:00
Stuart Stevenson
70c927567f 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-08-25 19:21:20 +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
Mohsin Husen
2d6750abdf DATAES-15 : Upgrade to latest version of elasticsearch( 0.90.2 ) 2013-07-23 10:04:35 +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
Artur Konczak
74a4035408 DATAES-12 Merge Geo Location from branch 'master' of https://github.com/fmarchand/spring-data-elasticsearch 2013-06-13 17:39:44 +01:00
Artur Konczak
aa6a5e3753 DATAES-10 added 3 additional properties to Range Facet 2013-06-12 18:58:05 +01:00
Mohsin Husen
f22e2739ba deleted httpEnable from Transport Client as it has to be set on server side 2013-06-11 10:54:09 +01:00
Artur Konczak
839d4f3898 DATAES-10 added support for term and range facet 2013-06-10 11:21:50 +01:00
Mohsin Husen
c7424cda1a Deleted unused class 2013-06-10 10:51:23 +01:00
Mohsin Husen
dd12461257 Article Index should be stored "in memory" for test cases 2013-06-10 10:29:00 +01:00
Artur Konczak
2e43fc0ac2 DATAES-11 - added missing core types for FieldType 2013-06-08 17:47:15 +01:00
Artur Konczak
8862e01c74 added annotation for multfield 2013-05-21 08:23:25 +01:00
akonczak
b2572d4950 basic mechanism for term facets 2013-05-20 09:47:26 +01:00
Mohsin Husen
b421cb5044 Cluster Name config in Transport Client 2013-05-16 13:29:49 +01:00
Mohsin Husen
af97fdb7d4 Test cases clean up round 1 2013-05-16 10:38:04 +01:00
Mohsin Husen
54c897be0b Clean up : Updated Tests which was causing build failure 2013-05-15 18:16:46 +01:00
Mohsin Husen
7f1d26dac3 Updated Test (Scan and Scroll) which was causing build failure 2013-05-15 17:27:49 +01:00
Mohsin Husen
b5873cb3e6 TYPO : default replicas should be 1 and default shards should be 5 2013-05-15 13:53:31 +01:00
Mohsin Husen
151c62361c DATAES-9 : multiple elasticsearch cluster nodes not getting parsed if using property file 2013-05-13 17:51:00 +01:00
akonczak
7df712a3b6 DATAES-2 Applied spring-data formatting to all sources 2013-05-12 19:37:25 +01:00
akonczak
5e917b5ff6 DATAES-2 Applied spring-data formatting to all sources 2013-05-12 19:25:29 +01:00
Mohsin Husen
7f11f23718 DATAES-7 : Migrate to the latest version of Elasticsearch 0.90.0 2013-05-12 13:54:48 +01:00
Mohsin Husen
b943dc2515 removed duplicate test cases for DoubleIDRepository and IntegerIDRepository Tests 2013-05-12 10:39:11 +01:00
Mohsin Husen
8c31761308 DATAES-8 : Add support for Index level configuration 2013-05-12 09:43:26 +01:00
Mohsin Husen
e72521ba48 Default store type for field in dynamic mapping should be false 2013-05-11 14:47:35 +01:00
Mohsin Husen
86c2b1d1c5 DATAES-6 : Instead of storing data in "fs" it should store "in memory" for unit tests 2013-05-11 14:23:29 +01:00