quick example with apache lucene simulating an local indexing and text search