Commit Graph

418 Commits

Author SHA1 Message Date
Chris Allen
7ad9a92c86 Cut-off 2015-10-16 15:30:03 -05:00
Chris Allen
8be92c3682 version bump 2015-10-16 15:13:33 -05:00
Chris Allen
8e9e806d09 http-types 0.9 2015-10-16 15:13:12 -05: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
Chris Allen
cbd383d321 default to 7.10 2015-10-15 16:16:45 -05:00
Chris Allen
b0ecd5fb88 Merge pull request #75 from Soostone/error-type
Add a type for errors (for your consideration)
2015-10-14 11:35:26 -05:00
Chris Allen
b9b4399985 Merge pull request #74 from bitemyapp/extra-source-files
Add readme and changelog to extra source files
2015-10-08 20:46:00 -05:00
Chris Allen
b5f73f2962 Merge pull request #73 from MaxDaten/master
Fix for #38
2015-10-08 20:45:17 -05:00
Michael Xavier
b9c650ccf7 Add a type for errors
We still should discuss having a either a sum type or other affordance
for the case of parsing a response body which could be an error. You
can't just simply parse Either ESError a because aeson for some reason
provides an instance for (FromJSON a, FromJSON b) => FromJSON (Either a
b) which is highly Haskell-centric.
2015-10-08 16:56:20 -07:00
Michael Xavier
05ee536606 Add readme and changelog to extra source files
Generally seems like good practice for the readme but there's a clear
benefit to adding changelog.md to extra-source-files: it gets parsed by
hackage and linked right from the haddocks!
2015-10-08 16:20:35 -07:00
Jan-Philip Loos
a2da055dfe Add Elasticsearch 1.7.2 version to travis 2015-10-07 11:51:18 +02: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
Chris Allen
08b36be5ae Merge pull request #72 from centromere/parent-support
Added parent support to documentExists
2015-10-02 22:30:55 -05: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
John Galt
ceba8858bb Attempted to fix doctest, hlint cleanup 2015-10-02 09:06:32 -04:00
Chris Allen
83857a2b5e wut 2015-09-21 18:56:49 -05:00
John Galt
5bd802b637 Added parent support to documentExists 2015-09-15 18:46:56 -04:00
Chris Allen
7b0c8012e1 Merge branch 'master' of github.com:bitemyapp/bloodhound 2015-09-14 00:50:56 -05:00
Chris Allen
f28180c17f changes 2015-09-14 00:47:29 -05:00
Chris Allen
b169376f6b Merge pull request #71 from sjakobi/manager
Use "newManager" instead of deprecated "withManager"
2015-09-14 00:39:23 -05:00
Chris Allen
0e4c93f9a9 Merge pull request #70 from sjakobi/redundant-import
Silence redundant import warning with base-4.8.*
2015-09-14 00:38:51 -05:00
Chris Allen
64f9b2fd30 Merge pull request #69 from sjakobi/except
Replace Control.Monad.Error with CM.Except via mtl-compat
2015-09-14 00:38:05 -05:00
Chris Allen
d9061cdb7b merged 2015-09-14 00:36:52 -05:00
Chris Allen
50f5bfb7c5 release impending 2015-09-14 00:36:36 -05:00
Simon Jakobi
95e124ec7c Use "newManager" instead of deprecated "withManager"
"withManager" is deprecated since http-client-0.4.18.
2015-09-14 06:05:20 +02:00
Simon Jakobi
1eb87e58f0 Silence redundant import warning with base-4.8.* 2015-09-14 05:39:15 +02:00
Simon Jakobi
e68721c834 Replace Control.Monad.Error with CM.Except via mtl-compat
Control.Monad.Error is deprecated since mtl-2.2.1.
mtl-compat is a module that backports the Control.Monad.Except module
providing backwards compatibilty for users of mtl <= 2.2.0.
2015-09-14 05:30:00 +02:00
Chris Allen
09074d773f Merge pull request #67 from bitemyapp/65-monadmask
Take a stab at deriving Monad(Throw|Catch|Mask)
2015-09-10 11:42:29 -05:00
Michael Xavier
7e0bc41595 Take a stab at deriving Monad(Throw|Catch|Mask) 2015-09-05 13:39:18 -07:00
Chris Allen
d87027d4c5 Merge pull request #40 from silkapp/boost-in-match-query
Add support for boosting fields in match query
2015-08-31 11:03:50 -05:00
Thomas van Noort
984ca41e77 Merge remote-tracking branch 'upstream/master' into boost-in-match-query
Conflicts:
	src/Database/Bloodhound/Client.hs
2015-08-31 10:15:13 +02:00
Chris Allen
68ff8c21ab Merge pull request #39 from silkapp/source-in-search
Add support for source filtering in search
2015-08-28 10:30:17 -05:00
Thomas van Noort
e51b515427 Merge remote-tracking branch 'upstream/master' into boost-in-match-query
Conflicts:
	src/Database/Bloodhound/Client.hs
2015-08-28 11:46:35 +02: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
Chris Allen
40204d2e38 Merge pull request #64 from Soostone/export-bh
export BH constructor
2015-08-26 11:15:22 -05:00
Michael Xavier
e02e6e2588 export BH constructor 2015-08-26 08:38:26 -07:00
Chris Allen
2034616f2d Merge pull request #63 from bermanjosh/scanType
url query encoding bug
2015-08-23 12:16:33 -05:00
Chris Allen
ffa7218a3c different GHC versions 2015-08-23 11:56:06 -05:00
Chris Allen
89dae7d540 stack setup 2015-08-23 11:48:57 -05:00
Chris Allen
ff2a8923a0 fuck it, use Stack 2015-08-23 11:45:14 -05:00
Chris Allen
165c7283c7 nuke Cabal 2015-08-23 11:38:58 -05:00
Chris Allen
720c83ff5d nuke 2015-08-23 11:32:52 -05:00
Chris Allen
abfdf08c2d bump versions 2015-08-23 11:28:43 -05: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
Josh Berman
a4a15751a9 url query encoding bug 2015-08-18 16:26:51 +03:00
Thomas van Noort
2d6b668c34 Merge remote-tracking branch 'upstream/master' into boost-in-match-query
Conflicts:
	src/Database/Bloodhound/Client.hs
2015-08-18 11:21:18 +02: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