Changes in SRU from Versions 1.1 to 1.2
SRU Version 1.2 is in development and will be released soon. This
page summarizes the differences from version 1.1.
CQL Changes
- CQL renamed the "contextual query language".
- 'scr' relation eliminated. '=' becomes (in effect) server choice. When
relation is omitted, '=' is assumed.
- 'adj' relation defined for word adjacency.
- 'exact' relation eliminated. Replaced by '=='.
- 'regexp' relation modifier defined.
- Sorting is added as a cql feature (the 'sortby' clause).
- Proximity. Defaults are now server defined, not standard defined. Hence "prox" can
be anything the server wants to do proximately, not necessarily with
a default of adjacency.
Proximity units (other than in cql set) are treated such that "unit" is
a value in a context set, rather than the unit value being a value
in a context set. Proximity units 'word', 'sentence', 'paragraph',
which are included in the cql set, are explicitly undefined.
Protocol Changes
- Record identifier (optional) added to record structure.
- XCQL parameter becomes optional.
- XPath parameter dropped (will become an extension).
- base url added to response.
- record hits incorporated into xcql.
- Z39.92 replaces explain.
- Sorting is no longer a protocol function (see point 6 in CQL list).