Some utilities for Lucene