YAZ  5.23.1
Data Fields
bend_search_rr Struct Reference

Information for Z39.50/SRU search handler. More...

#include <backend.h>

Data Fields

char * setname
 
int replace_set
 
int num_bases
 
char ** basenames
 
Z_ReferenceIdreferenceId
 
Z_Queryquery
 
ODR stream
 
ODR decode
 
ODR print
 
bend_association association
 
Odr_int hits
 
int errcode
 
char * errstring
 
Z_OtherInformationsearch_info
 
char * srw_sortKeys
 
char * srw_setname
 
int * srw_setnameIdleTime
 
int estimated_hit_count
 
int partial_resultset
 
Z_SRW_extra_argextra_args
 
char * extra_response_data
 
Z_OtherInformationsearch_input
 
Odr_int present_number
 

Detailed Description

Information for Z39.50/SRU search handler.

This structure is passed to the search handler. Some members are read-only (input), some are read-write (input and output), and others are write-only.

Definition at line 54 of file backend.h.

Field Documentation

bend_association bend_search_rr::association

GFS association / session (input)

Definition at line 65 of file backend.h.

Referenced by process_searchRequest(), srw_bend_search(), and ztest_search().

char** bend_search_rr::basenames

databases to search (input)

Definition at line 58 of file backend.h.

Referenced by my_search(), process_searchRequest(), srw_bend_search(), and ztest_search().

ODR bend_search_rr::decode

decode stream (input)

Definition at line 62 of file backend.h.

Referenced by process_searchRequest(), and srw_bend_search().

int bend_search_rr::errcode

Diagnostic code / 0 for no error (output)

Definition at line 67 of file backend.h.

Referenced by my_search(), process_searchRequest(), response_searchRequest(), srw_bend_search(), and ztest_search().

char* bend_search_rr::errstring

Additional info (output)

Definition at line 68 of file backend.h.

Referenced by ccl2pqf(), my_search(), process_searchRequest(), response_searchRequest(), srw_bend_search(), and ztest_search().

int bend_search_rr::estimated_hit_count

1=estimated hits; 0=exact (output)

Definition at line 73 of file backend.h.

Referenced by process_searchRequest(), response_searchRequest(), srw_bend_search(), and ztest_search().

Z_SRW_extra_arg* bend_search_rr::extra_args

SRU extra request parameters (input)

Definition at line 75 of file backend.h.

Referenced by process_searchRequest(), srw_bend_search(), and ztest_search().

char* bend_search_rr::extra_response_data

SRW extra XML response (output)

Definition at line 76 of file backend.h.

Referenced by process_searchRequest(), srw_bend_search(), and ztest_search().

Odr_int bend_search_rr::hits

hits (output)

Definition at line 66 of file backend.h.

Referenced by my_search(), process_searchRequest(), response_searchRequest(), srw_bend_search(), and ztest_search().

int bend_search_rr::num_bases

number of databases (input)

Definition at line 57 of file backend.h.

Referenced by my_search(), process_searchRequest(), srw_bend_search(), and ztest_search().

int bend_search_rr::partial_resultset

1=partial results; 0=full (output)

Definition at line 74 of file backend.h.

Referenced by process_searchRequest(), response_searchRequest(), and srw_bend_search().

Odr_int bend_search_rr::present_number

piggyback present number (>0) (input)

Definition at line 78 of file backend.h.

Referenced by process_searchRequest(), and srw_bend_search().

ODR bend_search_rr::print

print stream (input)

Definition at line 63 of file backend.h.

Referenced by process_searchRequest(), and srw_bend_search().

Z_Query* bend_search_rr::query

query structure (input)

Definition at line 60 of file backend.h.

Referenced by ccl2pqf(), process_searchRequest(), srw_bend_search(), and ztest_search().

Z_ReferenceId* bend_search_rr::referenceId

reference ID (input)

Definition at line 59 of file backend.h.

Referenced by process_searchRequest(), and srw_bend_search().

int bend_search_rr::replace_set

replace set indicator (input)

Definition at line 56 of file backend.h.

Referenced by process_searchRequest(), srw_bend_search(), and ztest_search().

Z_OtherInformation* bend_search_rr::search_info

extra search info result (output)

Definition at line 69 of file backend.h.

Referenced by process_searchRequest(), response_searchRequest(), srw_bend_search(), and ztest_search().

Z_OtherInformation* bend_search_rr::search_input

extra search info request (input)

Definition at line 77 of file backend.h.

Referenced by process_searchRequest(), srw_bend_search(), and ztest_search().

char* bend_search_rr::setname

result set ID (input)

Definition at line 55 of file backend.h.

Referenced by process_searchRequest(), srw_bend_search(), and ztest_search().

char* bend_search_rr::srw_setname

SRU generated resultsetID (output)

Definition at line 71 of file backend.h.

Referenced by process_searchRequest(), and srw_bend_search().

int* bend_search_rr::srw_setnameIdleTime

SRU result set idle time (output)

Definition at line 72 of file backend.h.

Referenced by process_searchRequest(), and srw_bend_search().

char* bend_search_rr::srw_sortKeys

SRU sortKeys info (input)

Definition at line 70 of file backend.h.

Referenced by process_searchRequest(), and srw_bend_search().

ODR bend_search_rr::stream

encode stream (input)

Definition at line 61 of file backend.h.

Referenced by process_searchRequest(), srw_bend_search(), and ztest_search().


The documentation for this struct was generated from the following file: