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
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
0403b19a44
http-client-0.5.0 support
2016-07-06 15:33:39 -05:00
Michael Xavier
afd2358181
Add list indices feature
2016-03-02 11:32:44 -08:00
MHova
08c7cb3b8e
Remove unused ServerVersions
2016-02-04 14:48:16 -08:00
Chris Allen
27c29236d8
Merge pull request #94 from Soostone/optimize
...
Implement index optimization
2016-02-03 00:05:01 -06:00
MHova
9d07301e3f
Add test for Missing Aggregation
2016-02-02 16:32:38 -08:00
Michael Xavier
1889edd4b4
Implement index optimization
2016-01-27 10:43:53 -08:00
Chris Allen
c3df59771b
Merge pull request #84 from Soostone/request-hook
...
Add Request hook
2015-12-27 07:33:11 -06:00
Dmitry Dzhus
f20a8b7f7d
Test _update API
2015-12-22 17:28:23 +00:00
Michael Xavier
e75b167d9d
Don't use searchAll in test
...
This is probably fine for travis but if you have an elastic search
service running with other data in it, it will break the test suite.
2015-12-04 09:30:50 -08:00
Michael Xavier
10666e6b17
Loosen IndexAliasesSummary
...
Looks like 1.4.1 produces different outputs (namely an empty object
instead of {aliases: null}), even though 1.4.5 does the right
thing. This should hopefully clear up the one sticking case in the
travis build.
2015-11-18 16:12:55 -08:00
Michael Xavier
8a8492dfdd
Travis-driven-development
2015-11-18 15:52:19 -08:00
Michael Xavier
8f7ca41582
Try to debug travis errors on some ES versions
2015-11-18 15:36:42 -08:00
Michael Xavier
a27cec5fda
Finish up index settings feature
2015-11-16 11:05:46 -08:00
Michael Xavier
e28dd023b6
WIP index settings parser tests
...
Some parses are ambiguously ordered by nature, so tests are unduely
failing. I'm going to need to create a typeclass like ApproxEq that is
order-ivariant in some cases.
2015-11-14 19:54:01 -08:00
Michael Xavier
4269d2787b
Add date_range aggregation
...
Note that this commit is based off of the low-level-scroll PR as a
starting point.
2015-11-13 16:23:45 -08:00
Michael Xavier
53f4095b53
Add some finishing touches
2015-11-02 19:34:58 -08:00
Michael Xavier
27e244e9d1
Fix bugs with constant score filter/queries
2015-10-28 19:47:03 -07:00
Michael Xavier
1bffa02a16
All parsing tests passing now!
2015-10-28 19:13:29 -07:00
Michael Xavier
4768fbdabf
Make some disambiguating type changes
...
Tests are now passing for very small sets. Tests otherwise take an
eternity. May need to manually specify instances for Query and Filter to
explicitly put in size reduction.
2015-10-27 21:50:37 -07:00
Michael Xavier
e07c0c460e
Add test for simple case of creating an alias
...
Once we I the failing quickcheck tests on the more complex alias case,
we can add a more complex integration test.
2015-10-26 09:06:02 -07:00
Michael Xavier
a72311a60b
WIP: fix several bugs with parsers, more to go
...
Also caught a bug in one of the existing ToJSON instances
2015-10-23 22:05:39 -07:00
Chris Allen
5c24e8c410
warnings, old-locale
2015-10-19 11:30:54 -05:00
Chris Allen
c518b8ed7f
warnings clean up
2015-10-19 11:17:40 -05:00
Michael Xavier
7d4ffefc15
Add test for error parsing
2015-10-16 23:58:36 -07:00
Chris Allen
1134cc743a
date histogram aggregation tests passing
2015-10-16 15:07:31 -05:00
Chris Allen
891eee61a3
tests passing
2015-10-16 15:05:59 -05:00
Chris Allen
225f13abc0
what in the sam hell
2015-10-15 16:41:17 -05:00
Jan-Philip Loos
1acc69e62b
Fix for bitemyapp/bloodhound#38
...
Utilize `Network.URI.escapeURIString` to escape characters before parsing a string into an URI
2015-10-07 11:30:29 +02:00
Jan-Philip Loos
d387749a51
Add failing test-case for bitemyapp/bloodhound#38
2015-10-07 11:17:24 +02:00
John Galt
b6904b2cea
Added unit test for documentExists
...
This tests that the parent/child relationship is working properly.
2015-10-02 18:38:58 -04:00
Thomas van Noort
dfa897d341
Merge remote-tracking branch 'upstream/master' into source-in-search
...
Conflicts:
src/Database/Bloodhound/Client.hs
2015-08-28 11:45:33 +02:00
Josh Berman
fa9cff1ce8
limit change scanSearch to given index and mapping to better match existing search functionality; add tests
2015-08-23 16:05:35 +03:00
Thomas van Noort
11b77c94e7
Merge remote-tracking branch 'upstream/master' into source-in-search
...
Conflicts:
src/Database/Bloodhound/Client.hs
src/Database/Bloodhound/Types.hs
tests/tests.hs
2015-08-18 11:15:55 +02:00
Josh Berman
e89cb58269
update tests for types
2015-08-17 20:24:42 +03:00
Thomas van Noort
f615ac26c2
Merge remote-tracking branch 'upstream/master' into source-in-search
...
Conflicts:
src/Database/Bloodhound/Client.hs
src/Database/Bloodhound/Types.hs
tests/tests.hs
2015-08-12 11:46:12 +02:00
Chris Allen
f185e9d1e2
Merge pull request #59 from centromere/index-settings-fix
...
Fixed bug with IndexSettings serialization
2015-07-29 13:01:32 -05:00
John Galt
60f1c70f4f
Set shards/replicas to 1/0 for testing
2015-07-29 12:20:24 -04:00
Michael Xavier
b23bd7a2ea
Add support for filter aggregations
2015-07-28 15:29:13 -07:00
Michael Xavier
463fdc8027
Add value_count aggregation support
...
This also adds a newtype for script. I would recommend the "Either Text
Text" for TermsAggregation be instead Either FieldName Script, but that
isn't directly related to this PR.
2015-07-28 09:17:25 -07:00
Michael Xavier
d9e8da1fc9
Add test case for missing document parse
2015-07-27 15:15:04 -07:00
Michael Xavier
92b520154e
Eliminate partiality in EsResult
...
This will affect #57
2015-07-27 14:06:13 -07:00
John Galt
72c1939523
Added fields support to Search
2015-07-23 16:55:11 -04:00