Version 1.1, 12th January 2004
These are the diagnostics defined for use with SRW. The Number is the code to be returned to identify the diagnostic. The details format is what should be returned in the details field. If this is blank then the format is undefined and the server may return whatever it feels appropriate, including nothing. Some of the diagnostics from earlier versions have been deprecated, however they are still listed here, suitably marked, for reference.
General Diagnostics | ||
| Number | Description | Details Format |
|---|---|---|
| 1 | General system error | Debugging information (traceback) |
| 2 | System temporarily unavailable | |
| 3 | Authentication error | |
| 4 | Unsupported operation | |
| 5 | Unsupported version | Highest version supported |
| 6 | Unsupported parameter value | Name of parameter |
| 7 | Mandatory parameter not supplied | Name of missing parameter |
| 8 | Unknown database | Name of database |
|
Diagnostics Relating to CQL | ||
| Number | Description | Details Format |
| 10 | Query syntax error | |
| 11 | DEPRECATED. | |
| 12 | DEPRECATED. | |
| 13 | Unsupported use of parentheses | Character offset to error |
| 14 | Unsupported use of quotes | Character offset to error |
| 15 | Unsupported context set | URI or short name of context set |
| 16 | Unsupported index | Name of index |
| 17 | DEPRECATED. | |
| 18 | Unsupported combination of indexes | Space delimited index names |
| 19 | Unsupported relation | Relation |
| 20 | Unsupported relation modifier | Value |
| 21 | Unsupported combination of relation modifers | Slash separated relation modifiers |
| 22 | Unsupported combination of relation and index | Space separated index and relation |
| 23 | Too many characters in term | Length of longest term |
| 24 | Unsupported combination of relation and term | Space separated relation and term |
| 25 | DEPRECATED. | |
| 26 | Non special character escaped in term | Character incorrectly escaped |
| 27 | Empty term unsupported | |
| 28 | Masking character not supported | |
| 29 | Masked words too short | Minimum word length |
| 30 | Too many masking characters in term | Maximum number supported |
| 31 | Anchoring character not supported | |
| 32 | Anchoring character in unsupported position | Character offset |
| 33 | Combination of proximity/adjacency and masking characters not supported | |
| 34 | Combination of proximity/adjacency and anchoring characters not supported | |
| 35 | Term contains only stopwords | Value |
| 36 | Term in invalid format for index or relation | |
| 37 | Unsupported boolean operator | Value |
| 38 | Too many boolean operators in query | Maximum number supported |
| 39 | Proximity not supported | |
| 40 | Unsupported proximity relation | Value |
| 41 | Unsupported proximity distance | Value |
| 42 | Unsupported proximity unit | Value |
| 43 | Unsupported proximity ordering | Value |
| 44 | Unsupported combination of proximity modifiers | Slash separated values |
| 45 | DEPRECATED. | |
| 46 | Unsupported boolean modifier | Value |
|
Diagnostics Relating to Result Sets | ||
| Number | Description | Details Format |
| 50 | Result sets not supported | |
| 51 | Result set does not exist | Result set identifier |
| 52 | Result set temporarily unavailable | Result set identifier |
| 53 | Result sets only supported for retrieval | |
| 54 | DEPRECATED. | |
| 55 | Combination of result sets with search terms not supported | |
| 56 | DEPRECATED. | |
| 57 | DEPRECATED. | |
| 58 | Result set created with unpredictable partial results available | |
| 59 | Result set created with valid partial results available | |
| 60 | Result set not created: too many matching records | Maximum number |
|
Diagnostics Relating to Records | ||
| Number | Description | Details Format |
| 61 | First record position out of range | |
| 62 | DEPRECATED. | |
| 63 | DEPRECATED. | |
| 64 | Record temporarily unavailable | |
| 65 | Record does not exist | |
| 66 | Unknown schema for retrieval | Schema URI or short name |
| 67 | Record not available in this schema | Schema URI or short name |
| 68 | Not authorised to send record | |
| 69 | Not authorised to send record in this schema | |
| 70 | Record too large to send | Maximum record size |
| 71 | Unsupported record packing | |
| 72 | XPath retrieval unsupported | |
| 73 | XPath expression contains unsupported feature | Feature |
| 74 | Unable to evaluate XPath expression | |
|
Diagnostics Relating to Sorting | ||
| Number | Description | Details Format |
| 80 | Sort not supported | |
| 81 | DEPRECATED. | |
| 82 | Unsupported sort sequence | Sequence |
| 83 | Too many records to sort | Maximum number supported |
| 84 | Too many sort keys to sort | Maximum number supported |
| 85 | DEPRECATED. | |
| 86 | Cannot sort: incompatible record formats | |
| 87 | Unsupported schema for sort | URI or short name of schema given |
| 88 | Unsupported path for sort | XPath |
| 89 | Path unsupported for schema | XPath |
| 90 | Unsupported direction | Value |
| 91 | Unsupported case | Value |
| 92 | Unsupported missing value action | Value |
|
Diagnostics Relating to Explain | ||
| Number | Description | Details Format |
| 100 | DEPRECATED. | |
| 101 | DEPRECATED. | |
| 102 | DEPRECATED. | |
|
Diagnostics relating to Stylesheets | ||
| Number | Description | Details Format |
| 110 | Stylesheets not supported | |
| 111 | Unsupported stylesheet | URL of stylesheet |
|
Diagnostics relating to Scan | ||
| Number | Description | Details Format |
| 120 | Response position out of range | |