Commit Graph

48 Commits

Author SHA1 Message Date
Chris Allen
54c53c6923
Merge pull request #241 from ashutoshrishi/match-query-fuzziness
Match query fuzziness
2019-02-04 10:18:29 -06:00
Shulhi Sapli
13df8a8674 Add test for search after API 2018-07-31 19:06:04 +08:00
Ashutosh Rishi Ranjan
7131ac8df4 Added test for Auto fuzziness 2018-06-19 18:23:26 +10:00
Chris Allen
4b8dcea66a Resized arbitrary instance for UpdatableIndexSetting\' 2018-05-05 17:20:11 -05:00
Chris Allen
b9139e9331 Semverification 2018-05-05 16:48:05 -05:00
Aaron Hodgen
348b6bc44d Add a test and changelog history. 2018-05-04 09:39:42 -04:00
Chris Allen
5c7caa6f81 Index flushing, echo silence 2018-04-15 20:58:15 -05:00
Chris Allen
2ddaedd05e Merged #230 2018-04-07 17:16:56 -05:00
Chris Allen
b8196f51cf purge head, get passing tests 2018-02-13 16:34:15 -06:00
Chris Allen
bc0da4a4eb hlint, weeder 2018-02-13 15:47:43 -06:00
Chris Allen
103aac6431 Modularized V5 test suite 2018-02-08 19:34:11 -06:00
Chris Allen
53075095ab Cleaned up tests a bit 2018-02-08 18:51:41 -06:00
Chris Allen
c64536c39c Merged token filters work 2018-02-08 18:18:47 -06:00
Chris Allen
b161cadd2e
Merge pull request #219 from andrewthad/basic_token_filter
Add support for token filters
2018-02-08 17:56:32 -06:00
Chris Allen
c09b4e06c7 Merged with master, direct generators 2018-02-08 17:53:20 -06:00
Chris Allen
4cc75a0d98 Auto id integration for the module reorg 2018-02-08 17:29:52 -06:00
Chris Allen
94bf2e4835 Added a test for the script field 2018-02-08 16:42:02 -06:00
Chris Allen
23dee6617a Merged script work, fixed Travis and old deps 2018-02-08 16:22:35 -06:00
Chris Allen
dd63d9c382 Fixed bulk tests 2018-02-06 22:05:48 -06:00
Chris Allen
38ca931dd9 Test suite rewrite 2018-02-06 21:32:20 -06:00
Chris Allen
9d9ba1d628 Restructuring modules, ripping out Generic 2018-01-30 18:02:29 -06:00
Josh Berman
ecabdbe094 merge with upstream master 2017-12-25 07:40:23 +02:00
Chris Allen
62959bcbfe Fixing missing Arbitrary instance for NonEmpty 2017-12-24 13:34:55 -06:00
Andrew Martin
51e59fdfd8 make it possible to omit a language for lowercase and uppercase token filters 2017-12-19 20:08:43 -05:00
Andrew Martin
7fce32ab3b Add support for token filters. The supported filters
include: lowercase, uppercase, shingle, snowball,
apostrophe, and reverse. This commit also adds tests
for all of these.
2017-12-19 19:32:54 -05:00
Josh Berman
8272db68e4 Actually include some modified files in the commit 2017-12-11 14:36:16 +02:00
Andrew Martin
b488c45217 add tests for compression 2017-12-05 14:14:30 -05:00
Andrew Martin
296f164df5 Support analyzer with custom tokenizer, only ngram for now. Also, add a function for defining index settings when the index is created since the analysis setting cannot be updated dynamically without closing the index. 2017-10-10 09:24:19 -04:00
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
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
Will Jones
23e8a8e1c7 Fix up tests for script data types. 2017-07-12 17:35:30 +01:00
Will Jones
aeb5de208a Stub out function_score queries. 2017-06-20 12:32:08 +01: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
Josh Berman
a3784fab7d add tests for "tiebreaker" as requested in #172 2017-05-17 08:11:15 +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
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
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
Josh Berman
576e25dfb3 more specific sub-agg test; updated plain stack.yaml 2017-01-30 12:05:29 +02:00
Josh Berman
79d4eda49f failing sub-aggs test 2017-01-30 10:12:49 +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