Did you restart your JSP server after you placed the crawl file? 

张世勇 wrote:
> 
> Hi I'm a beginner for nutch and JSP. In these days I always tried to use
> nutch seach function via web server. My JSP server is resin-3.1.3. I have
> done according to "Nutch version 0.8.x tutorial" and all is OK. Now I
> placed nutch-0.9.war in resin's webapp directory, and moved crawl
> directory generated by nutch to .../nutch-0.9/crawl, I also modified the
> configuration file: nutch-default.xml located in directory
> .../WEB-INF/classes ...<property>
>   <name>searcher.dir</name>
>   <value>/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>... But I have never get the search result when I tried to
> search keyword "apache" fromhttp://localhost:8080/nutch-0.9. and search
> result is alwayse 0. I have checked the crawl result by command:
> "bin/nutch org.apache.nutch.searcher.NutchBean apache". and it indicated
> that there should be many result for keyword "apache". Does anybody also
> encounter this problem before? who can tell me how I should do to resolve
> this problem? Thanks. Br Buck     
> 

-- 
View this message in context: 
http://www.nabble.com/Where-should-I-place-directory-%22crawl%22-which-include-index-and-db-of-fetching-website--tf4958753.html#a14220693
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to