HM/TJ: Convert cql filterqueries to lucene queries
HM: Fixed license
TJ: new way of suggestions.