fix search lucene compatability with cronjobs, use namespaces