Chris Allen
b5e3798b6d
no-terminal, 2000 second cache timeout, cache apt
2017-07-13 00:39:22 -05:00
Chris Allen
7ad412203e
Caching, generic language
2017-07-13 00:34:52 -05:00
Chris Allen
5020f716a5
Newer Stack, j2, fast build, travis_wait
2017-07-13 00:23:59 -05:00
Michael Xavier
a828dde4e4
Add travis output to prevent stalling
...
This is for #194
2017-07-12 18:21:31 -07:00
Will Jones
23e8a8e1c7
Fix up tests for script data types.
2017-07-12 17:35:30 +01:00
Will Jones
2be0cb9014
Clean up script fields.
2017-07-12 16:35:38 +01:00
Will Jones
dda50b186c
Add support for stored scripts with IDs.
2017-07-04 15:09:23 +01:00
Will Jones
aeb5de208a
Stub out function_score queries.
2017-06-20 12:32:08 +01:00
Chris Allen
05a9094d85
Merge pull request #186 from tmcgilchrist/topic/fixup_warnings
...
Fixup warnings about unused function and redundant constraints.
2017-06-06 16:52:36 -05:00
Tim McGilchrist
029d91e5f3
Fixup warnings about unused function and redundant constraints.
2017-06-02 08:59:29 +10:00
Andrew Martin
dc1e45017b
add function for deleting alias
2017-05-31 16:06:57 -04:00
Chris Allen
79b4f90163
Merge pull request #182 from bermanjosh/suggest
...
Support for 'Suggesters' and 'Template Queries'
2017-05-30 20:41:41 -06:00
Chris Allen
b1df6e5f91
Merge branch 'master' of github.com:bitemyapp/bloodhound
2017-05-23 11:31:12 -05:00
Chris Allen
db34d72eb4
Formatting
2017-05-23 11:31:07 -05:00
Mikhail Glushenkov
57f18064bf
Silence a GHC 8.2 warning.
...
The warnings were about NoMonoLocalBinds making type inference
fragile:
tests/V1/tests.hs:1876:17: warning: [-Wsimplifiable-class-constraints]
• The constraint ‘SOP.All SOP.SListI (SOP.GCode a)’
matches an instance declaration
instance forall k (f :: k -> Constraint) (xs :: [k]).
(Generics.SOP.Constraint.AllF f xs, SOP.SListI xs) =>
SOP.All f xs
-- Defined in ‘Generics.SOP.Constraint’
This makes type inference for inner bindings fragile;
either use MonoLocalBinds, or simplify it using the instance
• In the type signature:
sopArbitrary :: forall a.
(Generic a,
SOP.GTo a,
SOP.All SOP.SListI (SOP.GCode a),
SOP.All2 Arbitrary (SOP.GCode a)) =>
Gen a
2017-05-22 20:06:52 +01:00
Mikhail Glushenkov
1c5dff504d
Bump dependencies to support GHC 8.2.
2017-05-22 20:06:29 +01:00
Mikhail Glushenkov
438733f9d2
Update .gitignore.
2017-05-22 19:47:04 +01:00
Josh Berman
94e3670650
merge upstream
2017-05-17 08:49:38 +03:00
Josh Berman
a3784fab7d
add tests for "tiebreaker" as requested in #172
2017-05-17 08:11:15 +03:00
Chris Allen
0bf1cb784c
8.x
2017-05-16 13:07:37 -05:00
Josh Berman
56a9f6d021
Merge remote-tracking branch 'upstream/master' into suggest
2017-05-15 08:08:37 +03:00
Josh Berman
ca5e5cd168
Add 'mkPhraseSuggesterCollate' helper function
2017-05-09 12:46:11 +03:00
Josh Berman
3ce3482d57
Reapply fix from #172
2017-05-09 12:25:21 +03:00
Chris Allen
c15440481a
Merge pull request #181 from dawei-dev/patch-1
...
Fix typo
2017-05-04 09:20:44 -05:00
Dawei LIU
d311e60920
Fix typo
2017-05-04 08:08:52 +02:00
Josh Berman
a8b5c618b1
Merge remote-tracking branch 'upstream/master' into suggest
2017-04-26 15:29:54 +03:00
Josh Berman
bd513b7471
add typeable instance for ghc7.8
2017-04-26 14:37:04 +03:00
Josh Berman
c9cabf8fb7
use newer 'unordered-containers' with GHC 7.8
2017-04-26 13:08:03 +03:00
Josh Berman
e9725108b0
Add suggester to V1
2017-04-25 18:33:43 +03:00
Chris Allen
53defceb7d
Version bumped to 0.14.0.0
2017-04-19 18:35:21 -05:00
Chris Allen
f816ed9eec
Aeson 1.2, changelog
2017-04-19 18:34:56 -05:00
Josh Berman
f535e7e99d
Add support for 'Phrase Suggester' (V5)
...
Adds the ability to attach a 'suggester' to a query.
A few notes:
* This commit is only V5. I hope to port it to V1 as well.
* Only one suggestion request / response is supported per-query.
* Suggestions are only supported on the '_search' endpoint (not the
'_suggest' endpoint.
2017-04-19 20:21:14 +03:00
Josh Berman
a6d1114103
add 'Suggest' types with to/from JSON instances and tests
2017-04-18 21:41:42 +03:00
Josh Berman
fc6fe99a68
Add support for template queries
2017-04-18 16:42:32 +03:00
flip111
c5bcfd1e2a
Update Client.hs
...
fixed typo
2017-03-30 01:06:27 +02:00
flip111
f00acae1e4
Update Client.hs
...
Addresses https://github.com/bitemyapp/bloodhound/issues/107
2017-03-30 01:05:23 +02:00
Chris Allen
bab35650c3
Merge pull request #177 from shmish111/master
...
add stats aggregation
2017-03-23 16:04:10 -05:00
David Smith
f4243f4750
fixed stats agg test
2017-03-23 08:34:17 +00:00
David Smith
b547b18f33
add stats aggregation
2017-03-22 17:10:11 +00:00
Chris Allen
b3e5c10ac0
Merge pull request #176 from justinwhite/master
...
Fix typo
2017-03-07 01:59:02 -06:00
Justin White
a9e893ea76
Fix typo
2017-03-06 23:30:11 -07:00
Michael Xavier
e7eab663c4
Merge pull request #175 from WraithM/master
...
Sorted version of getInitialScroll for V5 client
2017-03-01 17:40:44 -08:00
Matthew Wraith
b7865504e4
sorted version of getInitialScroll for V5 client
2017-02-20 11:24:30 -06:00
Chris Allen
2f0676d73c
hspec-2.4 compatibility
2017-02-14 12:39:28 -06:00
Chris Allen
17c8266121
Merge pull request #174 from bitemyapp/drop-doctests
...
Drop doctests
2017-02-14 12:16:08 -06:00
Michael Xavier
57549f254f
remove boilerplate lib file
2017-02-13 11:19:21 -08:00
Michael Xavier
602975445a
Add extra dependencies for other examples
2017-02-12 14:30:42 -08:00
Michael Xavier
de61ab7948
Try putting examples in the root stack yaml
2017-02-12 11:39:15 -08:00
Michael Xavier
9f75c4e7e5
First stab at removing doctests
...
This is for #173
Not sure how to handle all the exposition removed from the
README. Maybe I should leave it? It doesn't really fit that neatly
into examples because a lot of the coode is just introducing data
types and linking off to ES docs.
2017-02-10 15:21:14 -08:00
Michael Xavier
819ee1416b
Merge pull request #171 from bitemyapp/semigroups
...
Semigroups
2017-02-10 11:33:40 -08:00