Connect lucene library