(PHP 4 >= 4.0.1, PECL yaz:0.9-1.0.9)
yaz_search — Prepares for a search
yaz_search() prepares for a search on the target with given id. The type represents the query type - only "rpn" is supported now in which case the third argument is a prefix notation query as used by YAZ. Like yaz_connect() this function is non-blocking and only prepares for a search to be executed later when yaz_wait() is called.