Created a `private def` for the `config`. If it's slow we can always make it faster later :) I added a ticket for upgrading the Lucene version