Commit Graph

92 Commits

Author SHA1 Message Date
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
Chris Allen
6e8afb3ad6 notes about deprecation, comment out date histogram tests until we know what's going on 2015-06-29 12:56:36 -05:00
Thomas van Noort
1405af3310 Fix tests. 2015-06-26 12:25:36 +02:00
Michael Xavier
2ff6378826 Resize searchHits generator
We don't need a 5 minute test run for this property IMO
2015-05-13 18:49:39 -07:00
Michael Xavier
7f237c4609 Add Monoid instance for Search Hits
Useful for combining search result sets or defaulting when a search
can't be performed
2015-05-13 17:08:52 -07:00
Michael Xavier
354423cba6 Newtype over From/Size 2015-05-11 21:55:33 -07:00
Michael Xavier
fb84d9a35f Use newtype wrapper for BH monad
Decided to just pull the trigger on this because the more I looked at
the issue, the more the downsides looked trivial. I would consider this
feature complete. I think segmenting the documentation is a great idea
but orthogonal to this branch.
2015-03-16 15:28:50 -07:00
Michael Xavier
2f013a0b80 Cleanup and document 2015-03-03 20:49:34 -08:00
Michael Xavier
279e169fdf WIP adding manager and server url state 2015-03-03 09:21:01 -08:00
Alex K
93738176ae range newtypes 2015-02-07 19:28:32 -08:00
Alex K
e449cf378a range test: we can has seconds 2015-02-07 18:15:22 -08:00
Alex K
ef688cdea1 passing tests (was ranging over the wrong field) 2015-02-07 13:56:41 -08:00
Alex K
cebfe79cc6 dated ranges, out with the old 2015-02-06 22:26:22 -08:00
Alex K
1e1faf38c3 derp 2015-02-05 08:02:25 -08:00
Alex K
c9b44e7491 add Double/Text typed ranges 2015-02-05 00:35:10 -08:00
Chris Allen
8a5c4b46f8 0.5.0.0 yissss 2014-12-12 00:28:32 -06:00
Chris Allen
3d2cb86cb4 trying to get named documentation chunk to render in the module description 2014-12-10 17:09:54 -06:00
Chris Allen
b5cf74df90 trying to get doctests working 2014-12-10 14:17:14 -06:00
Liam Atkinson
b92afa7b6d Fixed merge.. oops 2014-11-19 20:23:33 +00:00
Liam Atkinson
6832d1e123 Merged with master 2014-11-19 20:15:21 +00:00
Chris Allen
b911e9adc2 refactored bulk operations encode and added encodeBulkOperation(s) 2014-11-08 01:53:48 -06:00
Chris Allen
09c57f730f warnings cleanup, partial instances, name overlaps 2014-10-20 00:39:27 -05:00
Liam Atkinson
e26032b268 Added map to deal with highlight response 2014-10-18 19:51:11 +01:00
Liam Atkinson
d28751d0aa Added ToJSON instances for Highlight types. Added the beginings of tests. 2014-10-17 14:45:50 +01:00
Christopher Guiney
70f70e4e14 Merging with master 2014-10-11 12:36:25 -07:00
Christopher Guiney
5792d97a63 Cleanups, tests, more accuracy to the aggregation api 2014-10-11 10:48:18 -07:00
Liam Atkinson
71de653c53 Added tests for omitNulls 2014-10-10 00:01:04 +01:00
Liam Atkinson
43664a9ce5 Updated BoolQuery to use lists for must / should / should_not. Updated tests and docs to reflect this 2014-10-09 22:38:33 +01:00
Christopher Guiney
2af098072e remote years,quarters,months; created a couple new functions to make creating aggregations easier. new date histogram test. 2014-10-07 06:41:54 -07:00
Christopher Guiney
4fe4bfe067 Add terms and date histogram aggregations 2014-10-05 14:58:55 -07:00