anyway,I prefer to use absolute file path,so I don't need to copy the crawl
directory to $TOMCAT_HOME,but still I can't figure out a way to do that.

On Mon, Jan 10, 2011 at 10:04 AM, Jason Shi <[email protected]> wrote:

> problem solved.I use relative file path,instead of absolute file path.I
> copied directory "scu" to $TOMCAT_HOME,and changed  searcher.dir's value to
> the directory name "scu",and nutch can find the indexes now.
>
>
> On Fri, Jan 7, 2011 at 9:40 PM, McGibbney, Lewis John <
> [email protected]> wrote:
>
>> perhaps the problem lies within your path/to/index should it not contain a
>> specific drive if working remotely (E.g. C:, E:, F:, etc etc) or some other
>> location if you are using Nutch in Hadoop cluster.
>> ________________________________________
>> From: Jason Shi [[email protected]]
>> Sent: 07 January 2011 13:24
>> To: [email protected]
>> Subject: Re: Tomcat adds file:/// to searcher.dir path
>>
>> thanks Lewis,but it doesn't work,according to the Nutch Wiki FAQ,the
>> property name should be "searcher.dir"
>>
>> http://wiki.apache.org/nutch/FAQ#My_system_does_not_find_the_segments_folder._Why.3F_Or:_How_do_I_tell_the_.27.27Nutch_Servlet.27.27_where_the_index_file_are_located.3F
>> .
>>
>>
>> On Fri, Jan 7, 2011 at 8:37 PM, McGibbney, Lewis John <
>> [email protected]> wrote:
>>
>> > Hi Jason,
>> >
>> > I am working on the move and do not have access to my Nutch code,
>> however
>> > off the top of my head I think that your property name specified within
>> > nutch-site.xml is missing something.
>> >
>> > Try <name>searcher.dirs</value>
>> >
>> > Hopefully this is the reason that it is failing, if not then I apologise
>> > for the post
>> >
>> > Lewis
>> > ________________________________________
>> > From: Jason Shi [[email protected]]
>> > Sent: 07 January 2011 12:11
>> > To: [email protected]
>> > Subject: Re: Tomcat adds file:/// to searcher.dir path
>> >
>> > same problem here,I am using Fedora 13,tomcat5,nutch-1.2.
>> >
>> > /var/lib/tomcat5/webapps/ROOT/WEB-INF/classes/nutch-site.xml :
>> > <property>
>> >  <name>searcher.dir</name>
>> >  <value>/home/sky/Software/nutch-1.2/scu</value>
>> >  <description>
>> >  Path to root of crawl.  This directory is searched (in
>> >  order) for either the file search-servers.txt, containing a list of
>> >  distributed search servers, or the directory "index" containing
>> >  merged indexes, or the directory "segments" containing segment
>> >  indexes.
>> >  </description>
>> > </property>
>> >
>> > and the catalina.out tells:
>> > 2011-01-07 20:06:09,974 INFO  NutchBean - creating new bean
>> > 2011-01-07 20:06:10,125 WARN  SearchBean - Neither
>> > file:///home/sky/Software/nutch-1.2/scu/index nor
>> > file:///home/sky/Software/nutch-1.2/scu/indexes found!
>> >
>> > any suggestion?thanks in advance!
>> >
>> >
>> > On Sat, Dec 25, 2010 at 2:45 AM, Anurag <[email protected]>
>> wrote:
>> >
>> > >
>> > > i am using tomcat5 for that . U may try using Tomcat5 . I have got
>> Fedora
>> > > 11.
>> > >
>> > > -----
>> > > Kumar Anurag
>> > >
>> > > --
>> > > View this message in context:
>> > >
>> >
>> http://lucene.472066.n3.nabble.com/How-do-you-run-multi-site-nutch-in-a-hadoop-cluster-tp2137126p2141951.html
>> > > Sent from the Nutch - User mailing list archive at Nabble.com.
>> > >
>> >
>> > Email has been scanned for viruses by Altman Technologies' email
>> management
>> > service - www.altman.co.uk/emailsystems
>> >
>> > Glasgow Caledonian University is a registered Scottish charity, number
>> > SC021474
>> >
>> > Winner: Times Higher Education’s Widening Participation Initiative of
>> the
>> > Year 2009 and Herald Society’s Education Initiative of the Year 2009
>> >
>> >
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>> >
>> Email has been scanned for viruses by Altman Technologies' email
>> management service - www.altman.co.uk/emailsystems
>>
>> Glasgow Caledonian University is a registered Scottish charity, number
>> SC021474
>>
>> Winner: Times Higher Education’s Widening Participation Initiative of the
>> Year 2009 and Herald Society’s Education Initiative of the Year 2009
>>
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>>
>
>

Reply via email to