Make this class LuceneOptions, pass it around. Create a constructor from the config file.