lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy" <>
Subject RE: Problems with IndexSearcher
Date Mon, 05 Jul 2010 18:05:33 GMT
No. You have to initialize it with an IndexWriter.

-----Original Message-----
From: Daniel Wertheim [] 
Sent: Monday, July 05, 2010 7:59 PM
Subject: Fwd: Problems with IndexSearcher

---------- Forwarded message ----------
From: Daniel Wertheim <>
Date: 2010/7/5
Subject: Problems with IndexSearcher


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.


View raw message