XQuery Function Documentation

Search and Browse

t:create-query

t:create-query($queryStr as xs:string?, $mode as xs:string) as item()*

Test translation of query parameters into a full text query.

Parameters:
$queryStr? $queryStr?
$mode $mode
Returns:
item()*

t:query

t:query($queryStr as xs:string?, $mode as xs:string) as item()*

Test the actual query function: should return a scene with the search terms highlighted.

Parameters:
$queryStr? $queryStr?
$mode $mode
Returns:
item()*

t:show-hits

t:show-hits($queryStr as xs:string?, $mode as xs:string) as item()*

Test result display.

Parameters:
$queryStr? $queryStr?
$mode $mode
Returns:
item()*