Implementing Lucene API