lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aruna Raghavan <Aru...@opin.com>
Subject RE: What does it take to optimize?
Date Wed, 03 Apr 2002 19:20:33 GMT
Hi,
I would call close after I call optimize...

-----Original Message-----
From: Robert A. Decker [mailto:decker@robdecker.com]
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:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message