Commit Graph

588 Commits

Author SHA1 Message Date
Michael Xavier
8ccc4fc4a8 More optional fields 2016-09-17 18:25:03 -07:00
Michael Xavier
172be51b84 Turns out some disk fields are not always present 2016-09-14 19:25:12 -07:00
Michael Xavier
df27a379bb Merge branch 'master' into node-stats-api 2016-09-14 18:18:28 -07:00
Michael Xavier
8672b4f079 Wrap up types and smoke test for stats API 2016-09-14 18:15:32 -07:00
Michael Xavier
433e3bbebc WIP: more types added 2016-08-31 19:55:45 -07:00
Chris Allen
5589154aa8 Merge pull request #135 from alistair/date_improvements
Format date as dd-MM-yyyy to support stricter 2.0+
2016-08-30 10:10:50 -05:00
Alistair Bush
9b9604b8b7 Format date as dd-MM-yyyy to support stricter 2.0+ 2016-08-30 21:01:16 +12:00
Chris Allen
041579426f Merge pull request #133 from alistair/parent_child_test_fix
Fix parent child tests for 2.0.
2016-08-25 11:38:56 -05:00
Alistair Bush
a8770c09be Fix parent child tests for 2.0. 2016-08-26 00:12:10 +12:00
Chris Allen
d555cbaa49 Merge pull request #131 from alistair/cardinality_aggs
Add support for cardinality aggregations
2016-08-24 13:28:03 -05:00
Chris Allen
a0a33b882f Merge pull request #132 from alistair/es20_error_responses
Beginnings of ES2 support - status page and error handling
2016-08-24 10:42:13 -05:00
Alistair Bush
0b810f0f10 Change error parsing to support basic es20 error responses 2016-08-23 23:15:15 +12:00
Alistair Bush
99987f70a9 Support 2.0+ status page response 2016-08-23 23:15:15 +12:00
Alistair Bush
06dc6f4398 Add support for cardinality aggregations
https://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-aggregations-metrics-cardinality-aggregation.html
2016-08-22 22:49:42 +12:00
Michael Xavier
976143c85a WIP node stats API 2016-08-21 14:09:21 -07:00
Chris Allen
1467ffee92 CPP the Arbitrary instance for the 7.8 users 2016-08-21 13:09:03 -05:00
Chris Allen
8cff5d4488 Merge branch 'master' of github.com:bitemyapp/bloodhound 2016-08-21 12:52:54 -05:00
Chris Allen
5f2951ebc9 QuickCheck 2.8 and newer only 2016-08-21 12:52:53 -05:00
Chris Allen
a7d36ec111 Merge pull request #130 from dinnu93/master
Added the OverloadedStrings extension to first example in README.md
2016-08-21 12:23:00 -05:00
Dinesh Padisetti
a5d62b3ccf Added the OverloadedStrings extension
The first example doesn't work without the OverloadedStrings extension. The Server keeps demanding it's argument to be of the type Text
2016-08-21 20:11:04 +05:30
Chris Allen
aa8e9abd35 tinkering with 8.0 nightly 2016-08-21 00:30:16 -05:00
Chris Allen
4f0f31deda Merge pull request #128 from Soostone/nodes-api
Nodes api
2016-08-21 00:00:48 -05:00
Michael Xavier
ee2492134a Paper over some API differences in ES <= 1.5.2 2016-08-10 18:45:12 -07:00
Michael Xavier
69eeed43dc Clean up TODOs 2016-08-09 10:19:07 -07:00
Michael Xavier
42d8bb4988 Finish with nodes API 2016-08-09 09:56:11 -07:00
Michael Xavier
7cc9e5be04 Merge branch 'master' into nodes-api 2016-08-08 14:24:09 -07:00
Michael Xavier
2d2dcb59b2 WIP: add initial types for nodes API 2016-08-08 14:23:07 -07:00
Chris Allen
947ad42ac9 Merge pull request #127 from Soostone/haddock-sections
Break up client API into sections
2016-08-08 12:30:32 -05:00
Michael Xavier
2c15504227 Break up client API into sections 2016-08-08 10:08:57 -07:00
Chris Allen
4a7d9fec51 Merge pull request #126 from Soostone/snapshot-restore
Snapshot restore
2016-08-05 23:25:01 -05:00
Michael Xavier
5d76570d28 Add note about verify API
[ci skip]
2016-07-29 16:15:31 -07:00
Michael Xavier
8a66203662 Deprecate es 1.2.4 for tests
I could either do this or disable snapshot restore testing on 1.2, but
the ES website doesn't even *keep* docs on es 1.2 anymore so I can't
really find out how the API differs. I figure that's a fairly strong
signal that we could just not support that version offically anymore.
2016-07-29 15:03:04 -07:00
Michael Xavier
3db652beb8 No verification in ES < 1.4 2016-07-29 14:46:49 -07:00
Michael Xavier
0164535ce9 Do some toggling in test around version:
- sets up a snapshot repo in travis so versions newer than 1.5 can test snapshots
- does not test snapshots if the system is incapable. I can't in good
  conscience modify a developer's ES config for the sake of testing, so
  on your local machine if you have no repo configured and ES >= 1.6, we
  skip snapshot tests.
- Disable problematic snapshot options for old versions of ES in
  test. Add warning to the docs.
2016-07-29 12:59:05 -07:00
Michael Xavier
ac5d6f6827 Use IndexSelection for snapshot/restore
In the future, IndexSelection can fully support multi-index syntax, so
we should have any API that supports that syntax using IndexSelection so
it gets upgrades for free.
2016-07-25 09:30:51 -07:00
Chris Allen
375976507d Merge pull request #125 from Soostone/http-client-0.4
Set minimum lower bound on http-client
2016-07-22 08:04:57 -05:00
Michael Xavier
ec2bfeb793 Merge branch 'http-client-0.4' into snapshot-restore 2016-07-21 16:04:37 -07:00
Michael Xavier
7d19a19f90 Set minimum lower bound on http-client
There were either some functions removed in the http-client 0.4 line or
ones added in 0.5 but after binary searching the version range, 0.4.30
seems to be the magic number where everything compiles and the tests
pass without having to do any CPP or worse.
2016-07-21 16:03:17 -07:00
Michael Xavier
42040f8318 Wrap up feature 2016-07-21 10:35:09 -07:00
Michael Xavier
a451b84b8d Test restore API 2016-07-21 09:26:31 -07:00
Michael Xavier
051a15ec05 WIP testing restore API 2016-07-20 16:47:07 -07:00
Michael Xavier
841dfa7079 Add and test snapshot apis 2016-07-20 15:28:21 -07:00
Michael Xavier
abb7052f57 Tests passing with snapshots repo API 2016-07-20 10:58:21 -07:00
Michael Xavier
06819a6b44 WIP snapshot-restore API
Snapshots API partly implemented. First trivial test case is passing.

This could get tricky as our test suite spans many versions. For
instance, 1.7 is when patterns got introduced.
2016-07-19 16:15:17 -07:00
Chris Allen
26d4e547dd Merge pull request #123 from Soostone/zero-replicacount
Support replica count of 0
2016-07-08 12:42:34 -05:00
Michael Xavier
6fe1347e24 Support replica count of 0
I can see why the smart constructor for shard count has a minimum of 0
but a replica count of 0 is totally valid.
2016-07-08 09:42:15 -07:00
Chris Allen
584ffcff59 Fixing CI for 7.8 2016-07-06 15:43:19 -05:00
Chris Allen
54a18a4f12 upload command 2016-07-06 15:36:19 -05:00
Chris Allen
0403b19a44 http-client-0.5.0 support 2016-07-06 15:33:39 -05:00
Chris Allen
e4ff3e4728 Merge pull request #87 from MailOnline/read-instances
Add Read instances
2016-05-26 13:26:58 -06:00