RAZ-2866: Remove lucene.lock file if older than a day
- Var’ed the local variables