There are two rather major bugs that have surfaced in the 0.8 release that I wanted everyone to know about, along with the fixes.

First, as many of you have figured out, the import.sh script is in the root of the vufind folder and the import.properties file needs to be in the same folder. The easiest fix is to either move the import.properties file up, or the import.sh script into the import folder.

The second bug is also related to the import.sh script. The variable SOLR_DATA_DIR is not being set properly. I will be committing a fix to both the trunk and Vufind-0.8 branch shortly, but wanted to let folks know that if you've indexed in 0.8, your index has most likely gone to /index (in root). You can just move these files into your $SOLR_HOME/data/index.

In the mean time, here is the condensed fix with the import.sh script:

#!/bin/sh
INDEX_OPTIONS="-Xms256m -Xmx256m"
if [ -z "$SOLR_HOME" ]
then
  echo "You need to set the SOLR_HOME environmental variable before running this script."
  exit 1
fi

if [ "$SOLR_HOME" ]
then
    INDEX_OPTIONS="$INDEX_OPTIONS -Dsolr.solr.home=$SOLR_HOME"
    INDEX_OPTIONS="$INDEX_OPTIONS -Dsolr.data.dir=$SOLR_HOME/data"
fi

java $INDEX_OPTIONS -jar import/import.jar