new sample to demonstrate the lucene api