yaz_search

yaz_search -- Prepares for a search

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

The RPN query

Tabela 1 .

Przykład 1 .




which matches documents where "computer" occur. No attributes are specified.




matches documents where "knuth donald" occur (provided that the server supports phrase search).




First attribute is type 1 (Bib-1 use), attribute value is 1003 (Author). Second attribute has is type 4 (structure), value 1 (phrase), so this should match documents where Donald Knuth is author.




would in infix notation look like (a or b) and ((c or d) not e) .




The query as a whole uses the GILS attributeset. The query matches documents where art occur in the title (GILS,BIB-1) and in which company occur as Distributor (GILS).

Notatka :