YUKI Hiroshi
null+****@clear*****
Wed Dec 25 19:25:26 JST 2013
YUKI Hiroshi 2013-12-25 19:25:26 +0900 (Wed, 25 Dec 2013) New Revision: 9a787a4e8e4339ffb2bf658e9fe852269e42e677 https://github.com/droonga/droonga.org/commit/9a787a4e8e4339ffb2bf658e9fe852269e42e677 Message: Add more error definitions for "search" command and around the message itself. Modified files: reference/commands/search/index.md reference/message/index.md Modified: reference/commands/search/index.md (+3 -0) =================================================================== --- reference/commands/search/index.md 2013-12-25 19:17:52 +0900 (e4a0095) +++ reference/commands/search/index.md 2013-12-25 19:25:26 +0900 (87dac50) @@ -1205,4 +1205,7 @@ Means you've specified a table which is not existing in the specified dataset. ### `404` `UnknownColumn` Means you've specified any column which is not existing in the specified table. + +### `500` `SearchTimeout` +Means the engine couldn't finish to process the request in the time specifieda as `timeout`. Modified: reference/message/index.md (+11 -2) =================================================================== --- reference/message/index.md 2013-12-25 19:17:52 +0900 (125f882) +++ reference/message/index.md 2013-12-25 19:25:26 +0900 (4e37970) @@ -134,10 +134,19 @@ An error response has the `type` same to a regular response, but it has differen Status codes of error responses are similar to HTTP's one. Possible values: `400` and other `4xx` statuses -: An error of the request message. +: An error of the request message. General errors for any message type are: + + `400` `MissingDataset` + : Means you've forgotten to specify the `dataset`. + + `404` `UnknownDataset` + : Means you've specified a dataset which is not existing. `500` and other `5xx` statuses -: An internal error of the Droonga Engine. +: An internal error of the Droonga Engine. General errors for any message type are: + + `501` `UnknownType` + : Means there is not adapter or handler for the `type`. ### Body of error responses {#error-body} -------------- next part -------------- HTML����������������������������... Descargar