Thanks for the information... we also went the route of updating the
nutch-default.xml file and everything seems fine.  Thanks again!

-----Original Message-----
From: Gal Nitzan [mailto:[EMAIL PROTECTED]
Sent: Monday, September 19, 2005 7:19 PM
To: [email protected]
Subject: Re: Switch where index is located?


Adrian Nadeau wrote:
> Hello,
>
> Newbie to Nutch... first would like to say great work on the development
of
> Nutch!  Was easy to get it up and running with Tomcat and Tutorial.  Quick
> question regarding the Tutorial and where Index's are located for Nutch.
It
> states at the end of 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"
>
> We have this working fine for the Intranet Crawling... is there an easy
way
> to point to where the index is located when the search is being activated?
> We currently start Tomcat from the bin directory and therefore have to
have
> the segments located under the bin folder for Tomcat which doesn't make
> sense.  Hopefully we can simply put the index folders anywhere and point
to
> it somehow?  Any information would be great, thank you in advance.
>
> Regards,
>
> Adrian Nadeau
> VP, Development
> Evolving Solutions...Technology for changing
> [EMAIL PROTECTED]
> www.evolvingsolutions.ca
> 506.633.2012
>
>
> .
>
>
Hi Adrian,

Here is a copy of the emails with the last person who asked the same :-) ...

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

Reply via email to