learn lucene code