Use Postgres instead of H2 and optimize Lucene index creation