wired writing to lucene index