Commit Graph

692 Commits

Author SHA1 Message Date
Josh Berman
e9725108b0 Add suggester to V1 2017-04-25 18:33:43 +03: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
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
Michael Xavier
0e0ed4a877 Qualify some troublesome imports 2017-02-01 13:02:52 -08:00
Michael Xavier
edaac67fcb Also add Semigroup superclass to v5 2017-02-01 12:56:27 -08:00
Michael Xavier
0f6becf27a Add semigroups instances 2017-02-01 11:45:42 -08:00
Chris Allen
1ea188e069 vector-0.12.0.0 2017-01-31 13:36:38 -06:00
Chris Allen
ce1e38e055 Merge pull request #168 from bermanjosh/subAggs
Sub aggs
2017-01-30 14:47:33 -06:00
Josh Berman
4661e78387 change stack.yaml type 2017-01-30 20:59:58 +02:00
Josh Berman
237144c9c9 update travis and Makefile 2017-01-30 20:06:03 +02:00
Josh Berman
576e25dfb3 more specific sub-agg test; updated plain stack.yaml 2017-01-30 12:05:29 +02:00
Josh Berman
895df29b9f fix sub-aggs and add top_hits agg 2017-01-30 10:15:14 +02:00
Josh Berman
79d4eda49f failing sub-aggs test 2017-01-30 10:12:49 +02:00
Chris Allen
fc6e1cc045 Merge pull request #167 from bermanjosh/lessTests
lower quicktests to 500
2017-01-22 12:47:09 -06:00
Josh Berman
d4aaa3a8cf lower quicktests to 500 2017-01-22 11:29:01 +02:00
Chris Allen
1d3c3558e3 Merge pull request #158 from bermanjosh/es5
Es5
2017-01-19 11:53:42 -06:00
Josh Berman
b3d943c31f merge master 2017-01-16 13:46:07 +02:00
Josh Berman
4343d8fb7e disable es2 tests 2017-01-12 22:26:38 +02:00
Michael Xavier
de5d9c863e Prepare 0.12.1.0 2017-01-11 18:16:10 -08:00
Chris Allen
974733bce7 Merge pull request #165 from bitemyapp/aeson-1.1
Aeson 1.1
2017-01-11 18:10:01 -06:00
Michael Xavier
908e23ead4 Oh yeah, old GHCs need that typeable 2017-01-11 12:59:10 -08:00
Michael Xavier
167426efc4 Allow aeson 1.1
We'll force it in stack-8.0.yaml because its closest to the LTS that
will actually have it. Not even nightly has aeson-1.1 yet, since
they're trying to get as many packages onboard as possible beforehand.
2017-01-11 09:46:24 -08:00
Michael Xavier
6cc41ed2b9 Drop redundant constraints 2017-01-11 09:35:05 -08:00
Josh Berman
beef542447 update allow_failures to match 2017-01-11 08:54:29 +02:00
Josh Berman
b552f154e6 fix es2 download link in travis.yml 2017-01-11 06:52:43 +02:00
Josh Berman
b28ab4a517 update ignore 2017-01-11 06:38:47 +02:00
Josh Berman
c8c8239af8 Add elastic 2 tests 2017-01-11 06:09:46 +02:00
Josh Berman
b2c4b96140 merge 2017-01-04 21:18:17 +02:00
Michael Xavier
244a123fd9 Learn to spell, Michael 2016-12-17 14:45:22 -08:00
Michael Xavier
8f81d36141 Lets up quickcheck tests 100 -> 2000
RIP Travis. For #160
2016-12-17 14:00:05 -08:00
Michael Xavier
f3dcbd4440 Merge pull request #159 from bermanjosh/patch-1
Fix "tie_breaker" to/fromJSON in MultiMatchQuery
2016-12-17 13:56:59 -08:00
Michael Xavier
c432993313 Don't generate problematic geopoint names
Turns out that if you have fields from and to, that won't play nicely
with geopoints. Nothing we can do but this should resolve the test error.
2016-12-17 13:55:11 -08:00
Josh Berman
4fcfd598f9 Merge branch 'es5' of github.com:bermanjosh/bloodhound into es5 2016-12-15 11:47:53 +02:00
Josh Berman
30820f97bc Update .travis.yml 2016-12-15 11:46:12 +02:00
Josh Berman
a25722620b doctests imports
split ES download links

newer java

switch java

Try to default java easily

manually set java_home

Update .travis.yml

Update .travis.yml

Update .travis.yml

Update .travis.yml

Update .travis.yml

Update .travis.yml

Update .travis.yml

Update .travis.yml
2016-12-15 11:45:31 +02:00