Lucene sample code