XQuery Function Documentation

Search and Browse

search:do-query

search:do-query($context as node()*, $query as xs:string, $field as xs:string) as item()*

Parameters:
$context* $context*
$query $query
$field $field
Returns:
item()*

search:entry-id

search:entry-id($node as node()) as item()*

Parameters:
$node $node
Returns:
item()*

search:get-entry

search:get-entry($node as node(), $model as map(*)) as item()*

Parameters:
$node $node
$model $model
Returns:
item()*

search:kwic

search:kwic($node as node(), $model as map(*)) as item()*

Parameters:
$node $node
$model $model
Returns:
item()*

search:query

search:query($node as node()*, $model as map(*), $q as xs:string?, $field as xs:string, $view as xs:string) as item()*

Templating function: process the query.

Parameters:
$node* $node*
$model $model
$q? $q?
$field $field
$view $view
Returns:
item()*

search:result-count

search:result-count($node as node(), $model as map(*)) as item()*

Parameters:
$node $node
$model $model
Returns:
item()*

search:results

search:results($node as node(), $model as map(*)) as item()*

Parameters:
$node $node
$model $model
Returns:
item()*

search:title

search:title($node as node(), $model as map(*)) as item()*

Parameters:
$node $node
$model $model
Returns:
item()*