yaz_search

(PHP4 >= 4.0.1)

yaz_search -- Prepares for a search

Description

int yaz_search (int id, string type, string query)

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.