Channels

Services

Lucene and Solr updates fix index corruption bug

The Lucene and Solr developers have updated the text search engine and enterprise search platform to version 3.4.0. The developers recommend that anyone using Lucene 3.1, 3.2 or 3.3 upgrade to the new version because it was discovered that it is easy to get index corruption when a system is abruptly restarted. The bug was discovered thanks to hurricane Irene making the electricity supply to one Lucene user unreliable. It was later confirmed by another developer simply pulling the power cord from an Ubuntu system running Lucene. This index corruption bug is not related to July's Lucene vs Java 7 issues.

Other changes in Lucene 3.4.0 include a new faceting module, a new join module, an improved QueryParser which can generate queries for numeric ranges and the addition of a contributed SynonymFilter. Solr 3.4.0 includes all these changes, the ability for a client to handle grouped and range facet results and many other enhancements. Full details can be found in the Lucene change log and Solr release notes. The packages can be downloaded via the Apache mirror download pages for Lucene and Solr. Lucene and Solr are both published under the Apache Public Licence 2.0.