Option instead of null check
Defaults to tmpdir

I don't want random projects to clutter my $HOME.
Merge pull request #3 from Tass/lucene

Lucene improvements