Lucene improvements

One is the use of Option instead of explicit null checks, the other a sane default for the index  position in the file tree.