Commit Graph

151 Commits

Author SHA1 Message Date
r--w
d2e159d767 Code formatting 2015-10-12 09:27:58 +02:00
Jérôme Renard
b44bb059a1 Merge pull request #36 from r--w/master
Update index settings API
2015-10-11 08:07:22 +02:00
Jérôme Renard
eaebb27e1a Fixed missing golang versions and removed tip 2015-10-11 07:51:31 +02:00
r--w
ae25be9f6f Fixing IndicesExist function 2015-10-02 14:27:17 +02:00
r--w
aa49572462 Fixing IndicesExist function 2015-10-02 14:20:57 +02:00
r--w
8fa9ff1c53 Update index settings API 2015-10-02 13:59:55 +02:00
r--w
bf0b8b5bc8 Update index settings API - https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html#indices-update-settings 2015-10-02 13:25:29 +02:00
Jérôme Renard
add48c54e3 Merge pull request #32 from pib/test_es_1.7
ElasticSearch 1.7.0 is out, test with that, too
2015-07-21 07:25:16 +02:00
Jérôme Renard
7414268f99 Merge pull request #31 from pib/split_run
Split Run into two parts.
2015-07-21 07:24:57 +02:00
Paul Bonser
87536011d0 ElasticSearch 1.7.0 is out, test with that, too 2015-07-20 17:12:47 -05:00
Jérôme Renard
d40cba666e Merge pull request #29 from pib/pointer_response
Return *Response instead of Response so response data is not copied on return
2015-07-17 06:29:23 +02:00
Paul Bonser
f760e32967 Split Run into two parts.
This will make writing request methods which return different response types simpler.
2015-07-14 11:29:04 -05:00
Paul Bonser
3f6bbaec1f Merge branch 'master' of https://github.com/belogik/goes into pointer_response 2015-07-14 10:02:38 -05:00
Jérôme Renard
673f67dbdb Merge pull request #28 from pib/fix_content_type
Set content-type to application/json, since that's what is being passed to ElasticSearch
2015-07-04 22:04:52 +02:00
Jérôme Renard
c35de39565 Merge pull request #27 from pib/allow_any_jsonable
Use interface{} so any JSON-encodable value can be passed in
2015-07-04 22:03:47 +02:00
Jérôme Renard
5edfd2e653 Merge pull request #26 from pib/test_index_status_refresh
Call _refresh to ensure index is refreshed before getting the status
2015-07-04 15:41:41 +02:00
Paul Bonser
2f906c980e Different groovy plugin versions depending on ES version 2015-06-24 18:44:13 -05:00
Paul Bonser
00b9bbc858 Use correct comparison brackets 2015-06-24 16:27:37 -05:00
Paul Bonser
f41e425728 Make sure groovy is installed for older ES versions 2015-06-24 14:23:04 -05:00
Paul Bonser
06c82c2420 Select scripting lang as groovy for older ES versions 2015-06-24 13:56:01 -05:00
Paul Bonser
953759da48 Handle variance in refresh count between ES versions 2015-06-24 10:32:01 -05:00
Paul Bonser
51df70436b Wrap command in quotes so it is treated as a single command 2015-06-24 09:21:06 -05:00
Paul Bonser
bf23e36aa2 Enable ES groovy sandbox 2015-06-23 18:21:38 -05:00
Paul Bonser
c4704e7261 Missing dollar sign 2015-06-23 17:57:44 -05:00
Paul Bonser
538861b257 Update ES and Go versions in the matrix 2015-06-23 17:54:45 -05:00
Paul Bonser
fd0653ffa9 Update tests to handle *Response rather than Response 2015-06-23 15:05:28 -05:00
Paul Bonser
e46905c0b4 Return *Response instead of Response so response data is not copied on return 2015-06-23 14:55:30 -05:00
Paul Bonser
2372cfaf30 Set content-type to application/json, since that's what is being passed to ElasticSearch 2015-06-23 14:45:45 -05:00
Paul Bonser
7a434d562f Call _refresh to ensure index is refreshed before getting the status 2015-06-23 14:21:03 -05:00
Paul Bonser
58075eeb35 Use interface{} so any JSON-encodable value can be passed in 2015-06-23 13:54:25 -05:00
Jérôme Renard
86be27b627 Merge pull request #23 from marinbek/master
Added aliasing support, updated gocheck
2015-03-02 09:29:50 +01:00
Marin Bek
906234e920 install gocheck on travis 2015-03-02 08:59:23 +01:00
Marin Bek
5e4a4d663a AliasExists implementation 2015-02-27 16:46:08 +01:00
Marin Bek
aedb5f6b85 Delete index before test, just in case 2015-02-27 15:48:17 +01:00
Marin Bek
f6ba59e55a RemoveAlias implementation, reusing code 2015-02-27 15:48:00 +01:00
Marin Bek
13bf94fc2e New gocheck location 2015-02-27 15:33:06 +01:00
Marin Bek
121db02e3d AddAlias implementation 2015-02-27 15:32:56 +01:00
Jérôme Renard
475a722fea Merge pull request #22 from sasbury/master
Added support for Count requests
2015-01-28 07:48:15 +01:00
Stephen Asbury
21ab94d0ca count: support for count requests
Added count method to connection
Added Count field to response
Added test for count method
2015-01-26 17:43:50 -08:00
Jérôme Renard
cc93e7ac2c Merge pull request #21 from marinbek/master
DeleteMapping implementation
2014-11-25 20:33:34 +01:00
Marin Bek
1d1ad4d447 DeleteMapping implementation 2014-11-24 16:41:35 -08:00
Jérôme Renard
264c997862 Merge pull request #20 from r--w/master
Optimize API
2014-11-21 11:43:56 +01:00
r--w
6b8090a19d Optimize API
Optimize API added:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/in
dices-optimize.html#indices-optimize
2014-11-21 11:06:24 +01:00
Jérôme Renard
63cef24bc9 Merge pull request #19 from marinbek/master
Support for PutMapping, Update and IndicesExist APIs
2014-11-17 22:42:46 +01:00
Marin Bek
6c041327be Only set Id on document if it was given 2014-11-17 17:04:48 +01:00
Marin Bek
4c9459a02b Use slices instead of variadic function 2014-11-17 07:25:48 +01:00
Marin Bek
1453d3c31c Give ES some time to work in tests 2014-11-15 23:08:40 +01:00
Marin Bek
08d26b69e0 GetMapping implementation 2014-11-13 09:22:11 +01:00
Marin Bek
589282a189 Unmarshal whole response into Raw field on Response for APIs that return fully dynamic format, like _mapping 2014-11-13 09:21:27 +01:00
Marin Bek
36f0db102e Update test 2014-11-12 17:35:37 +01:00