working lucene prototype in App.java