RE: Old Lucene src archive corrupt?

2010-03-12 Thread An Hong
I just want to report that the download of the zip sources from the old-archive directory now works for me. I'm not sure what the problem was, but it's gone now. Thanks to those who replied. An Hong -Original Message- From: Scott Ribe [mailto:scott_r...@killerbytes.

RE: Old Lucene src archive corrupt?

2010-03-03 Thread An Hong
hers. ??? An -Original Message- From: Toke Eskildsen [mailto:t...@statsbiblioteket.dk] Sent: Tuesday, March 02, 2010 1:56 PM To: java-user@lucene.apache.org Subject: RE: Old Lucene src archive corrupt? From: An Hong [an.h...@i365.com] > I'm trying to download some old Lucene sourc

Old Lucene src archive corrupt?

2010-03-02 Thread An Hong
files. It's also the same problem with lucene-2.9.1-src.zip and perhaps with other versions as well. Please check. Thanks, An Hong

IndexWriter 2-phase commit usage

2009-02-23 Thread An Hong
I'm having trouble applying IndexWriter 2-phase commit to make a transaction involving two different indexes. The scenario, 1. Open index1 2. Open index2 3. Make change1 to index1 4. Make change2 to index2 5. index1.prepareCommit() successfully flushes 6. index2.prepareCommit() succe

Upgrading an old index to 2.4 format

2009-02-23 Thread An Hong
I've several existing indexes in 2.1 file format. If these indexes have multiple segments and have not been optimized, a call to IndexWriter.optimize() should create a newly merged segment of the latest 2.4 file format. Is this true? And, is there a way to force a file format upgrade on a 2.

IndexWriter.rollback() logic question

2009-02-23 Thread An Hong
A question about IndexWriter.rollback() logic. Its javadoc says that it "Close the IndexWriter without committing any of the changes that have occurred since it was opened." So if I do 1. Open IndexWriter 2. Add doc1 3. Commit (successfully) 4. Add doc2 5. PrepareCommit() 6. Rollback()