Created
August 1, 2012 19:29
-
-
Save mlconnor/3229955 to your computer and use it in GitHub Desktop.
Prepare Solr 3.6.1 for Nutch 1.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this site has a good install writeup with custom weighting handler | |
# https://sites.google.com/site/profileswapnilkulkarni/tech-talk/howtoinstallnutchandsolronubuntu1004 | |
# grab the solr src | |
curl -o solr-3.6.1.tgz http://apache.ziply.com/lucene/solr/3.6.1/apache-solr-3.6.1-src.tgz | |
# untar the beast | |
tar xfvz solr-3.6.1.tgz | |
cd apache-solr* | |
# to skip the tests, just run ant compile | |
ant | |
# let's build the example | |
cd solr | |
ant example | |
cd example/solr/conf | |
# ok, now let's copy the nutch schema file over | |
mv schema.xml schema.orig | |
cp $NUTCH_HOME/runtime/local/conf/schema.xml . | |
cd ../.. | |
# let's run it | |
java -jar start.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment