Commit Graph

740 Commits

Author SHA1 Message Date
Chris Allen
8192af8619 Merge pull request #203 from andrewthad/total_fields_limit
added maximum mapping size
2017-08-30 17:21:58 -05:00
Chris Allen
ac096ce023 Merge pull request #201 from andrewthad/bulk_create_encoding
bulk create encoding
2017-08-30 17:21:51 -05:00
Chris Allen
a49fd8e355 Merge pull request #200 from andrewthad/delete_alias
add function for deleting alias
2017-08-30 17:21:43 -05:00
Andrew Martin
6e8081751b add test for deleting alias 2017-08-23 16:01:22 -04:00
Andrew Martin
2a44ce463e add test for bulk create encoding 2017-08-23 15:37:42 -04:00
Andrew Martin
f5129507d9 add test for setting mapping fields limit 2017-08-23 14:58:32 -04:00
Chris Allen
b879d5fc1d Merge pull request #204 from jagare/examples-location
Use Types.LatLon for location
2017-08-11 13:30:32 -05:00
Chris Allen
4aea5020e3 Merge pull request #207 from jagare/examples_readme
Run instructions in examples README
2017-08-10 13:28:24 -05:00
Chris Allen
bf1b373a23 Typo 2017-08-10 13:28:18 -05:00
Chris Allen
b0862f2560 Merge pull request #206 from jagare/test_default_es5
ES5 default for tests
2017-08-10 10:15:50 -05:00
Lars Jägare
55901df202 Run instructions in examples README 2017-08-10 15:16:39 +02:00
Lars Jägare
e10e55db66 ES5 default for tests 2017-08-10 14:28:46 +02:00
Lars Jägare
b3c602d83e Use Types.LatLon for location 2017-08-10 11:07:45 +02:00
Andrew Martin
a7deed6a82 added maximum mapping size 2017-08-07 13:30:47 -04:00
Andrew Martin
087ecbc7ab bulk create encoding 2017-08-07 11:58:56 -04:00
Chris Allen
e34d30285b Fix V5 content-type header warning 2017-08-03 22:35:32 -05:00
Chris Allen
1ef8115292 Merge branch 'master' of github.com:bitemyapp/bloodhound 2017-08-03 21:27:45 -05:00
Chris Allen
3336db4f69 mod-build 2017-08-03 21:27:44 -05:00
Chris Allen
560a55ab7f Merge pull request #183 from 23Skidoo/ghc-8.2
Bump dependencies to support GHC 8.2
2017-07-17 11:49:23 -05:00
Michael Xavier
616dc59bdf Merge pull request #195 from bitemyapp/194-travis-pls
Add travis output to prevent stalling
2017-07-13 08:54:38 -07:00
Chris Allen
c79449c189 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 2017-07-13 01:11:07 -05:00
Chris Allen
e4ff7c2d44 God dammit travis stop dropping the quotes 2017-07-13 01:00:31 -05:00
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
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