to make out lucene code and algorithm