basic code to test lucene's work