Hi Vinny,
You can do it in two ways:
1. change the property searcher.dir in the file: nutch-site.xml to your
index db and than build the jar with ant.
2. which I find easy and simple: put your war file as explained in the
tutorial. start tomcat. after tomcat opened the war stop tomcat. delete
the war file since now you have the war content under webapps/ROOT. edit
webapps/ROOT/WEB-INF/classes/nutch-default.xml. change the property:
searcher.dir to reflect your index/db. start tomcat again...
enjoy
Gal
Vinny wrote:
>From the tutorial:
"The webapp finds its indexes in ./segments, relative to where you
start Tomcat, so, if you've done intranet crawling, connect to your
crawl directory, or, if you've done whole-web crawling, don't change
directories, and give the command:
~/local/tomcat/bin/catalina.sh start"
According to the latest release notes you should be able to tell nutch
the location of
the segments directory, right? How is this done?
.