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 <[EMAIL PROTECTED]> To: [email protected] 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
