Got some sample transcription from KB, and did a test encoding, tweaking the XSLT and the schema too to get more worthwhile results.
Also fixed the problem with the generic search box on regular pages; it was missing some named hidden fields, so wasn't providing enough info to the search.xql file. I do need to make this a bit more robust, though; missing fields shouldn't break the results paging navigation as it does.