Solr 3.x or Solr 4.x ?

We are providing 3 Solr versions with configuration files (schema.xml and solrconfig.xml) ready to use with Crawl-Anywhere and its default web search application. However, you may decide to use an other version or upgrade to a new Solr release.

To do this, you will need to modify the solrconfig.xml and schema.xml files provided with this Solr version. With the Solr releases we provide, there are both original and updated configuration files. So, you can compare originals and updated files in order to see what has to be changed in new files.

Use Solr 3.x

In addition to update Solr configuration files, you will have to use add in your Solr lib directory the jar files located in /opt/crawler/install/solr/solr350/crawler/lib directory.

Use Solr 4.x with Crawl-Anywhere 2.1.0 or >  to 3.x

In addition to update Solr configuration files, you will have to use add in your Solr lib directory the jar files located in /opt/crawler/install/solr/solr400/crawler/lib directory.

In order to make our new multilingual analyzer, you will need to patch an rebuild your Solr version. The file to be updated is: /trunk/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java. The method to be updated is: tokenStream.

The replacement code for this method is available here: [download id=”17″  format=”1″].

Use Solr 4.x with Crawl-Anywhere 4.x

In addition to update Solr configuration files, you will have to use add in your Solr lib directory the jar files located in /opt/crawler/install/solr/solr400/crawler/lib directory.

No need to use a patched version of Solr 4.x anymore.