You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Ping Searcher <pi...@playstarmusic.com> on 2007/03/06 21:42:37 UTC
Re: [SOLVED] Unable to display search result on Tomcat
Hi, Sean Dean:
Thank you very much to point out the setting on nutch-site.xml in
~/tomcat/webapps/ROOT/WEB-INF/CLASSES. This was the exact problem to prevent
search results being displayed on search.jsp.
As this problem resolved, I'm able to continue Nutch and Lucene study.
Appreciate your help !
Sean Dean-3 wrote:
>
> Make sure you have the right path in your nutch-site.xml file, inside the
> ROOT.war file for the "searcher.dir" property. This points to your crawl
> directory, where you hold your segment and index.
>
> It should look something like this:
>
> <property>
> <name>searcher.dir</name>
> <value>/usr/local/nutch/build/nutch-0.9-dev/crawl</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>
>
>
> Also take a look inside your Tomcat logs for any hints as to what it might
> be, if its not this.
>
>
> ----- Original Message ----
> From: png han <pi...@hotmail.com>
> To: nutch-user@lucene.apache.org
> Sent: Monday, March 5, 2007 3:15:53 PM
> Subject: Re: Unable to display search result on Tomcat
>
>
> Hi,
> I'm a newby in a Nutch search application and have a problem to display
> search result on search.jsp.
> Ater installing Java, Apache-tomcat and nutch-0.8.1 on linux server,
> crawliing, fetch,indexing and searching are working very well. but
> search.jsp doesn't display search results.
>
> For instance, using command line " bin/nutch org.apache.searcher.NutchBean
> XXXX" can display results, then I did
> rm -rf ~/local/tomcat/webapps/ROOT*
> cp nutch*.war ~/local/tomcat/webapps/ROOT.war
> ~/local/tomcat/bin/catalina.sh start
>
> as descripbed on nutch toturial.
>
> search,jsp doesn't work. I am really fraustrated about that. Any Ideas or
> reference resource can help?
>
>
> Ping Han
>
--
View this message in context: http://www.nabble.com/Re%3A-Unable-to-display-search-result-on-Tomcat-tf3353578.html#a9340630
Sent from the Nutch - User mailing list archive at Nabble.com.