Commit Graph

119 Commits

Author SHA1 Message Date
atyron
d5bd899311 Fixed tests, returns glide config 2016-09-29 19:45:22 +03:00
atyron
dacbc70539 Changed GoesTestSuite.TestIndexStatus, put json.Numbers as a field in expected map 2016-09-29 19:38:49 +03:00
atyron
c90b310032 Changed GoesTestSuite.TestIndexStatus, put json.Numbers as a field in expected map 2016-09-29 18:57:24 +03:00
atyron
7cfa743cd0 Fixed panic: interface conversion: interface is json.Number, not float64 (PC=0x45C1DE) 2016-09-29 18:47:38 +03:00
atyron
273f50efb6 Fixed panic in TestIndexStatus 2016-09-29 18:43:24 +03:00
atyron
f26a350c81 Changed glide config 2016-09-29 18:39:33 +03:00
atyron
229bcec385 Fixed TestUpdate from goes_test 2016-09-29 18:35:59 +03:00
atyron
310f5bae09 Depends on issue https://github.com/golang/go/issues/5562, added another Unmarshal mechanism 2016-09-29 16:10:34 +03:00
Paul Bonser
167d78773c Merge pull request #4 from OwnLocal/use_glide
Use glide for dependency management
2016-07-26 20:20:48 -05:00
Paul Bonser
5fd6aac546 Add glide config and set up tests to use glide 2016-07-26 18:29:20 -05:00
Paul Bonser
214c987e11 Update README with warning on breaking changes 2016-07-26 14:31:51 -05:00
Paul Bonser
6c9647b81c Point the test import to the proper repo 2016-07-26 14:28:54 -05:00
Jérôme Renard
23413ed12a Merge pull request #41 from pib/1_5_fix
Fix tests for Go 1.5
2015-12-05 07:15:30 +01:00
Paul Bonser
f75a906714 Wild-card for the first portion of the error expected 2015-12-04 13:27:48 -06:00
Paul Bonser
148326d59c less picky about dial error, just expect that it says no such host 2015-12-04 13:23:36 -06:00
Jérôme Renard
8fd7c39685 Merge pull request #38 from johnkjellberg/highlight2
Add "Highlight" field to "Hit" structure.
2015-10-31 14:03:55 +01:00
John Kjellberg
0963f937ac Add "Highlight" field to "Hit" structure. 2015-10-26 11:07:31 +01:00
Jérôme Renard
5d24537714 Merge pull request #37 from r--w/master
Code formatting
2015-10-12 10:48:18 +02:00
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