|
89c18a567f
|
更新测试用例
|
2023-03-13 16:16:41 +08:00 |
|
liangzy
|
fbfb1d80a8
|
v1.0.0 修复其于 http basic auth 的bug
|
2020-04-28 14:47:58 +08:00 |
|
Paul Bonser
|
d25b7ff831
|
Merge pull request #9 from OwnLocal/es_2_and_5
ES 2 and 5
|
2017-03-02 17:59:55 -06:00 |
|
Paul Bonser
|
4b222647b4
|
Add ability to do a request and just get the raw response bytes back
|
2017-02-03 14:06:31 -06:00 |
|
Paul Bonser
|
3a66a8f6d3
|
Use the latest 1.x, 2.x, 5.x ES, build with Go 1.6 and 1.7
|
2017-02-02 20:44:51 -06:00 |
|
Paul Bonser
|
42e5dfaa73
|
Remove leftover debug print
|
2017-02-02 19:22:12 -06:00 |
|
Paul Bonser
|
167e20d669
|
Make sure we delete those test indexes, even on failure
|
2017-02-02 19:20:07 -06:00 |
|
Paul Bonser
|
782ceb74a5
|
Be a bit more flexible with error messages
|
2017-02-02 19:19:51 -06:00 |
|
Paul Bonser
|
49e38a74a2
|
Status endpoint is gone from 2.0 on
|
2017-02-02 19:09:19 -06:00 |
|
Paul Bonser
|
6c0739bec7
|
More TTL and shard zeroing
|
2017-02-02 19:09:04 -06:00 |
|
Paul Bonser
|
a6663ce61d
|
_optimize was renamed to _forcemerge in ES 2.1.0
|
2017-02-02 19:08:33 -06:00 |
|
Paul Bonser
|
4b35e6f0cf
|
Fix up for 5.x, not really sure why ttl was set in the first place
|
2017-02-02 18:54:29 -06:00 |
|
Paul Bonser
|
19c83bfeff
|
fields no longer supported in 5.x
|
2017-02-02 18:44:49 -06:00 |
|
Paul Bonser
|
7ee055cb7d
|
Delete mapping is no longer supported in 2.x+ versions of ES
|
2017-02-02 18:28:09 -06:00 |
|
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
|
22f0f3b3be
|
Add Client.DeleteByQuery rather than requiring users to pass 'DELETE' to Query
|
2017-02-02 18:04:24 -06:00 |
|
Paul Bonser
|
2bb228813f
|
Clear expected shards since that varies between versions
|
2017-02-02 18:03:38 -06:00 |
|
Paul Bonser
|
f82254f6d3
|
Check correct field to see if body should be empty
|
2017-02-02 15:19:08 -06:00 |
|
Paul Bonser
|
63b210957a
|
If no body is supplied, don't send 'null' as body
|
2017-02-02 15:08:39 -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
|
b684e69451
|
Use slices a bit more nicely
|
2017-02-01 16:59:14 -06:00 |
|
Paul Bonser
|
c2f6a74d74
|
Merge pull request #6 from OwnLocal/split_core
Split core, update testing
|
2017-02-01 15:23:08 -06:00 |
|
Paul Bonser
|
5d13647d3c
|
Handle non-string errors for ES 2+ support
|
2016-10-13 19:37:40 -05:00 |
|
Paul Bonser
|
2715203d96
|
Leave off extra leading slash in bulk requests
|
2016-10-13 02:54:52 -05: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
|
10e4302b6c
|
Use relative path to build ginkgo
|
2016-09-27 15:08:50 -05:00 |
|
Paul Bonser
|
5acff13ac5
|
Just build ginkgo into vendor/bin and use that
|
2016-09-27 14:46:09 -05:00 |
|
Paul Bonser
|
2bd116556b
|
Just use go get in the travis config to ensure ginkgo is installed
|
2016-09-27 14:42:46 -05:00 |
|
Paul Bonser
|
c83171bffe
|
ensure go vendoring is enabled before running go install
|
2016-09-27 14:39:58 -05:00 |
|
Paul Bonser
|
45269de7cc
|
Make sure ginkgo gets installed
|
2016-09-27 14:34:50 -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
|
c79b7c2b36
|
Add ginkgo for testing
|
2016-09-27 14:29:47 -05:00 |
|
Paul Bonser
|
9f7a8396bb
|
Update code to match Go style guide
|
2016-09-27 14:19:07 -05:00 |
|
Paul Bonser
|
3d78bba218
|
Add go 1.7, drop older versions of ES
|
2016-09-27 14:03:39 -05:00 |
|
Paul Bonser
|
a018ac0716
|
Rename Connection to Client
|
2016-09-27 13:56:13 -05: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 |
|