Port Lucene directory reader management from Sismics Docs
Merge branch 'master' of https://github.com/sismics/reader.git