Gal Nitzan wrote:
Hi,
you need to copy only once. after tomcat extract the files you may
delete the war.
Indeed, copy the site.xml to WEB-INF/classes that is where the
searcher pick up configuration from.
Gal
P.S. Yes after every indexing you have to stop the server
(bin/nutch-daemon.sh stop server) and also stop Tomcat. I know it sounds
weird but after no one answered me, I looked it up in the code and there
it was - When the servlet is initialized (init), it reads the file
system segments and index and that is it.
Gal
Bill Goffe wrote:
I'm having some trouble with getting nutch-site.xml invoked when I
perform
a search. However, it is invoked in fetches -- I see it in the Nutch
log and better yet, in the logs of sites I fetch I see the modified
value of http.agent.email.
But, when I perform a search I don't see the the various boosts I also
modified in nutch-site.xml when I look at the explanation of search
results. This is even after copying nutch-0.7.1.war to the relevant
Tomcat
directory as ROOT.war and then starting up Tomcat. (Is this needed after
each new round of fetching and indexing?).
However, I do seem the boosts if I copy conf/nutch-site.xml into
Tomcat's
webapps/ROOT/WEB-INF/classes. I did read the discussion of
nutch-site.xml
in webapps/ROOT/WEB-INF/classes in the FAQ, but that only seems to deal
with the location of segments.
I'm using Nutch 0.7.1 and Tomcat 5.0.28. Any ideas? Do I indeed need to
copy nutch-site.xml to the relevant Tomcat directory each time I modify
it? Am I missing something that should be automatic?
- Bill
.
-------------------------------------------------------
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