Return to Jive Software

Skip navigation
Currently Being Moderated

Updating Lucene libraries

VERSION 1 
Created on: Oct 22, 2009 10:46 AM by karlcyr - Last Modified:  Oct 22, 2009 10:55 AM by karlcyr

Apache Lucene is the library we use for performing search indexing and retrieval in all of Jive's products. We have found that in older versions of Clearspace (2.5.x and earlier), some users run into problems with corrupt search indices. This is often accompanied by strange errors in the logs and problems with content not showing up in the index as expected. If you do encounter these problems, you may need to update the version of Lucene your instance is using to address several known bugs. To determine whether or not your error warrants these changes, please contact Jive Support.

 

Updating to Lucene 2.4:

 

Replace the following jars from the <webapps>/clearspace/WEB-INF/lib directory with the attached jars:

  • lucene-core.jar
  • lucene-highlighter.jar
  • lucene-memory.jar
  • lucene-queries.jar

 

Once the new jars are in place:

  1. Stop Clearspace
  2. Back up your jiveHome/search/ folder, then remove the index directories from the jiveHome/search/ folder (keep the xml files)
  3. Start Clearspace
  4. Do a full rebuild of both the search index and user search index.  This is necessary because the format of the indexes changes with the 2.4 release of Lucene.
  5. Restart Clearspace again just to ensure that everything is starting with a clean slate.
After this, any issues with corrupt indices should be resolved. Note that these updated libraries have been included with the SBS 3.0 release, so these instructions apply only to Clearspace releases.
Average User Rating
(0 ratings)

Bookmarked By (0)

More Like This

  • Retrieving data ...