Commit Graph

121 Commits

Author SHA1 Message Date
Chris Allen
0403b19a44 http-client-0.5.0 support 2016-07-06 15:33:39 -05:00
Michael Xavier
afd2358181 Add list indices feature 2016-03-02 11:32:44 -08:00
MHova
08c7cb3b8e Remove unused ServerVersions 2016-02-04 14:48:16 -08:00
Chris Allen
27c29236d8 Merge pull request #94 from Soostone/optimize
Implement index optimization
2016-02-03 00:05:01 -06:00
MHova
9d07301e3f Add test for Missing Aggregation 2016-02-02 16:32:38 -08:00
Michael Xavier
1889edd4b4 Implement index optimization 2016-01-27 10:43:53 -08:00
Chris Allen
c3df59771b Merge pull request #84 from Soostone/request-hook
Add Request hook
2015-12-27 07:33:11 -06:00
Dmitry Dzhus
f20a8b7f7d Test _update API 2015-12-22 17:28:23 +00:00
Michael Xavier
e75b167d9d Don't use searchAll in test
This is probably fine for travis but if you have an elastic search
service running with other data in it, it will break the test suite.
2015-12-04 09:30:50 -08:00
Michael Xavier
10666e6b17 Loosen IndexAliasesSummary
Looks like 1.4.1 produces different outputs (namely an empty object
instead of {aliases: null}), even though 1.4.5 does the right
thing. This should hopefully clear up the one sticking case in the
travis build.
2015-11-18 16:12:55 -08:00
Michael Xavier
8a8492dfdd Travis-driven-development 2015-11-18 15:52:19 -08:00
Michael Xavier
8f7ca41582 Try to debug travis errors on some ES versions 2015-11-18 15:36:42 -08:00
Michael Xavier
a27cec5fda Finish up index settings feature 2015-11-16 11:05:46 -08:00
Michael Xavier
e28dd023b6 WIP index settings parser tests
Some parses are ambiguously ordered by nature, so tests are unduely
failing. I'm going to need to create a typeclass like ApproxEq that is
order-ivariant in some cases.
2015-11-14 19:54:01 -08:00
Michael Xavier
4269d2787b Add date_range aggregation
Note that this commit is based off of the low-level-scroll PR as a
starting point.
2015-11-13 16:23:45 -08:00
Michael Xavier
53f4095b53 Add some finishing touches 2015-11-02 19:34:58 -08:00
Michael Xavier
27e244e9d1 Fix bugs with constant score filter/queries 2015-10-28 19:47:03 -07:00
Michael Xavier
1bffa02a16 All parsing tests passing now! 2015-10-28 19:13:29 -07:00
Michael Xavier
4768fbdabf Make some disambiguating type changes
Tests are now passing for very small sets. Tests otherwise take an
eternity. May need to manually specify instances for Query and Filter to
explicitly put in size reduction.
2015-10-27 21:50:37 -07:00
Michael Xavier
e07c0c460e Add test for simple case of creating an alias
Once we I the failing quickcheck tests on the more complex alias case,
we can add a more complex integration test.
2015-10-26 09:06:02 -07:00
Michael Xavier
a72311a60b WIP: fix several bugs with parsers, more to go
Also caught a bug in one of the existing ToJSON instances
2015-10-23 22:05:39 -07:00
Chris Allen
5c24e8c410 warnings, old-locale 2015-10-19 11:30:54 -05:00
Chris Allen
c518b8ed7f warnings clean up 2015-10-19 11:17:40 -05:00
Michael Xavier
7d4ffefc15 Add test for error parsing 2015-10-16 23:58:36 -07: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
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
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
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
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
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
Josh Berman
e89cb58269 update tests for types 2015-08-17 20:24:42 +03:00
Thomas van Noort
f615ac26c2 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-12 11:46:12 +02:00
Chris Allen
f185e9d1e2 Merge pull request #59 from centromere/index-settings-fix
Fixed bug with IndexSettings serialization
2015-07-29 13:01:32 -05:00
John Galt
60f1c70f4f Set shards/replicas to 1/0 for testing 2015-07-29 12:20:24 -04:00
Michael Xavier
b23bd7a2ea Add support for filter aggregations 2015-07-28 15:29:13 -07:00
Michael Xavier
463fdc8027 Add value_count aggregation support
This also adds a newtype for script. I would recommend the "Either Text
Text" for TermsAggregation be instead Either FieldName Script, but that
isn't directly related to this PR.
2015-07-28 09:17:25 -07:00
Michael Xavier
d9e8da1fc9 Add test case for missing document parse 2015-07-27 15:15:04 -07:00
Michael Xavier
92b520154e Eliminate partiality in EsResult
This will affect #57
2015-07-27 14:06:13 -07:00
John Galt
72c1939523 Added fields support to Search 2015-07-23 16:55:11 -04:00
Chris Allen
ba0b6e1970 feexed 2015-07-17 22:41:05 -05:00
Chris Allen
982b673c88 doctests cleanup 2015-07-17 22:38:28 -05:00
John Galt
a4d6c1e66d Added ability to manipulate templates 2015-07-17 13:37:33 -04:00
Chris Allen
0445b825a4 Merge pull request #43 from bnordbo/master
Add Query Filter
2015-07-11 18:37:34 -05:00
Bjørn Nordbø
c4033138b5 Added tests for query filter 2015-07-11 10:56:40 +02:00
Michael Xavier
270aa8b5f7 Drop homespun query rendering, fix tests 2015-07-10 12:09:14 -07:00
Michael Xavier
2d8be0d3e7 Add optimistic concurrency control version feature
This is a first attempt at addressing #44
2015-07-10 11:29:10 -07:00
Thomas van Noort
023f521e4a Add tests for source filtering. 2015-06-30 11:43:41 +02:00