lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <>
Subject Re: Lucene 2.1.0 release available
Date Mon, 19 Feb 2007 03:53:56 GMT wrote on 18/02/2007 08:20:56:

> Release 2.1.0 of Lucene is now available!
> Many new features, optimizations, and bug fixes have been added since
> including lazy field loading, simple deletes via IndexWriter, and
> readers/commits.
> The detailed change log is at:

Perhaps worth pointing out is item 9 in the changes list:
  9. LUCENE-771: The default location of the write lock
  is now the index directory...

While this is way more convenient, notice that Lucene's feature of
protecting from opening the index for update by two applications
running in parallel is weaker while upgrading to 2.1.0 - i.e.
2.1.0 would succeed to open for write even if at the same time
it is open for write by an older Lucene version.

To avoid problems, just follow these steps when upgrading:
- stop all readers (searchers)
- upgrade all readers (searchers)
- stop all writers
- upgrade all writers

> Lucene 2.1 includes index format changes that are not readable
> by older versions of Lucene.  Lucene 2.1 can both read and update
> older Lucene indexes.  Adding to an index with an older format
> will cause it to be converted to the newer format.
> Binary and source distributions are available at
> -Yonik
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message