Description
void
yaz_ccl_conf ( resource id, array config )
This function configures the CCL query parser for a server with
definitions of access points (CCL qualifiers) and their mapping to RPN.
To map a specific CCL query to RPN afterwards call the
yaz_ccl_parse() function.
Examples
In the example below, the CCL parser is configured to support three CCL
fields: ti, au and
isbn. Each field is mapped to their BIB-1 equivalent.
It is assumed that variable $id is the connection ID.
Example 1. CCL configuration
<?php $fields = array( "ti" => "1=4", "au" => "1=1", "isbn" => "1=7" ); yaz_ccl_conf($id, $fields); ?>
|
|