making lucene indexing work