Z39.50 Core Services |
|||
|
This page describes the “Core” services that are part of every Z39.50 session:
|
|||
Contents Map: Z39.50 Part 2 |
|||
|
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||||
Contents: this page |
||||||||||||||||||
|
Initialisation, Search, Query, Response, Retrieval: Present, Segment, Result-set-delete |
||||||||||||||||||
|
The two systems can also agree about: |
||||||||||||||||||
|
It could be argued that a search tool cannot be all things to all men but Z39.50 has the power to support the various levels and even some capabilities to “dumb down” a search if the target cannot handle the search statement. Here is how a typical Z39.50 search statement could be packaged up - showing the key |
||||||||||||||||||
|
|
||||||||||||||||||
|
|
When Restriction is allowed, a result-set can be reduced by applying a restriction such as “Author” to restrict the result set to just those records where the query term occurs in the specified field. Proximity allows the specifying of terms to be near to each other and thus allows for “Full text retrieval”. The “nearness” of terms can be expressed in terms of their distance - expressed in units of text e.g. words, sentence, paragraphs. E.g. 0 + sentence means in the same sentence. 2 + word means not more than 2 words apart. Relation can be expressed e.g. > 2 words would mean must be more than 2 words apart. The order of the terms can be expressed and also an exclusion flag so that a condition like “cat” not within 5 words of “hat”. |
||||
|
The initial response from the Z-Server is part of the search service and is basically information about the results of the search plus the first few real records as defined by the search parameters. The possible parts of the first response to the query are as follows: |
||||
Summary |
|||||||
|
Search Response The next section describes what can happen next in the "Present" phase. |
|||||||
Retrieval |
|||||||
|
The retrieval facility comprises two services - Present and Segment. Present is a request to the Z-server to send certain records and Segment is the process of breaking a large number of records into smaller numbers for ease of transmission. Segment can also be applied to breaking very large records into parts. The Present service is more interesting to the librarian since it defines how records can be requested. Segment is primarily of interest for optimising network transmission. |
|||||||
Present |
|||||||
|
After the Search service has retrieved the initial response of records, the user may wish to see more records and a Present message is sent to the Z-server (target). |
|||||||
|
|
|
|
When the target gets the “Present” request it responds with the records and some associated information. |
|
|
|
|
As mentioned, the Segment service is not of much interest to librarians and so I am not going to cover this aspect of the standard in any detail. It concerns how records are packaged to transmission across the network. However if network speed is a problem, or you are asking routinely for hundreds or thousands of records to be downloaded, or your records are very large, then segmentation issues are likely to be important. |
|||||
Summary of the Retrieve Service |
|||||
|
Once the query has been submitted and the first response returned, the Z-client can ask for records to be retrieved. E.g. Origin Target response |
|||||
Result-Set Delete |
|||||
|
This service enables a result set to be deleted by the Z-client (origin). The Z-server (target) responds accordingly. |
|||||
|
|
|