YUKI Hiroshi
null+****@clear*****
Wed Dec 4 18:19:05 JST 2013
YUKI Hiroshi 2013-12-04 18:19:05 +0900 (Wed, 04 Dec 2013) New Revision: 400b4b538a502783978c70549d95e96e20dfba64 https://github.com/droonga/fluent-plugin-droonga/commit/400b4b538a502783978c70549d95e96e20dfba64 Message: Add drntest testcase for "groupBy" Added files: test/command/suite/search/group.test Added: test/command/suite/search/group.test (+44 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/search/group.test 2013-12-04 18:19:05 +0900 (b7b520b) @@ -0,0 +1,44 @@ +#@include fixture/documents.jsons +{ + "type": "search", + "dataset": "Droonga", + "body": { + "queries": { + "Groonga": { + "source": "Sections", + "condition": { + "query": "groonga", + "matchTo": ["title"] + }, + "sortBy": ["_key"], + "output": { + "elements": [ + "startTime", + "elapsedTime", + "count", + "attributes", + "records" + ], + "limit": -1, + "attributes": ["title"] + } + }, + "documents": { + "source": "Groonga", + "groupBy": "document", + "sortBy": ["-_key"], + "output": { + "elements": [ + "startTime", + "elapsedTime", + "count", + "attributes", + "records" + ], + "limit": -1, + "attributes": ["_key"] + } + } + } + } +} -------------- next part -------------- HTML����������������������������...Download