Quick fix for lucene demo