PHP » GoLang |
login |
register |
about
|
yaz_search(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) yaz_search — Prepares for a search Description
bool yaz_search
( resource
$id
, string $type
, string $query
)yaz_search() prepares for a search on the given connection. Like yaz_connect() this function is non-blocking and only prepares for a search to be executed later when yaz_wait() is called. Parameters
Return Values
Returns ExamplesExample #1 Query Examples You can search for simple terms, like this: computer The query "knuth donald" This query applies two attributes for the same phrase. @attr 1=1003 @attr 4=1 "knuth donald"
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.
The query @and @or a b @not @or c d e Another, more complex, one: @attrset gils @and @attr 1=4 art @attr 1=2000 company |
more
Recently updated
more
Most requested
more
Last requests
|