Thank you gentlemen for the help. I was able to set it in the xml file. I am running more than one search from the same tomcat server, so the ability to set the location in the xml file is very handy.
On 9/19/05, Yong-gang Cao <[EMAIL PROTECTED]> wrote: > another simple way to follow: > 1.set CATALINA_HOME=tomcat dir (can set it through boot script,only > need to set once) > 2.enter the data dir(webdb dir, it's now your current dir) > 3.use CATALINDA_HOME/bin/startup.bat to start tomcat > > 2005/9/18, Gal Nitzan <[EMAIL PROTECTED]>: > > 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? > > > > > > . > > > > > > > > > > > > > -- > http://spaces.msn.com/members/caomo > Beijing University of Aeronautics and Astronautics (BeiHang University) > P.B.: 2-53# MailBox, 37 Xueyuan Road ,Beijing, 100083 P.R.China > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
