Paul Bonser
|
28784db09c
|
Be more general about error to support ES 5.x
|
2017-02-02 18:19:27 -06:00 |
|
Paul Bonser
|
a9196feea3
|
Use DeleteByQuery in test
|
2017-02-02 18:11:37 -06:00 |
|
Paul Bonser
|
2bb228813f
|
Clear expected shards since that varies between versions
|
2017-02-02 18:03:38 -06:00 |
|
Paul Bonser
|
b04496cc3e
|
Add mapping so aggregation works in ES 5.x
|
2017-02-02 14:50:25 -06:00 |
|
Paul Bonser
|
6492f3a5e3
|
Make Client.Scan work with ES 5.x
|
2017-02-02 13:04:45 -06:00 |
|
Paul Bonser
|
f9192a7ca8
|
Build in a way to detect the ES version so it can be used for version-specific things
|
2017-02-02 11:54:24 -06:00 |
|
Paul Bonser
|
f5716dce83
|
Some 5.x query changes
|
2017-02-02 11:01:27 -06:00 |
|
Paul Bonser
|
a1af556756
|
Zero out some fields which may vary between ES versions
|
2017-02-01 16:59:43 -06:00 |
|
Paul Bonser
|
e89f41828e
|
Remove commented out code
|
2016-09-27 17:48:14 -05:00 |
|
Paul Bonser
|
db565276fc
|
Provide a way of making external request builders, separate generationg of requests from sending of requests
|
2016-09-27 16:41:27 -05:00 |
|
Paul Bonser
|
3f0875ed66
|
make all request fields exported so custom requests can be done
|
2016-09-27 14:30:17 -05:00 |
|
Paul Bonser
|
9f7a8396bb
|
Update code to match Go style guide
|
2016-09-27 14:19:07 -05:00 |
|
Paul Bonser
|
a018ac0716
|
Rename Connection to Client
|
2016-09-27 13:56:13 -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
|
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 |
|
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 |
|
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 |
|
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
|
fd0653ffa9
|
Update tests to handle *Response rather than Response
|
2015-06-23 15:05:28 -05:00 |
|
Paul Bonser
|
7a434d562f
|
Call _refresh to ensure index is refreshed before getting the status
|
2015-06-23 14:21:03 -05: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 |
|
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 |
|
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 |
|
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 |
|
Marin Bek
|
92d2eb17fa
|
Test IndicesExist
|
2014-11-11 15:37:50 +01:00 |
|
Marin Bek
|
f8e5a2a433
|
Support for PutMapping API
|
2014-11-11 14:37:34 +01:00 |
|
r--w
|
0936751f04
|
bulk indexing update
|
2014-10-13 09:43:58 +02:00 |
|
James Wu
|
697ad42b43
|
Fix test: replace _all index with the right index name used in test.
|
2014-09-26 11:55:47 -07:00 |
|
Stephen Asbury
|
5a12eb4b68
|
Support for running a _query with an http method
This allows operations like delete by query.
Included test for delete by query.
|
2014-09-11 13:49:57 -07:00 |
|
Amadeo Casas
|
65753ab5ed
|
gofmt pass
|
2014-08-17 13:26:17 -07:00 |
|
Amadeo Casas
|
9b27ec1889
|
Test to verify fields in a document can be extracted from a struct
|
2014-08-17 13:25:25 -07:00 |
|
Ian Babrou
|
20300ffa70
|
go fmt
|
2014-07-03 16:28:55 +04:00 |
|
Ian Babrou
|
45e977fe8a
|
removed index param from BulkSend
|
2014-07-03 16:28:37 +04:00 |
|
Ian Babrou
|
5a651974db
|
added travis-ci file
|
2014-07-02 00:13:47 +04:00 |
|
mihasya
|
2b3ac6fe41
|
Added HTTP client override support
|
2014-05-30 16:50:35 +00:00 |
|
r--w
|
e9c3e322c8
|
Extra args for searching
|
2014-05-07 14:57:37 +02:00 |
|