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 |
|
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 |
|