change lucene.directory to lucene.location