Re: IndexNotFoundException

2011-06-06 Thread Ben Hood
call writer.commit()/close() > immediately after you create it. > > https://issues.apache.org/jira/browse/LUCENE-2386 > > -- > Ian. > > > On Mon, Jun 6, 2011 at 10:58 AM, Ben Hood <0x6e6...@gmail.com> wrote: >> Hi, >> >> I'm trying to upgrade fro

Re: IndexNotFoundException

2011-06-06 Thread Ben Hood
r(dir, new StandardAnalyzer(Version.LUCENE_30), IndexWriter.MaxFieldLength.UNLIMITED); IndexSearcher searcher = new IndexSearcher(dir, true); } } On Mon, Jun 6, 2011 at 10:58 AM, Ben Hood <0x6e6...@gmail.com> wrote: > Hi, > > I'm trying to upgrade from 3.0.2 to 3.2.0 and am runn

IndexNotFoundException

2011-06-06 Thread Ben Hood
Hi, I'm trying to upgrade from 3.0.2 to 3.2.0 and am running into the following issue when trying to boot an IndexSearcher: Exception in thread "main" org.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.NIOFSDirectory@/tmp/804f7160-9023-11e0-9123-00