yaz_search() prepares for a
search on the connection given by
id. The type
represents the query type - only
"rpn" is supported now in which case the third argument
specifies a Type-1 query in prefix query notation. Like
yaz_connect() this function is non-blocking and only
prepares for a search to be executed later when
yaz_wait() is called.
The RPN query is a textual represenation of the Type-1
query as defined by the Z39.50 standard. However, in the text
representation as used by YAZ a prefix notation is used, that
is the operater precedes the operands. The query string is a
sequence of tokens where white space is ignored is ignored
unless surrounded by double quotes. Tokens beginning with an
at-character (@) are considered
operators, otherwise they are treated as search terms.
表格 1. RPN Operators
You can find information about attributes at the Z39.50 Maintenance Agency site.
注: If you would like to use a more friendly notation, use the CCL parser - functions yaz_ccl_conf() and yaz_ccl_parse().