First draft of a lucene compiler.