Query q = new TermQuery(new Term("contents","lucene"));TopDocs hits = searcher.search(q,10);This code instructs Lucene to find the top 10 documents that contain the word lucene in a field named conten
step 1 - create a new console applicationThen extract the Lucene.Net.dll from the Apache-Lucene.Net-2.9.2-incubating.bin.zip file into your lib folder.You'll notice lots of other bits in this zip fil
From: http://incubator.apache.org/lucene.net/ Lucene.Net is a byte-to-byte port to .NET of Apache Lucene a high-performance, full-featured text search engine library ...