Port of Lucene to C#