added more lucene functionality