Not sure about Nutch 0.9, but I'm on an earlier version and I just
have a JSP page that removes the nutch bean from the application,
then gets it again to re-instantiate it. It looks something like this:

    application.removeAttribute("nutchBean");
    NutchBean bean = NutchBean.get(application);

I just call this page when a new index is loaded.

Howie


> Date: Thu, 19 Jun 2008 11:20:15 -0700
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: Can I update my search engine without restarting tomcat?
> 
> > You can set up an account in Tomcat Manager if you don't have one already.
> > The Manager lets you go in and independently start/stop/reload any of the
> > different webapps you have running. This is exactly how I get new Nutch
> > crawls/indexes to be active on our production server.
> 
> 
> Won't restarting the webapp cause Tomcat to serve up error pages to users
> who are trying to connect to the webapp at that moment?
> 
> -John
> 
> 
> >
> >
> > -Wynz
> >
> >
> > On Jun 19, 2008, at 5:32 AM, John Thompson wrote:
> >
> >  I've noticed that when I do new crawls and update my database and index
> >> files and then search on my site, the newly crawled pages don't show up
> >> until I restart tomcat.  Is there a way around this?  I don't really want
> >> to
> >> be regularly restarting a production server.  I'm using nutch-0.9.
> >>
> >> Best,
> >> John
> >>
> >
> >

_________________________________________________________________
Introducing Live Search cashback .  It's search that pays you back!
http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=introsrchcashback

Reply via email to