1399 Commits

Author SHA1 Message Date
Mohsin Husen
230c041d83 DATAES-88 - add method createIndex(Class<T> clazz, Object settings) 2014-05-01 11:46:20 +01:00
Oliver Gierke
3261af3f5a DATAES-87 - Polished changelog.
Introduced headline to make sure we can automate the changelog creation going forward. Made sure formatting is consistent.
2014-04-30 17:31:40 +02: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
1b18da2e21 DATAES-83 - Upgrade to elasticsearch 1.1.1 2014-04-21 17:45:01 +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
abdul
d24a92547f DATAES-77 - Search across different indices
Add test to demonstrate searching into heterogeneous indexes and building entities of different types. In a nutshall, the responsiblity lies with the client, spring data elasticsearch cannot and should not try to discover entity types, as that would leading building an object composition logic which is not the core area of this library.

With this test, we demonstrate the usage of SearchResultMapper to compose an aggregator object that holds properties from two dfferent entities, The Aggregator is declared as a document but is not indexes (This is not ideal) and we don't recommend to declare @Documents that are not indexed. Please use this as just a pointer to implement SearchResultMapper, this demostartion is not meant to be duplicated in your production systems. There are better ways to compose hetro objects from multi index searches.
2014-04-17 09:26:11 +01:00
abdul
09e3e94b3b DATAES-77 - Search across different indices
Add a test to demonstrate searching across multiple indices.
2014-04-16 13:24:56 +01:00
Mohsin Husen
0eb230cb1f DATAES-66 - Add Ip support to FieldType
renamed from DynamicMappingAndSettingTests to LogEntityTests
2014-04-09 16:00:39 +01:00
Mohsin Husen
0307803316 DATAES-66 - Add Ip support to FieldType
added test cases for FieldType.Ip
2014-04-09 15:56:35 +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
1eafa61cc9 DATAES-80 - Update github url in pom.xml 2014-04-07 14:00:23 +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
3453f30a26 DATAES-78 - Typo 2014-03-31 17:10:21 +01:00
Spring Buildmaster
645e2b77c3 DATAES-78 - Prepare next development iteration. 2014-03-31 17:48:59 +02:00
Spring Buildmaster
95c87b4b99 DATAES-78 - Release version 1.0.0.M2. 1.0.0.M2 2014-03-31 08:45:18 -07:00
Oliver Gierke
004e758e0b DATAES-78 - Prepare 1.0 M2. 2014-03-31 17:39:48 +02:00
Mohsin Husen
fee9273cb8 DATAES-78 - Release 1.0 M2
updated changelog
2014-03-27 11:20:46 +00:00
Mohsin Husen
379a48ceac DATAES-79 - Upgrade to elasticsearch 1.1.0 2014-03-27 11:17:14 +00:00
Mohsin Husen
1a62161bbc DATAES-78 - Release 1.0 M2
added changelog for 1.0 M2
2014-03-27 10:17:26 +00: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
d75dbbba94 DATAES-67 - count request in ElasticsearchTemplate does not respect specified index 2014-03-19 20:29:07 +00:00
amwaheed
367974bd4c DATAES-65 - Overhaul README.md
Updated the contact details to a generic contact via Google Groups.
2014-03-19 10:04:23 +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
b6628385d9 DATAES-55 - polish test cases and remove unwanted files 2014-03-04 19:22:49 +00:00
Mohsin Husen
3c0c942a70 DATAES-65 - Overhaul README.md 2014-03-04 19:17:57 +00:00
Mohsin Husen
ea45aba8be DATAES-55 - polish test cases and remove unwanted files 2014-03-02 17:43:38 +00:00
Mohsin Husen
19105dcb70 DATAES-55 - polish test cases and remove unwanted files
Test cases were scanning entire package for repositories, created dedicated package for individual repository.
2014-03-02 11:56:47 +00:00
Mohsin Husen
30ebcc04c4 DATAES-55 - polish test cases and remove unwanted files
removed old document files
2014-03-02 11:08:51 +00:00
Mohsin Husen
2cdf5429f6 DATAES-61 - Upgrade to elasticsearch 1.0.1
changed spring data common and Spring data build version for next development iteration
2014-02-26 18:50:12 +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
ea50046f45 DATAES-55 - polish test cases 2014-02-14 09:29:48 +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