No. You have to initialize it with an IndexWriter. DIGY -----Original Message----- From: Daniel Wertheim [mailto:[email protected]] Sent: Monday, July 05, 2010 7:59 PM To: [email protected] Subject: Fwd: Problems with IndexSearcher
---------- Forwarded message ---------- From: Daniel Wertheim <[email protected]> Date: 2010/7/5 Subject: Problems with IndexSearcher To: [email protected] Hi, Isn't it possible to create an instance of an IndexSearcher for a directory that is empty? Note, I don't consume it, just create it, still there's an exception thrown: "no segments* file found in Lucene.Net.Store.SimpleFSDirectory" If I create an writer first, everything works fine. //Daniel
