XQuery API (Search)