Take Ken's change a little further. Forget the 1-arg constructor for Indri and Lucene. Instead, check each time if the databases exist and handle accordingly