Kouhei Sutou
null+****@clear*****
Thu Apr 10 18:12:57 JST 2014
Kouhei Sutou 2014-04-10 18:12:57 +0900 (Thu, 10 Apr 2014) New Revision: 06c89fd7f6f9df2e31d89cb205b06a0c5aee9c29 https://github.com/droonga/fluent-plugin-droonga/commit/06c89fd7f6f9df2e31d89cb205b06a0c5aee9c29 Message: Follow droonga-client gen change Modified files: test/command/suite/add/dimension/column.expected test/command/suite/add/dimension/integer.expected test/command/suite/add/error/invalid-integer.expected test/command/suite/add/error/invalid-time.expected test/command/suite/add/error/missing-key.expected test/command/suite/add/error/missing-table.expected test/command/suite/add/error/unknown-column.expected test/command/suite/add/error/unknown-table.expected test/command/suite/add/minimum.expected test/command/suite/add/with-values.expected test/command/suite/add/without-key.expected test/command/suite/groonga/column_create/scalar.expected test/command/suite/groonga/column_create/unknown-table.expected test/command/suite/groonga/column_create/vector.expected test/command/suite/groonga/select/minimum.expected test/command/suite/groonga/table_create/array.expected test/command/suite/groonga/table_create/hash.expected test/command/suite/groonga/table_remove/success.expected test/command/suite/groonga/table_remove/unknown-table.expected test/command/suite/message/error/missing-dataset.expected test/command/suite/message/error/unknown-dataset.expected test/command/suite/message/error/unknown-type.expected test/command/suite/search/adjusters/multiple.expected test/command/suite/search/adjusters/one.expected test/command/suite/search/attributes/array.expected test/command/suite/search/attributes/hash.expected test/command/suite/search/complex.expected test/command/suite/search/condition/nested.expected test/command/suite/search/condition/query.expected test/command/suite/search/condition/script.expected test/command/suite/search/error/cyclic-source.expected test/command/suite/search/error/deeply-cyclic-source.expected test/command/suite/search/error/missing-source-parameter.expected test/command/suite/search/error/no-query.expected test/command/suite/search/error/unknown-source.expected test/command/suite/search/group/count.expected test/command/suite/search/group/limit.expected test/command/suite/search/group/string.expected test/command/suite/search/group/subrecord/with-sort.expected test/command/suite/search/multiple/chained.expected test/command/suite/search/multiple/parallel.expected test/command/suite/search/output/attributes/invalid.expected test/command/suite/search/range/only-output.expected test/command/suite/search/range/only-sort.expected test/command/suite/search/range/sort-and-output.expected test/command/suite/search/range/too-large-output-offset.expected test/command/suite/search/range/too-large-sort-offset.expected test/command/suite/search/response/elapsed_time.expected test/command/suite/search/response/records/value/time.expected test/command/suite/search/simple.expected test/command/suite/search/sort/default-offset-limit.expected test/command/suite/search/sort/invisible-column.expected Modified: test/command/suite/add/dimension/column.expected (+38 -54) =================================================================== --- test/command/suite/add/dimension/column.expected 2014-04-10 16:51:50 +0900 (8687af9) +++ test/command/suite/add/dimension/column.expected 2014-04-10 18:12:57 +0900 (38ea430) @@ -1,57 +1,41 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "products": { - "records": [ - [ - "Groonga", - "groonga" - ], - [ - "Rroonga", - "groonga" - ], - [ - "Ruby", - "ruby" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "products": { + "records": [ + [ + "Groonga", + "groonga" + ], + [ + "Rroonga", + "groonga" + ], + [ + "Ruby", + "ruby" ] - } + ] } } -] +} Modified: test/command/suite/add/dimension/integer.expected (+38 -54) =================================================================== --- test/command/suite/add/dimension/integer.expected 2014-04-10 16:51:50 +0900 (e87a1d7) +++ test/command/suite/add/dimension/integer.expected 2014-04-10 18:12:57 +0900 (c42bc0d) @@ -1,57 +1,41 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "products": { - "records": [ - [ - 1, - "Groonga" - ], - [ - 2, - "Droonga" - ], - [ - 3, - "Ruby" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "products": { + "records": [ + [ + 1, + "Groonga" + ], + [ + 2, + "Droonga" + ], + [ + 3, + "Ruby" ] - } + ] } } -] +} Modified: test/command/suite/add/error/invalid-integer.expected (+38 -42) =================================================================== --- test/command/suite/add/error/invalid-integer.expected 2014-04-10 16:51:50 +0900 (d300273) +++ test/command/suite/add/error/invalid-integer.expected 2014-04-10 18:12:57 +0900 (ff9deef) @@ -1,50 +1,46 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "add.result", - "body": { - "name": "InvalidValue", - "message": "The column \"age\" cannot store the value \"secret\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "age": "secret" - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "add.result", + "body": { + "name": "InvalidValue", + "message": "The column \"age\" cannot store the value \"secret\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "age": "secret" } - }, - "errors": { - "sources0": { - "statusCode": 400, - "body": { - "name": "InvalidValue", - "message": "The column \"age\" cannot store the value \"secret\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "age": "secret" - } + } + }, + "errors": { + "sources0": { + "statusCode": 400, + "body": { + "name": "InvalidValue", + "message": "The column \"age\" cannot store the value \"secret\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "age": "secret" } } - }, - "sources1": { - "statusCode": 400, - "body": { - "name": "InvalidValue", - "message": "The column \"age\" cannot store the value \"secret\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "age": "secret" - } + } + }, + "sources1": { + "statusCode": 400, + "body": { + "name": "InvalidValue", + "message": "The column \"age\" cannot store the value \"secret\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "age": "secret" } } } } } -] +} Modified: test/command/suite/add/error/invalid-time.expected (+38 -42) =================================================================== --- test/command/suite/add/error/invalid-time.expected 2014-04-10 16:51:50 +0900 (afea864) +++ test/command/suite/add/error/invalid-time.expected 2014-04-10 18:12:57 +0900 (1de635a) @@ -1,50 +1,46 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "add.result", - "body": { - "name": "InvalidValue", - "message": "The column \"birthday\" cannot store the value \"today\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "birthday": "today" - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "add.result", + "body": { + "name": "InvalidValue", + "message": "The column \"birthday\" cannot store the value \"today\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "birthday": "today" } - }, - "errors": { - "sources0": { - "statusCode": 400, - "body": { - "name": "InvalidValue", - "message": "The column \"birthday\" cannot store the value \"today\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "birthday": "today" - } + } + }, + "errors": { + "sources0": { + "statusCode": 400, + "body": { + "name": "InvalidValue", + "message": "The column \"birthday\" cannot store the value \"today\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "birthday": "today" } } - }, - "sources1": { - "statusCode": 400, - "body": { - "name": "InvalidValue", - "message": "The column \"birthday\" cannot store the value \"today\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "birthday": "today" - } + } + }, + "sources1": { + "statusCode": 400, + "body": { + "name": "InvalidValue", + "message": "The column \"birthday\" cannot store the value \"today\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "birthday": "today" } } } } } -] +} Modified: test/command/suite/add/error/missing-key.expected (+21 -25) =================================================================== --- test/command/suite/add/error/missing-key.expected 2014-04-10 16:51:50 +0900 (af1be2b) +++ test/command/suite/add/error/missing-key.expected 2014-04-10 18:12:57 +0900 (bb4fbc5) @@ -1,29 +1,25 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "add.result", - "body": { - "name": "MissingPrimaryKeyParameter", - "message": "\"key\" must be specified. The table \"User\" requires a primary key for a new record." +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "add.result", + "body": { + "name": "MissingPrimaryKeyParameter", + "message": "\"key\" must be specified. The table \"User\" requires a primary key for a new record." + }, + "errors": { + "sources0": { + "statusCode": 400, + "body": { + "name": "MissingPrimaryKeyParameter", + "message": "\"key\" must be specified. The table \"User\" requires a primary key for a new record." + } }, - "errors": { - "sources0": { - "statusCode": 400, - "body": { - "name": "MissingPrimaryKeyParameter", - "message": "\"key\" must be specified. The table \"User\" requires a primary key for a new record." - } - }, - "sources1": { - "statusCode": 400, - "body": { - "name": "MissingPrimaryKeyParameter", - "message": "\"key\" must be specified. The table \"User\" requires a primary key for a new record." - } + "sources1": { + "statusCode": 400, + "body": { + "name": "MissingPrimaryKeyParameter", + "message": "\"key\" must be specified. The table \"User\" requires a primary key for a new record." } } } -] +} Modified: test/command/suite/add/error/missing-table.expected (+21 -25) =================================================================== --- test/command/suite/add/error/missing-table.expected 2014-04-10 16:51:50 +0900 (616ab31) +++ test/command/suite/add/error/missing-table.expected 2014-04-10 18:12:57 +0900 (6acd661) @@ -1,29 +1,25 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "add.result", - "body": { - "name": "MissingTableParameter", - "message": "\"table\" must be specified." +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "add.result", + "body": { + "name": "MissingTableParameter", + "message": "\"table\" must be specified." + }, + "errors": { + "sources0": { + "statusCode": 400, + "body": { + "name": "MissingTableParameter", + "message": "\"table\" must be specified." + } }, - "errors": { - "sources0": { - "statusCode": 400, - "body": { - "name": "MissingTableParameter", - "message": "\"table\" must be specified." - } - }, - "sources1": { - "statusCode": 400, - "body": { - "name": "MissingTableParameter", - "message": "\"table\" must be specified." - } + "sources1": { + "statusCode": 400, + "body": { + "name": "MissingTableParameter", + "message": "\"table\" must be specified." } } } -] +} Modified: test/command/suite/add/error/unknown-column.expected (+38 -42) =================================================================== --- test/command/suite/add/error/unknown-column.expected 2014-04-10 16:51:50 +0900 (66a7d77) +++ test/command/suite/add/error/unknown-column.expected 2014-04-10 18:12:57 +0900 (4322d33) @@ -1,50 +1,46 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 404, - "type": "add.result", - "body": { - "name": "UnknownColumn", - "message": "The column \"unknown\" does not exist in the table \"User\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "unknown": "unknown" - } +{ + "inReplyTo": "request-id", + "statusCode": 404, + "type": "add.result", + "body": { + "name": "UnknownColumn", + "message": "The column \"unknown\" does not exist in the table \"User\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "unknown": "unknown" } - }, - "errors": { - "sources0": { - "statusCode": 404, - "body": { - "name": "UnknownColumn", - "message": "The column \"unknown\" does not exist in the table \"User\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "unknown": "unknown" - } + } + }, + "errors": { + "sources0": { + "statusCode": 404, + "body": { + "name": "UnknownColumn", + "message": "The column \"unknown\" does not exist in the table \"User\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "unknown": "unknown" } } - }, - "sources1": { - "statusCode": 404, - "body": { - "name": "UnknownColumn", - "message": "The column \"unknown\" does not exist in the table \"User\".", - "detail": { - "table": "User", - "key": "key", - "values": { - "unknown": "unknown" - } + } + }, + "sources1": { + "statusCode": 404, + "body": { + "name": "UnknownColumn", + "message": "The column \"unknown\" does not exist in the table \"User\".", + "detail": { + "table": "User", + "key": "key", + "values": { + "unknown": "unknown" } } } } } -] +} Modified: test/command/suite/add/error/unknown-table.expected (+21 -25) =================================================================== --- test/command/suite/add/error/unknown-table.expected 2014-04-10 16:51:50 +0900 (f2b8136) +++ test/command/suite/add/error/unknown-table.expected 2014-04-10 18:12:57 +0900 (269678b) @@ -1,29 +1,25 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 404, - "type": "add.result", - "body": { - "name": "UnknownTable", - "message": "The table \"Unknown\" does not exist in the dataset." +{ + "inReplyTo": "request-id", + "statusCode": 404, + "type": "add.result", + "body": { + "name": "UnknownTable", + "message": "The table \"Unknown\" does not exist in the dataset." + }, + "errors": { + "sources0": { + "statusCode": 404, + "body": { + "name": "UnknownTable", + "message": "The table \"Unknown\" does not exist in the dataset." + } }, - "errors": { - "sources0": { - "statusCode": 404, - "body": { - "name": "UnknownTable", - "message": "The table \"Unknown\" does not exist in the dataset." - } - }, - "sources1": { - "statusCode": 404, - "body": { - "name": "UnknownTable", - "message": "The table \"Unknown\" does not exist in the dataset." - } + "sources1": { + "statusCode": 404, + "body": { + "name": "UnknownTable", + "message": "The table \"Unknown\" does not exist in the dataset." } } } -] +} Modified: test/command/suite/add/minimum.expected (+6 -10) =================================================================== --- test/command/suite/add/minimum.expected 2014-04-10 16:51:50 +0900 (efa7d18) +++ test/command/suite/add/minimum.expected 2014-04-10 18:12:57 +0900 (eb78f91) @@ -1,10 +1,6 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} Modified: test/command/suite/add/with-values.expected (+6 -10) =================================================================== --- test/command/suite/add/with-values.expected 2014-04-10 16:51:50 +0900 (efa7d18) +++ test/command/suite/add/with-values.expected 2014-04-10 18:12:57 +0900 (eb78f91) @@ -1,10 +1,6 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} Modified: test/command/suite/add/without-key.expected (+6 -10) =================================================================== --- test/command/suite/add/without-key.expected 2014-04-10 16:51:50 +0900 (efa7d18) +++ test/command/suite/add/without-key.expected 2014-04-10 18:12:57 +0900 (eb78f91) @@ -1,10 +1,6 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "add.result", - "body": true - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "add.result", + "body": true +} Modified: test/command/suite/groonga/column_create/scalar.expected (+26 -34) =================================================================== --- test/command/suite/groonga/column_create/scalar.expected 2014-04-10 16:51:50 +0900 (30edf52) +++ test/command/suite/groonga/column_create/scalar.expected 2014-04-10 18:12:57 +0900 (f77e3ec) @@ -1,34 +1,26 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "table_create.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], - true - ] - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "column_create.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], - true - ] - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "table_create.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + true + ] +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "column_create.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + true + ] +} Modified: test/command/suite/groonga/column_create/unknown-table.expected (+14 -18) =================================================================== --- test/command/suite/groonga/column_create/unknown-table.expected 2014-04-10 16:51:50 +0900 (6c879ec) +++ test/command/suite/groonga/column_create/unknown-table.expected 2014-04-10 18:12:57 +0900 (3c4f046) @@ -1,18 +1,14 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "column_create.result", - "body": [ - [ - -22, - 0.0, - 0.0, - "table doesn't exist: <Unknown>" - ], - false - ] - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "column_create.result", + "body": [ + [ + -22, + 0.0, + 0.0, + "table doesn't exist: <Unknown>" + ], + false + ] +} Modified: test/command/suite/groonga/column_create/vector.expected (+26 -34) =================================================================== --- test/command/suite/groonga/column_create/vector.expected 2014-04-10 16:51:50 +0900 (30edf52) +++ test/command/suite/groonga/column_create/vector.expected 2014-04-10 18:12:57 +0900 (f77e3ec) @@ -1,34 +1,26 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "table_create.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], - true - ] - } -] -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "column_create.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], - true - ] - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "table_create.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + true + ] +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "column_create.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + true + ] +} Modified: test/command/suite/groonga/select/minimum.expected (+16 -20) =================================================================== --- test/command/suite/groonga/select/minimum.expected 2014-04-10 16:51:50 +0900 (be099bf) +++ test/command/suite/groonga/select/minimum.expected 2014-04-10 18:12:57 +0900 (046af04) @@ -1,26 +1,22 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "select.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "select.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + [ [ [ - [ - 0 - ], - [ + 0 + ], + [ - ] ] ] ] - } -] + ] +} Modified: test/command/suite/groonga/table_create/array.expected (+14 -17) =================================================================== --- test/command/suite/groonga/table_create/array.expected 2014-04-10 16:51:50 +0900 (4aeca08) +++ test/command/suite/groonga/table_create/array.expected 2014-04-10 18:12:57 +0900 (8e9afad) @@ -1,17 +1,14 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "table_create.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], - true - ] - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "table_create.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + true + ] +} + Modified: test/command/suite/groonga/table_create/hash.expected (+13 -17) =================================================================== --- test/command/suite/groonga/table_create/hash.expected 2014-04-10 16:51:50 +0900 (4aeca08) +++ test/command/suite/groonga/table_create/hash.expected 2014-04-10 18:12:57 +0900 (50add52) @@ -1,17 +1,13 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "table_create.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], - true - ] - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "table_create.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + true + ] +} Modified: test/command/suite/groonga/table_remove/success.expected (+13 -17) =================================================================== --- test/command/suite/groonga/table_remove/success.expected 2014-04-10 16:51:50 +0900 (91ac40a) +++ test/command/suite/groonga/table_remove/success.expected 2014-04-10 18:12:57 +0900 (ef0f4a2) @@ -1,17 +1,13 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "table_remove.result", - "body": [ - [ - 0, - 0.0, - 0.0 - ], - true - ] - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "table_remove.result", + "body": [ + [ + 0, + 0.0, + 0.0 + ], + true + ] +} Modified: test/command/suite/groonga/table_remove/unknown-table.expected (+14 -18) =================================================================== --- test/command/suite/groonga/table_remove/unknown-table.expected 2014-04-10 16:51:50 +0900 (eebe755) +++ test/command/suite/groonga/table_remove/unknown-table.expected 2014-04-10 18:12:57 +0900 (8c62f5e) @@ -1,18 +1,14 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "table_remove.result", - "body": [ - [ - -22, - 0.0, - 0.0, - "table not found" - ], - false - ] - } -] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "table_remove.result", + "body": [ + [ + -22, + 0.0, + 0.0, + "table not found" + ], + false + ] +} Modified: test/command/suite/message/error/missing-dataset.expected (+8 -12) =================================================================== --- test/command/suite/message/error/missing-dataset.expected 2014-04-10 16:51:50 +0900 (f0a08ed) +++ test/command/suite/message/error/missing-dataset.expected 2014-04-10 18:12:57 +0900 (ae51c98) @@ -1,13 +1,9 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "add.result", - "body": { - "name": "MissingDatasetParameter", - "message": "Missing required parameter: <dataset>" - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "add.result", + "body": { + "name": "MissingDatasetParameter", + "message": "Missing required parameter: <dataset>" } -] +} Modified: test/command/suite/message/error/unknown-dataset.expected (+8 -12) =================================================================== --- test/command/suite/message/error/unknown-dataset.expected 2014-04-10 16:51:50 +0900 (d627845) +++ test/command/suite/message/error/unknown-dataset.expected 2014-04-10 18:12:57 +0900 (f6d3d5d) @@ -1,13 +1,9 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 404, - "type": "add.result", - "body": { - "name": "UnknownDataset", - "message": "Unknown dataset: <Unknown>" - } +{ + "inReplyTo": "request-id", + "statusCode": 404, + "type": "add.result", + "body": { + "name": "UnknownDataset", + "message": "Unknown dataset: <Unknown>" } -] +} Modified: test/command/suite/message/error/unknown-type.expected (+8 -12) =================================================================== --- test/command/suite/message/error/unknown-type.expected 2014-04-10 16:51:50 +0900 (9bc322a) +++ test/command/suite/message/error/unknown-type.expected 2014-04-10 18:12:57 +0900 (12f05f6) @@ -1,13 +1,9 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "unknown-type.result", - "body": { - "name": "UnknownType", - "message": "[Droonga] Handler not found for the type: <unknown-type>" - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "unknown-type.result", + "body": { + "name": "UnknownType", + "message": "[Droonga] Handler not found for the type: <unknown-type>" } -] +} Modified: test/command/suite/search/adjusters/multiple.expected (+16 -20) =================================================================== --- test/command/suite/search/adjusters/multiple.expected 2014-04-10 16:51:50 +0900 (a90d973) +++ test/command/suite/search/adjusters/multiple.expected 2014-04-10 18:12:57 +0900 (aacba52) @@ -1,23 +1,19 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "memos": { - "records": [ - [ - "Droonga is fun.", - 61 - ], - [ - "Groonga is fast!", - 21 - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "memos": { + "records": [ + [ + "Droonga is fun.", + 61 + ], + [ + "Groonga is fast!", + 21 ] - } + ] } } -] +} Modified: test/command/suite/search/adjusters/one.expected (+16 -20) =================================================================== --- test/command/suite/search/adjusters/one.expected 2014-04-10 16:51:50 +0900 (d866897) +++ test/command/suite/search/adjusters/one.expected 2014-04-10 18:12:57 +0900 (3a2b47b) @@ -1,23 +1,19 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "memos": { - "records": [ - [ - "Droonga is fun.", - 51 - ], - [ - "Groonga is fast!", - 1 - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "memos": { + "records": [ + [ + "Droonga is fun.", + 51 + ], + [ + "Groonga is fast!", + 1 ] - } + ] } } -] +} Modified: test/command/suite/search/attributes/array.expected (+19 -23) =================================================================== --- test/command/suite/search/attributes/array.expected 2014-04-10 16:51:50 +0900 (b1bf514) +++ test/command/suite/search/attributes/array.expected 2014-04-10 18:12:57 +0900 (c29984a) @@ -1,25 +1,21 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - { - "section-id": "1.1" - }, - { - "section-id": "1.2" - }, - { - "section-id": "1.3" - } - ] - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + { + "section-id": "1.1" + }, + { + "section-id": "1.2" + }, + { + "section-id": "1.3" + } + ] } } -] +} Modified: test/command/suite/search/attributes/hash.expected (+28 -32) =================================================================== --- test/command/suite/search/attributes/hash.expected 2014-04-10 16:51:50 +0900 (d6ba602) +++ test/command/suite/search/attributes/hash.expected 2014-04-10 18:12:57 +0900 (dc9cad9) @@ -1,34 +1,30 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - { - "section-id": "1.1", - "label": "Groonga overview", - "fixed-number": 29, - "fixed-string": "Groonga" - }, - { - "section-id": "1.2", - "label": "Full text search and Instant update", - "fixed-number": 29, - "fixed-string": "Groonga" - }, - { - "section-id": "1.3", - "label": "Column store and aggregate query", - "fixed-number": 29, - "fixed-string": "Groonga" - } - ] - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + { + "section-id": "1.1", + "label": "Groonga overview", + "fixed-number": 29, + "fixed-string": "Groonga" + }, + { + "section-id": "1.2", + "label": "Full text search and Instant update", + "fixed-number": 29, + "fixed-string": "Groonga" + }, + { + "section-id": "1.3", + "label": "Column store and aggregate query", + "fixed-number": 29, + "fixed-string": "Groonga" + } + ] } } -] +} Modified: test/command/suite/search/complex.expected (+46 -50) =================================================================== --- test/command/suite/search/complex.expected 2014-04-10 16:51:50 +0900 (7f49325) +++ test/command/suite/search/complex.expected 2014-04-10 18:12:57 +0900 (2ad0e1f) @@ -1,52 +1,48 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - { - "_key": "1.1", - "title": "Groonga overview" - }, - { - "_key": "1.2", - "title": "Full text search and Instant update" - }, - { - "_key": "1.3", - "title": "Column store and aggregate query" - }, - { - "_key": "1.4", - "title": "Inverted index and tokenizer" - }, - { - "_key": "1.5", - "title": "Sharable storage and read lock-free" - }, - { - "_key": "1.6", - "title": "Geo-location (latitude and longitude) search" - }, - { - "_key": "1.7", - "title": "Groonga library" - }, - { - "_key": "1.8", - "title": "Groonga server" - }, - { - "_key": "1.9", - "title": "Groonga storage engine" - } - ] - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + { + "_key": "1.1", + "title": "Groonga overview" + }, + { + "_key": "1.2", + "title": "Full text search and Instant update" + }, + { + "_key": "1.3", + "title": "Column store and aggregate query" + }, + { + "_key": "1.4", + "title": "Inverted index and tokenizer" + }, + { + "_key": "1.5", + "title": "Sharable storage and read lock-free" + }, + { + "_key": "1.6", + "title": "Geo-location (latitude and longitude) search" + }, + { + "_key": "1.7", + "title": "Groonga library" + }, + { + "_key": "1.8", + "title": "Groonga server" + }, + { + "_key": "1.9", + "title": "Groonga storage engine" + } + ] } } -] +} Modified: test/command/suite/search/condition/nested.expected (+12 -16) =================================================================== --- test/command/suite/search/condition/nested.expected 2014-04-10 16:51:50 +0900 (0277a44) +++ test/command/suite/search/condition/nested.expected 2014-04-10 18:12:57 +0900 (7678437) @@ -1,19 +1,15 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 1, - "records": [ - [ - "Groonga storage engine" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 1, + "records": [ + [ + "Groonga storage engine" ] - } + ] } } -] +} Modified: test/command/suite/search/condition/query.expected (+21 -25) =================================================================== --- test/command/suite/search/condition/query.expected 2014-04-10 16:51:50 +0900 (3c5d77e) +++ test/command/suite/search/condition/query.expected 2014-04-10 18:12:57 +0900 (b5317ae) @@ -1,28 +1,24 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 4, - "records": [ - [ - "Groonga overview" - ], - [ - "Groonga library" - ], - [ - "Groonga server" - ], - [ - "Groonga storage engine" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 4, + "records": [ + [ + "Groonga overview" + ], + [ + "Groonga library" + ], + [ + "Groonga server" + ], + [ + "Groonga storage engine" ] - } + ] } } -] +} Modified: test/command/suite/search/condition/script.expected (+21 -25) =================================================================== --- test/command/suite/search/condition/script.expected 2014-04-10 16:51:50 +0900 (3c5d77e) +++ test/command/suite/search/condition/script.expected 2014-04-10 18:12:57 +0900 (b5317ae) @@ -1,28 +1,24 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 4, - "records": [ - [ - "Groonga overview" - ], - [ - "Groonga library" - ], - [ - "Groonga server" - ], - [ - "Groonga storage engine" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 4, + "records": [ + [ + "Groonga overview" + ], + [ + "Groonga library" + ], + [ + "Groonga server" + ], + [ + "Groonga storage engine" ] - } + ] } } -] +} Modified: test/command/suite/search/error/cyclic-source.expected (+11 -15) =================================================================== --- test/command/suite/search/error/cyclic-source.expected 2014-04-10 16:51:50 +0900 (59e88ce) +++ test/command/suite/search/error/cyclic-source.expected 2014-04-10 18:12:57 +0900 (835332e) @@ -1,18 +1,14 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "search.result", - "body": { - "name": "CyclicSource", - "message": "There is cyclic reference of sources.", - "detail": { - "cyclic-source": { - "source": "cyclic-source" - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "search.result", + "body": { + "name": "CyclicSource", + "message": "There is cyclic reference of sources.", + "detail": { + "cyclic-source": { + "source": "cyclic-source" } } } -] +} Modified: test/command/suite/search/error/deeply-cyclic-source.expected (+14 -18) =================================================================== --- test/command/suite/search/error/deeply-cyclic-source.expected 2014-04-10 16:51:50 +0900 (41583dc) +++ test/command/suite/search/error/deeply-cyclic-source.expected 2014-04-10 18:12:57 +0900 (0fe798d) @@ -1,21 +1,17 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "search.result", - "body": { - "name": "CyclicSource", - "message": "There is cyclic reference of sources.", - "detail": { - "a": { - "source": "b" - }, - "b": { - "source": "a" - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "search.result", + "body": { + "name": "CyclicSource", + "message": "There is cyclic reference of sources.", + "detail": { + "a": { + "source": "b" + }, + "b": { + "source": "a" } } } -] +} Modified: test/command/suite/search/error/missing-source-parameter.expected (+10 -14) =================================================================== --- test/command/suite/search/error/missing-source-parameter.expected 2014-04-10 16:51:50 +0900 (42b42cd) +++ test/command/suite/search/error/missing-source-parameter.expected 2014-04-10 18:12:57 +0900 (dbaaff9) @@ -1,17 +1,13 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "search.result", - "body": { - "name": "MissingSourceParameter", - "message": "[no-source] No source is specified. Query must have a valid source.", - "detail": { - "no-source": { - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "search.result", + "body": { + "name": "MissingSourceParameter", + "message": "[no-source] No source is specified. Query must have a valid source.", + "detail": { + "no-source": { } } } -] +} Modified: test/command/suite/search/error/no-query.expected (+8 -12) =================================================================== --- test/command/suite/search/error/no-query.expected 2014-04-10 16:51:50 +0900 (56437a1) +++ test/command/suite/search/error/no-query.expected 2014-04-10 18:12:57 +0900 (d04b76f) @@ -1,13 +1,9 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "search.result", - "body": { - "name": "NoQuery", - "message": "You must specify one or more query." - } +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "search.result", + "body": { + "name": "NoQuery", + "message": "You must specify one or more query." } -] +} Modified: test/command/suite/search/error/unknown-source.expected (+42 -46) =================================================================== --- test/command/suite/search/error/unknown-source.expected 2014-04-10 16:51:50 +0900 (1cff434) +++ test/command/suite/search/error/unknown-source.expected 2014-04-10 18:12:57 +0900 (e7d4f5a) @@ -1,56 +1,52 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 404, - "type": "search.result", - "body": { - "name": "UnknownSource", - "message": "Source not found: <unknown> It must be a name of an existing table or another query.", - "detail": { - "unknown-source": { - "source": "unknown" - } +{ + "inReplyTo": "request-id", + "statusCode": 404, + "type": "search.result", + "body": { + "name": "UnknownSource", + "message": "Source not found: <unknown> It must be a name of an existing table or another query.", + "detail": { + "unknown-source": { + "source": "unknown" } - }, - "errors": { - "sources0": { - "statusCode": 404, - "body": { - "name": "UnknownSource", - "message": "Source not found: <unknown> It must be a name of an existing table or another query.", - "detail": { - "unknown-source": { - "source": "unknown" - } + } + }, + "errors": { + "sources0": { + "statusCode": 404, + "body": { + "name": "UnknownSource", + "message": "Source not found: <unknown> It must be a name of an existing table or another query.", + "detail": { + "unknown-source": { + "source": "unknown" } } - }, - "sources1": { - "statusCode": 404, - "body": { - "name": "UnknownSource", - "message": "Source not found: <unknown> It must be a name of an existing table or another query.", - "detail": { - "unknown-source": { - "source": "unknown" - } + } + }, + "sources1": { + "statusCode": 404, + "body": { + "name": "UnknownSource", + "message": "Source not found: <unknown> It must be a name of an existing table or another query.", + "detail": { + "unknown-source": { + "source": "unknown" } } - }, - "sources2": { - "statusCode": 404, - "body": { - "name": "UnknownSource", - "message": "Source not found: <unknown> It must be a name of an existing table or another query.", - "detail": { - "unknown-source": { - "source": "unknown" - } + } + }, + "sources2": { + "statusCode": 404, + "body": { + "name": "UnknownSource", + "message": "Source not found: <unknown> It must be a name of an existing table or another query.", + "detail": { + "unknown-source": { + "source": "unknown" } } } } } -] +} Modified: test/command/suite/search/group/count.expected (+8 -12) =================================================================== --- test/command/suite/search/group/count.expected 2014-04-10 16:51:50 +0900 (1bc0ce0) +++ test/command/suite/search/group/count.expected 2014-04-10 18:12:57 +0900 (9bd5d4d) @@ -1,14 +1,10 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "documents": { - "count": 1 - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "documents": { + "count": 1 } } -] +} Modified: test/command/suite/search/group/limit.expected (+13 -17) =================================================================== --- test/command/suite/search/group/limit.expected 2014-04-10 16:51:50 +0900 (1b6b30e) +++ test/command/suite/search/group/limit.expected 2014-04-10 18:12:57 +0900 (590eed7) @@ -1,19 +1,15 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "documents": { - "count": 9, - "records": [ - [], - [], - [] - ] - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "documents": { + "count": 9, + "records": [ + [], + [], + [] + ] } } -] +} Modified: test/command/suite/search/group/string.expected (+28 -32) =================================================================== --- test/command/suite/search/group/string.expected 2014-04-10 16:51:50 +0900 (5af7435) +++ test/command/suite/search/group/string.expected 2014-04-10 18:12:57 +0900 (3d419c0) @@ -1,36 +1,32 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "Groonga": { - "count": 4, - "records": [ - [ - "Groonga overview" - ], - [ - "Groonga library" - ], - [ - "Groonga server" - ], - [ - "Groonga storage engine" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "Groonga": { + "count": 4, + "records": [ + [ + "Groonga overview" + ], + [ + "Groonga library" + ], + [ + "Groonga server" + ], + [ + "Groonga storage engine" ] - }, - "documents": { - "count": 1, - "records": [ - [ - "Groonga" - ] + ] + }, + "documents": { + "count": 1, + "records": [ + [ + "Groonga" ] - } + ] } } -] +} Modified: test/command/suite/search/group/subrecord/with-sort.expected (+20 -24) =================================================================== --- test/command/suite/search/group/subrecord/with-sort.expected 2014-04-10 16:51:50 +0900 (8c2285f) +++ test/command/suite/search/group/subrecord/with-sort.expected 2014-04-10 18:12:57 +0900 (2276479) @@ -1,34 +1,30 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "comments": { - "count": 2, - "records": [ +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "comments": { + "count": 2, + "records": [ + [ + "groonga", + 1, [ - "groonga", - 1, [ - [ - "Groonga is great!" - ] + "Groonga is great!" ] - ], + ] + ], + [ + "ruby", + 1, [ - "ruby", - 1, [ - [ - "Hi! I'm a new Rubyist!" - ] + "Hi! I'm a new Rubyist!" ] ] ] - } + ] } } -] +} Modified: test/command/suite/search/multiple/chained.expected (+37 -41) =================================================================== --- test/command/suite/search/multiple/chained.expected 2014-04-10 16:51:50 +0900 (181cb82) +++ test/command/suite/search/multiple/chained.expected 2014-04-10 18:12:57 +0900 (013596e) @@ -1,45 +1,41 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "Groonga": { - "count": 4, - "records": [ - [ - "Groonga overview" - ], - [ - "Groonga library" - ], - [ - "Groonga server" - ], - [ - "Groonga storage engine" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "Groonga": { + "count": 4, + "records": [ + [ + "Groonga overview" + ], + [ + "Groonga library" + ], + [ + "Groonga server" + ], + [ + "Groonga storage engine" ] - }, - "keys": { - "count": 4, - "records": [ - [ - "1.9" - ], - [ - "1.8" - ], - [ - "1.7" - ], - [ - "1.1" - ] + ] + }, + "keys": { + "count": 4, + "records": [ + [ + "1.9" + ], + [ + "1.8" + ], + [ + "1.7" + ], + [ + "1.1" ] - } + ] } } -] +} Modified: test/command/suite/search/multiple/parallel.expected (+31 -35) =================================================================== --- test/command/suite/search/multiple/parallel.expected 2014-04-10 16:51:50 +0900 (6f5e3df) +++ test/command/suite/search/multiple/parallel.expected 2014-04-10 18:12:57 +0900 (15be321) @@ -1,39 +1,35 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "keys": { - "count": 9, - "records": [ - [ - "1.1" - ], - [ - "1.2" - ], - [ - "1.3" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "keys": { + "count": 9, + "records": [ + [ + "1.1" + ], + [ + "1.2" + ], + [ + "1.3" ] - }, - "titles": { - "count": 9, - "records": [ - [ - "Groonga storage engine" - ], - [ - "Groonga server" - ], - [ - "Groonga library" - ] + ] + }, + "titles": { + "count": 9, + "records": [ + [ + "Groonga storage engine" + ], + [ + "Groonga server" + ], + [ + "Groonga library" ] - } + ] } } -] +} Modified: test/command/suite/search/output/attributes/invalid.expected (+37 -41) =================================================================== --- test/command/suite/search/output/attributes/invalid.expected 2014-04-10 16:51:50 +0900 (8fc2c16) +++ test/command/suite/search/output/attributes/invalid.expected 2014-04-10 18:12:57 +0900 (d974d81) @@ -1,48 +1,44 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 400, - "type": "search.result", - "body": { - "name": "InvalidAttribute", - "message": "Invalid attribute: <,>", - "detail": { - "attribute": "," +{ + "inReplyTo": "request-id", + "statusCode": 400, + "type": "search.result", + "body": { + "name": "InvalidAttribute", + "message": "Invalid attribute: <,>", + "detail": { + "attribute": "," + } + }, + "errors": { + "sources0": { + "statusCode": 400, + "body": { + "name": "InvalidAttribute", + "message": "Invalid attribute: <,>", + "detail": { + "attribute": "," + } } }, - "errors": { - "sources0": { - "statusCode": 400, - "body": { - "name": "InvalidAttribute", - "message": "Invalid attribute: <,>", - "detail": { - "attribute": "," - } - } - }, - "sources1": { - "statusCode": 400, - "body": { - "name": "InvalidAttribute", - "message": "Invalid attribute: <,>", - "detail": { - "attribute": "," - } + "sources1": { + "statusCode": 400, + "body": { + "name": "InvalidAttribute", + "message": "Invalid attribute: <,>", + "detail": { + "attribute": "," } - }, - "sources2": { - "statusCode": 400, - "body": { - "name": "InvalidAttribute", - "message": "Invalid attribute: <,>", - "detail": { - "attribute": "," - } + } + }, + "sources2": { + "statusCode": 400, + "body": { + "name": "InvalidAttribute", + "message": "Invalid attribute: <,>", + "detail": { + "attribute": "," } } } } -] +} Modified: test/command/suite/search/range/only-output.expected (+21 -25) =================================================================== --- test/command/suite/search/range/only-output.expected 2014-04-10 16:51:50 +0900 (774c36f) +++ test/command/suite/search/range/only-output.expected 2014-04-10 18:12:57 +0900 (d4d124a) @@ -1,28 +1,24 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - [ - "1.3" - ], - [ - "1.4" - ], - [ - "1.5" - ], - [ - "1.6" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + [ + "1.3" + ], + [ + "1.4" + ], + [ + "1.5" + ], + [ + "1.6" ] - } + ] } } -] +} Modified: test/command/suite/search/range/only-sort.expected (+21 -25) =================================================================== --- test/command/suite/search/range/only-sort.expected 2014-04-10 16:51:50 +0900 (6774e5f) +++ test/command/suite/search/range/only-sort.expected 2014-04-10 18:12:57 +0900 (7343d51) @@ -1,28 +1,24 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - [ - "1.7" - ], - [ - "1.6" - ], - [ - "1.5" - ], - [ - "1.4" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + [ + "1.7" + ], + [ + "1.6" + ], + [ + "1.5" + ], + [ + "1.4" ] - } + ] } } -] +} Modified: test/command/suite/search/range/sort-and-output.expected (+18 -22) =================================================================== --- test/command/suite/search/range/sort-and-output.expected 2014-04-10 16:51:50 +0900 (070bca6) +++ test/command/suite/search/range/sort-and-output.expected 2014-04-10 18:12:57 +0900 (b41fd36) @@ -1,25 +1,21 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - [ - "1.3" - ], - [ - "1.4" - ], - [ - "1.5" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + [ + "1.3" + ], + [ + "1.4" + ], + [ + "1.5" ] - } + ] } } -] +} Modified: test/command/suite/search/range/too-large-output-offset.expected (+10 -14) =================================================================== --- test/command/suite/search/range/too-large-output-offset.expected 2014-04-10 16:51:50 +0900 (ba561ab) +++ test/command/suite/search/range/too-large-output-offset.expected 2014-04-10 18:12:57 +0900 (9df1e20) @@ -1,16 +1,12 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - ] - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + ] } } -] +} Modified: test/command/suite/search/range/too-large-sort-offset.expected (+10 -14) =================================================================== --- test/command/suite/search/range/too-large-sort-offset.expected 2014-04-10 16:51:50 +0900 (ba561ab) +++ test/command/suite/search/range/too-large-sort-offset.expected 2014-04-10 18:12:57 +0900 (9df1e20) @@ -1,16 +1,12 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - ] - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + ] } } -] +} Modified: test/command/suite/search/response/elapsed_time.expected (+9 -13) =================================================================== --- test/command/suite/search/response/elapsed_time.expected 2014-04-10 16:51:50 +0900 (5a39ccb) +++ test/command/suite/search/response/elapsed_time.expected 2014-04-10 18:12:57 +0900 (25ab085) @@ -1,15 +1,11 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "memos": { - "count": 1, - "elapsedTime": 0.0 - } +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "memos": { + "count": 1, + "elapsedTime": 0.0 } } -] +} Modified: test/command/suite/search/response/records/value/time.expected (+17 -21) =================================================================== --- test/command/suite/search/response/records/value/time.expected 2014-04-10 16:51:50 +0900 (9216eda) +++ test/command/suite/search/response/records/value/time.expected 2014-04-10 18:12:57 +0900 (602d15d) @@ -1,24 +1,20 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 2, - "records": [ - [ - "Groonga Night 3", - "2012-11-29T10:00:00.000000Z" - ], - [ - "Groonga Night 4", - "2013-11-29T08:00:00.000000Z" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 2, + "records": [ + [ + "Groonga Night 3", + "2012-11-29T10:00:00.000000Z" + ], + [ + "Groonga Night 4", + "2013-11-29T08:00:00.000000Z" ] - } + ] } } -] +} Modified: test/command/suite/search/simple.expected (+45 -49) =================================================================== --- test/command/suite/search/simple.expected 2014-04-10 16:51:50 +0900 (7ae8913) +++ test/command/suite/search/simple.expected 2014-04-10 18:12:57 +0900 (60b1f2e) @@ -1,52 +1,48 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - [ - "1.1", - "Groonga overview" - ], - [ - "1.2", - "Full text search and Instant update" - ], - [ - "1.3", - "Column store and aggregate query" - ], - [ - "1.4", - "Inverted index and tokenizer" - ], - [ - "1.5", - "Sharable storage and read lock-free" - ], - [ - "1.6", - "Geo-location (latitude and longitude) search" - ], - [ - "1.7", - "Groonga library" - ], - [ - "1.8", - "Groonga server" - ], - [ - "1.9", - "Groonga storage engine" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + [ + "1.1", + "Groonga overview" + ], + [ + "1.2", + "Full text search and Instant update" + ], + [ + "1.3", + "Column store and aggregate query" + ], + [ + "1.4", + "Inverted index and tokenizer" + ], + [ + "1.5", + "Sharable storage and read lock-free" + ], + [ + "1.6", + "Geo-location (latitude and longitude) search" + ], + [ + "1.7", + "Groonga library" + ], + [ + "1.8", + "Groonga server" + ], + [ + "1.9", + "Groonga storage engine" ] - } + ] } } -] +} Modified: test/command/suite/search/sort/default-offset-limit.expected (+36 -40) =================================================================== --- test/command/suite/search/sort/default-offset-limit.expected 2014-04-10 16:51:50 +0900 (e7595ad) +++ test/command/suite/search/sort/default-offset-limit.expected 2014-04-10 18:12:57 +0900 (ea74ab2) @@ -1,43 +1,39 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - [ - "1.9" - ], - [ - "1.8" - ], - [ - "1.7" - ], - [ - "1.6" - ], - [ - "1.5" - ], - [ - "1.4" - ], - [ - "1.3" - ], - [ - "1.2" - ], - [ - "1.1" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + [ + "1.9" + ], + [ + "1.8" + ], + [ + "1.7" + ], + [ + "1.6" + ], + [ + "1.5" + ], + [ + "1.4" + ], + [ + "1.3" + ], + [ + "1.2" + ], + [ + "1.1" ] - } + ] } } -] +} Modified: test/command/suite/search/sort/invisible-column.expected (+21 -25) =================================================================== --- test/command/suite/search/sort/invisible-column.expected 2014-04-10 16:51:50 +0900 (f5f44a8) +++ test/command/suite/search/sort/invisible-column.expected 2014-04-10 18:12:57 +0900 (0cd9e11) @@ -1,28 +1,24 @@ -[ - "droonga.message", - 0, - { - "inReplyTo": "request-id", - "statusCode": 200, - "type": "search.result", - "body": { - "result": { - "count": 9, - "records": [ - [ - "Groonga library" - ], - [ - "Geo-location (latitude and longitude) search" - ], - [ - "Sharable storage and read lock-free" - ], - [ - "Inverted index and tokenizer" - ] +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "search.result", + "body": { + "result": { + "count": 9, + "records": [ + [ + "Groonga library" + ], + [ + "Geo-location (latitude and longitude) search" + ], + [ + "Sharable storage and read lock-free" + ], + [ + "Inverted index and tokenizer" ] - } + ] } } -] +}