On Oct 17, 2005, at 1:56 PM, Robb, Sam wrote:
  "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"

  I'm new to Tomcat, Nutch, etc. and I'm wondering what I should
do to set things up so that Nutch can find ./segments in the
expected location?

You can declare the location of the segments by adding a setting nutch-site.xml.

Settings in nutch-site.xml override settings in nutch-default.xml. Both files are looked for on your classpath. It might be clearer if you see the source where the files are loaded -- I think it's in NutchConf.java.

See the searcher.dir property in nutch-defaults.xml and set it to what you want in nutch-site.xml.

--Andy



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to