Basic Lucene indexing functionality