Adding Lucene sample code.