various hacks on pazpar2 (available from git.indexdata.com)