lucene write