Changes between Version 46 and Version 47 of FCS-Specification-ScrapBook


Ignore:
Timestamp:
02/14/14 13:00:55 (10 years ago)
Author:
oschonef
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FCS-Specification-ScrapBook

    v46 v47  
    525525http://repos.example.org/fcs-endpoint?operation=explain&version=1.2&x-clarin-fcs-endpoint-description=true
    526526}}}
    527 * HTTP Response: Endpoint -> Client
     527* HTTP Response: Endpoint -> Client:
    528528{{{#!xml
    529529<?xml version='1.0' encoding='utf-8'?>
     
    595595
    596596=== Operation ''searchRetrieve'' ===#searchRetrieve
    597 The ''searchRetrieve'' operation of the SRU protocol is used for searching in the Resources that are provided by an Endpoint. The SRU protocol defines request and response formats in [#REF_SRU_12 OASIS-SRU-12]. Search result hits are encoded down to a record level, i.e. the `<sru:record>` element, and SRU allows records to be serialized in various formats, so called ''record schemas''. Endpoints `MUST` support the CLARIN-FCS record schema (see [#resultFormat above]). The ''responseItemType'' ("record schema identifier") that `MUST` be used for that for that schema is `http://clarin.eu/fcs/1.0`.
    598 
    599 In CLARIN-FCS, each record, i.e. `<sru:record>` element, `MUST` represent exactly ''one hit'' within the Resource. to belong in within the resource fragment.
     597The ''searchRetrieve'' operation of the SRU protocol is used for searching in the Resources that are provided by an Endpoint. The SRU protocol defines the serialization of request and response formats in [#REF_SRU_12 OASIS-SRU-12]. In SRU, search result hits are encoded down to a record level, i.e. the `<sru:record>` element, and SRU allows records to be serialized in various formats, so called ''record schemas''.
     598
     599Endpoints `MUST` support the CLARIN-FCS record schema (see section [#resultFormat Result Format]) and `MUST` use the value `http://clarin.eu/fcs/1.0` for the ''responseItemType'' ("record schema identifier").
     600Endpoints `MUST` represent exactly ''one hit'' within the Resource as one SRU record, i.e. `<sru:record>` element.
    600601
    601602The following example shows a request and response to an ''searchRetrieve'' request with a ''term-only'' query for "cat":
     
    604605http://repos.example.org/fcs-endpoint?operation=searchRetrieve&version=1.2&query=cat
    605606}}}
    606 * HTTP Response: Endpoint -> Client
     607* HTTP Response: Endpoint -> Client:
    607608{{{#!xml
    608609<?xml version='1.0' encoding='utf-8'?>