Commit Graph

692 Commits

Author SHA1 Message Date
Josh Berman
23df21d88d Fix "tie_breaker" to/fromJSON in MultiMatchQuery 2016-12-15 11:22:19 +02:00
Josh Berman
27d3b7ad69 Update .travis.yml 2016-12-14 06:25:52 +02:00
Josh Berman
bb48ffebda Update .travis.yml 2016-12-14 05:53:59 +02:00
Josh Berman
bebc01c220 Update .travis.yml 2016-12-14 05:50:02 +02:00
Josh Berman
0255c33cdc Update .travis.yml 2016-12-14 05:47:42 +02:00
Josh Berman
fdd1b2dd26 Update .travis.yml 2016-12-14 05:40:57 +02:00
Josh Berman
4dd3d0a1b9 Update .travis.yml 2016-12-13 18:47:19 +02:00
Josh Berman
2f6373371e Update .travis.yml 2016-12-13 18:29:09 +02:00
Josh Berman
a9cce64246 Update .travis.yml 2016-12-13 15:44:45 +02:00
Josh Berman
c8390ded1d Update .travis.yml 2016-12-13 15:38:59 +02:00
Josh Berman
6946d163a4 manually set java_home 2016-12-05 07:19:24 +02:00
Josh Berman
7104f7e0f7 Try to default java easily 2016-12-04 22:27:39 +02:00
Josh Berman
1f7d4a51d6 switch java 2016-12-04 20:20:20 +02:00
Josh Berman
843d6e2248 newer java 2016-12-04 18:42:41 +02:00
Josh Berman
3e9ae466c2 split ES download links 2016-12-04 17:37:41 +02:00
Josh Berman
96c08b840e doctests imports 2016-12-04 16:50:04 +02:00
Josh Berman
00726fbe31 forgot the travis file 2016-12-04 15:57:04 +02:00
Josh Berman
c0e1852502 Both V1 and V5 modules and tests
A new module structure for both V1 and V5, and seperate test suites.
Also added a new cabal flag for travis testing.
2016-12-04 15:53:06 +02:00
Josh Berman
cc68a5a69f More missing plugin fields 2016-12-01 15:36:02 +02:00
Josh Berman
ca25c0dc16 Merge remote-tracking branch 'upstream/master' into es5
Conflicts:
	stack-8.0.yaml
	tests/tests.hs
2016-12-01 14:57:41 +02:00
Josh Berman
437bc3d16f Elastic 5.0 compatibility
This commit moves bloodhound library to use elastic 5.0.
The filter type was changes to be a wrapper for queries, and some
new APIs are met.

It is *not* feture-complete, however, all tests pass.
2016-11-29 13:18:01 +02:00
Chris Allen
f564d795c6 Merge pull request #156 from bitemyapp/next-release
Prepare for 0.12.0.0 release.
2016-11-22 18:32:33 -06:00
Michael Xavier
8c5392424b Prepare for 0.12.0.0 release. 2016-11-22 15:12:34 -08:00
Chris Allen
ef74b99ebf Merge pull request #155 from phadej/drop-derive
Switch derive to generics-sop
2016-11-22 15:26:53 -06:00
Oleg Grenrus
6003d8a967 Test with GHC8.0 on travis 2016-11-18 19:43:04 +02:00
Oleg Grenrus
3534c68f2e Switch derive to generics-sop
Until https://github.com/nick8325/quickcheck/pull/112 is merged and
released
2016-11-18 19:43:04 +02:00
Oleg Grenrus
4170273805 Switch derive to generics-sop
Until https://github.com/nick8325/quickcheck/pull/112 is merged and
released
2016-11-18 12:19:41 +02:00
Chris Allen
0ee54ec087 Merge pull request #153 from phadej/aeson-1
Relax aeson and hspec upper bounds
2016-11-17 23:10:15 -06:00
Chris Allen
828b319940 Merge pull request #154 from phadej/patch-1
Make build-type: Simple
2016-11-17 13:59:55 -06:00
Oleg Grenrus
9141f0c0db Make build-type: Simple 2016-11-17 09:10:46 +02:00
Oleg Grenrus
71339172a1 Relax aeson and hspec upper bounds
Also update stack-8.0.yaml to use newer nightly, with aeson-1.0.*
2016-11-17 09:03:32 +02:00
Chris Allen
0027a45506 Merge pull request #150 from bitemyapp/149-qc-failure
Fix quickcheck failure due to ambiguous parse
2016-11-03 17:04:23 -05:00
Chris Allen
8930ea1b44 Merge pull request #151 from andrewthad/index_status_check
add function for checking index status
2016-11-03 17:03:58 -05:00
Andrew Martin
cb915c723b add function for checking index status 2016-11-03 16:57:22 -04:00
Michael Xavier
076f69cf45 Derive typeable for older GHC 2016-11-03 10:10:30 -07:00
Michael Xavier
d93e0d51ea Fix quickcheck failure due to ambiguous parse
Due to the way node attr filters are serialized (attr name as an object
key), its possible to express a value in haskell that will parse
ambiguously. If we wanted to move the invariant into the types we could
use a map I guess but whatever.

I ran this updated test through 100,000 tests and we're all green.
2016-11-02 19:37:03 -07:00
Chris Allen
f43b7764a9 Merge pull request #147 from bitemyapp/drop-doctest-prop
Drop doctest-prop
2016-11-02 16:44:07 -05:00
Michael Xavier
00016c2838 Drop doctest-prop
AFAICT we weren't even using it anymore. We imported the function assert
and then never used it in the doctests.
2016-10-31 14:31:03 -07:00
Chris Allen
255e39e1da Merge pull request #143 from 23Skidoo/patch-1
Fix an example.
2016-10-18 12:23:52 -05:00
Mikhail Glushenkov
b1ee4dc73b Also fix doctests. 2016-10-18 08:10:07 +01:00
Mikhail Glushenkov
bc21f0beac Fix the build with QuickCheck 2.9. 2016-10-03 11:51:28 +01:00
Mikhail Glushenkov
35ceab069e Update .gitignore. 2016-10-03 11:46:08 +01:00
Mikhail Glushenkov
d046ab8fc6 Also fix tests. 2016-10-03 11:46:08 +01:00
Mikhail Glushenkov
288d0cb787 Fix an example.
No need to specify mapping name twice, since `putMapping` does `PUT
/$INDEXNAME/_mappings/$MAPPINGNAME`. In fact, specifying the mapping
name here breaks upsert semantics (you get `Root type mapping not
empty after parsing!` exception).
2016-10-03 11:46:02 +01:00
Chris Allen
6fbdfb7aaf Merge pull request #142 from 23Skidoo/patch-1
Comment out comments in the example properly.
2016-09-29 11:55:13 -05:00
Mikhail Glushenkov
ae3bb991c7 Comment out comments in the example properly. 2016-09-29 17:53:56 +01:00
Chris Allen
7d718ef3b0 Merge pull request #139 from bermanjosh/nodePluginVersion
Wrap VersionNumber and LoadAvgs in Maybe #138
2016-09-26 15:56:10 -05:00
Josh Berman
833020f0ab Update changelog for version 0.12.0.0 2016-09-26 15:53:47 +03:00
Josh Berman
313d4a7e2a bump version to 0.12 2016-09-26 15:45:21 +03:00
Josh Berman
2c79525f6f Allow VersionNumber parser to fail
Wrap the VersionNumber in a newtype MaybeNA which checks for the String
"NA" specifically, allowing for the VersionNumber parser to fail when
needed.

Also returns the load_average parser to a simpler (more correct) version.
2016-09-22 22:17:56 +03:00