HM/TJ: use sortKeys in SRU correctly.
HM/TJ: added filterQueries for lucene.