Lucene utilities