Hi,
I would call close after I call optimize...

-----Original Message-----
From: Robert A. Decker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 1:15 PM
To: Lucene Users List
Subject: What does it take to optimize?


My index is larger than it should be. My deletable file has entries. I'm
trying to optimize the index, but it just doesn't seem to be doing
anything. Here's how I'm trying to optimize:

IndexWriter writer = new IndexWriter(pathToIndex,
                                     fragmentAnalyzer,
                                     false);
writer.close();
writer.optimize();



thanks,
rob

http://www.robdecker.com/
http://www.planetside.com/


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to