A module for a Contextual Query Language (CQL) parser
cqlparser:parse-cql($expression as xs:string?, $output-as as xs:string?) as item()?
Parses expressions in the Contextual Query Language (SRU/CQL) v1.2, returning it back as XCQL or CQL, based on the second parameter, default is XCQL. Basic searchClauses (index relation term) can be combined with boolean operators.
$expression? | The expression to parse |
$output-as? | Output as 'XCQL' or 'CQL' |