ngram:starts-with($nodes as node()*, $queryString as xs:string?) node()*
Similar to the standard XQuery fn:starts-with function, but based on the NGram index. Searches the given $queryString in the index defined on the input node set $nodes. The string may appear at any position within the node content. String comparison is case insensitive. Nodes need to have an ngram index to be searched.
$nodes
The input node set to search
$queryString
The exact string to search for
Returns a set of nodes from the input node set $nodes starting with the query string or the empty sequence