Commit Graph

137 Commits

Author SHA1 Message Date
xjrk58
0317dcb275 DATAES-97 - Use UpdateRequest instead of IndexRequest 2014-08-10 11:25:45 +01:00
Florian Hopf
705adf25f2 DATAES-117 - Displaying proper error message for entities that don't have an Id 2014-08-09 14:57:32 +01:00
gpanthe
873dcca561 DATAES-93 Make fully ApplicationContextAware, allows bean resolvers. 2014-08-07 21:15:52 +01:00
gpanthe
a92af0e3e5 DATAES-93 Allow Spring EL usage in index name attribute of @Document 2014-08-07 21:15:51 +01:00
Mohsin Husen
fa5d1b1e49 DATAES-46 - Apply code formatting 2014-07-20 17:07:57 +01:00
Franck MARCHAND
6d61dceab9 DATAES-89 - implements missing "near" in ElasticsearchQueryCreator 2014-07-17 16:56:32 +02:00
Franck MARCHAND
5faf54b67c DATAES-89 - implements missing "within" in ElasticsearchQueryCreator 2014-07-17 16:51:42 +02:00
Rizwan Idrees
ab7e870d5f DATAES-96 - Add support for aggregation in ElasticsearchTemplate 2014-06-12 17:25:00 +01:00
Artur Konczak
7bb409887e DATAES-81 - extended RangeFacetRequest to support string ranges 2014-05-01 15:16:40 +01:00
Mohsin Husen
230c041d83 DATAES-88 - add method createIndex(Class<T> clazz, Object settings) 2014-05-01 11:46:20 +01:00
Mohsin Husen
9ce87f147a DATAES-86 - Add dynamic mapping(json) using @Mapping annotation 2014-04-30 11:48:00 +01:00
Mohsin Husen
8c63f3ee22 DATAES-82 - findAll(Iterable<ID> ids) does not work with Collections
terms query does not support iterable, converted Iterable to Collection
2014-04-29 12:01:47 +01:00
Mohsin Husen
ad0409c7ae DATAES-63 - Ability to add mapping using arbitrary JSON and XContentBuilder using ElasticsearchTemplate 2014-04-25 16:00:56 +01:00
Mohsin Husen
6b6f3beabe DATAES-85 - Add support to get elasticsearch mappings 2014-04-24 15:19:00 +01:00
Mohsin Husen
5ca0ed7ff1 DATAES-84 - Add field criteria with searchQuery not supported in scan and scroll
- added support for fields in scan and scroll
- fixed build failure, separated aliasTests
2014-04-23 12:29:32 +01:00
Mohsin Husen
55219c947e DATAES-77 - Search across different indices
applied Spring Data coding/formatting rules
2014-04-21 17:26:08 +01:00
Aggelos Karalias
cbe549694e DATAES-66 - Add Ip support to FieldType
This is as trivial as adding a value to the FieldType enum. It doesn't have any
extra properties following the IP type so the
MappingBuilder.addSingleFieldMapping will do the job.
2014-04-09 10:42:21 +01:00
Mohsin Husen
9e97dec225 DATAES-70 - Alias creation with routing not supported
added routing parameters
2014-04-03 16:49:50 +01:00
Mohsin Husen
1e3ec3eaf0 DATAES-64 - Add dynamic settings using @Setting annotation 2014-03-26 20:19:42 +00:00
Szabó Bálint
403930d448 DATAES-74 NPE in MappingElasticsearchEntityInformation 2014-03-24 12:06:01 +01:00
Mohsin Husen
5a78ba31f4 DATAES-73 - NullPointerException while persist a Map as part of persistent entity 2014-03-23 19:06:47 +00:00
Mohsin Husen
07f5fab022 DATAES-71 - Enhance Create Index in ElasticsearchTemplate
added

createIndex(indexName, settings)
getSetting(indexName)
getSetting(class)

methods
2014-03-22 19:27:38 +00:00
Mohsin Husen
6a99d355c0 DATAES-71 - Enhance Create Index in ElasticsearchTemplate
added createIndex(String indexName) method
2014-03-19 21:49:44 +00:00
Mohsin Husen
00eef9cb6c DATAES-72 - Enhance Delete Index in ElasticsearchTemplate
added deleteIndex(String indexName) and indexExist(String  indexName) methods
2014-03-19 21:35:10 +00:00
Mohsin Husen
47d3277bd5 DATAES-67 - count request in ElasticsearchTemplate does not respect specified index 2014-03-18 19:46:56 +00:00
Mohsin Husen
d4f2001b46 DATAES-14 - Dynamic Search Type Support
added searchType parameter to NativeSearchQueryBuilder
2014-03-15 09:11:51 +00:00
Artur Konczak
08cdcc5c4c DATAES-14 - added option to choose different search types per query 2014-03-12 16:02:50 +00:00
Mohsin Husen
ea45aba8be DATAES-55 - polish test cases and remove unwanted files 2014-03-02 17:43:38 +00:00
Piotr Betkier
c5da12bdfd DATAES-60 - Java config support - default values in TransportClientFactoryBean 2014-02-23 16:20:33 +00:00
Mohsin Husen
b1edd72205 DATAES-52 - Support Get & Multi Get 2014-02-23 15:25:30 +00:00
Mohsin Husen
38bbb0fd8e DATAES-52 - Support Get & Multi Get
Added support for MultiGetResultMapper for custom fields
2014-02-23 14:59:45 +00:00
Mohsin Husen
c2a53715d8 DATAES-52 - Support Get & Multi Get
Removed getObject() as it was already implemented using queryForObject()

Changed Method name to multiGet() from getObjects()

Made method to accept searchQuery instead of individual params
2014-02-23 13:02:30 +00:00
Ryan Murfitt
ab7c01b37c DATAES-52 - Allow for mapping single element arrays to get around an inconsistency in elastic search using Multi Get and fields. See https://github.com/elasticsearch/elasticsearch/issues/3418 2014-02-17 21:12:17 +00:00
Ryan Murfitt
dd0ce8a947 DATAES-52 - Implement elastic search get and multi get with routing support 2014-02-17 21:12:01 +00:00
Ryan Murfitt
eafdbed68e DATAES-51 - allowed to pass multiple sort builders for NativeSearchQuery
Can now add multiple sort builders to a NativeSearchQuery
2014-02-16 22:19:29 +00:00
Artur Konczak
1352c9f45b DATAES-54 - upgraded to elasticsearch 1.0 2014-02-16 21:44:36 +00:00
mohsin.husen
08a6a9b26f DATAES-56 - while specifying index and type at runtime indexing is failing
(this bug was introduced with DATAES-42)
2014-02-14 07:43:40 +00:00
mohsin.husen
be1d26eae3 DATAES-47 - Spring Application(Context) is not getting started up if elasticsearch nodes are not available 2014-02-13 19:19:55 +00:00
mohsin.husen
d92f4150b7 DATAES-48 - Mapping for multiple level nested document is getting created wrong 2014-02-12 20:59:44 +00:00
Artur Konczak
e9a260235d DATAES-2 - all code reformatted to follow Spring Data code rules 2014-02-11 00:44:03 +00:00
mohsin.husen
00ffc4a68e DATAES-46 - Remove unused imports & class 2014-02-07 20:32:50 +00:00
Oliver Gierke
a33a48a882 DATAES-45 - Prepare 1.0 M1 release.
Upgraded to Spring Data Build 1.3.0 RC1 and Spring Data Commons 1.7.0.RC1. Cleaned up pom accordingly.

Adapted repository setup to accommodate for changed lifecycle behavior of repository factories. Marked repositories explicitly created to check for the detection of misconfiguration as @Lazy to prevent them from being instantiated and causing the tests to fail. Added assertion in ElasticsearchEntityInformationCreatorImpl to eagerly fail in case of misconfiguration.

Marked ElasticsearchCrudRepository as @NoRepositoryBean as it should never be considered to be a repository interface to be instantiated.

Tweaked CDI implementation to benefit from new feature in Spring Data Commons to eagerly instantiate CDI repository beans. Fixed capitalization in CDI integration test sample repositories to let the code compile on case-sensitive file systems.
2014-02-07 10:00:54 +01: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