Z3950-PRISE 2.0 supports four services (Init, Search, Present & Close) as outlined below.
- 3.2.2.1.1 Query-type and Query
- Server: Supports Type-1(01) RPN Query (and parts of the experimental Type 102 Query)
The default query translator converts the query into a string of blank
delimited terms each of which is an operand extracted (inorder) without
regard to attributes from the query. All operators are ignored.
The PRISE-specific query translator converts the Z39.50 query into
a PRISE query structure and supports the following Bib-1 attributes:
-
If a position attribute is specified, it must be ANY-POSITION-IN-FIELD.
-
If a completeness attribute is specified, it must be COMPLETE-SUBFIELD or
INCOMPLETE-SUBFIELD - in other words there can be text to the right and/or
left of the term.
-
If a truncation attribute is specified, it must be DO-NOT-TRUNCATE.
-
If a structure attribute is specified, it must be PHRASE, WORD, WORDLIST,
FREE-FORM-TEXT, or DOCUMENT-TEXT. The proximity operator is supported for
terms with the structure attribute WORD.
-
If a use attribute is specified, it must be ANY or be contained within
the ZPRISE fields table for the database being searched.
- Client: Creates Type-1 or Type-101 RPN Query or minimal Type-102 query
If version 2 is in force and the query involves proximity, then a Type-101
RPN query is constructed; otherwise a Type-1 RPN query is created.
If version 3 is in force, the server is Z39.50/PRISE, and the user is
engaged in relevance feedback, the client creates a Type-102 query (as of
Sept `96) and embeds the Type-1 or Type-101 in the Type-102 as the
"restriction".
- 3.2.2.1.2 Database-names
- Server: Uses only the first if multiple requested
- Client: Requests only one
- 3.2.2.1.3 Result-set-name and Replace-indicator
- Server: Ignored - always (re)uses the same default result set
- Client: Ignored
- 3.2.2.1.4 Small-set-element-set-names and Medium-set-element-set-name
- Server: Full or Brief
Full = Document number + document title + document text
Brief = Document number + document title
- Client: Full or Brief
Search request asks for Brief
When the user clicks on a document in the list returned by Search,
the Full form of the document is presented.
- 3.2.2.1.5 Preferred-record-syntax
- Server: Insists on SUTRS
- Client: Supports only SUTRS
- 3.2.2.1.6 Small-set-upper-bound, Large-set-lower-bound, and Medium-set-
present-number
- Server: Response defaults set via file
- Client: Request defaults set via file
- 3.2.2.1.7 Response-records
- Server: Supported, including v1,2,3 (non)surrogate diagnostic records
- Client: Supported, including v1,2,3 (non)surrogate diagnostic records
- 3.2.2.1.8 Result-count and Number-of-records-returned
- Server: Supported, Number-of-records_returned includes non-surrogate diagnostic(s)
- Client: Supported
- 3.2.2.1.9 Next-result-set-position
- Server: Supported
- Client: Supported
- 3.2.2.1.10 Search-status
- Server: Supported
- Client: Supported
- 3.2.2.1.11 Result-set-status and Present-status
- Server: Supported.
Result-set-status is meaningful if and only if the value of Search-status is
'failure', in which case its value is one of the following:
- subset
- Partial, valid results available.
- none
- No result set
Present-status is meaningful if and only if the value of Search-status is
'success', in which case Present-status's value is one of the following:
- success
- All of the expected response records are available
- partial-2
- Not all of the expected response records can be returned because they will not fit within the response
- failure
- None of the expected response records can be returned. One or more non-surrogate diagnostic records is returned (see note in 3.2.2.1.7).
- Client: Supported
- 3.2.2.1.12 Additional-Search-Information
- Server: Used, if present, to set number-of-records-wanted for Prise
- Client: Sends maximum number of records to be returned
- 3.2.2.1.13 Other-information
- Server: Ignored
- Client: Ignored
- 3.2.2.1.14 Reference-id
- Server: Response contains request's Reference-id, if any
- Client: Supplies Reference-ids to support certain operations and
expects the server to return these, otherwise operations will not
complete successfully.