Hi

Doug proposed the solution before.
http://mail-archives.apache.org/mod_mbox/lucene-nutch-dev/200511.mbox/[EMAIL 
PROTECTED]

Hope it helps.

/Jack


On 12/16/05, Bostjan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using nutch 0.7.
>
> If I understend correctly, touching the web.xml of my webapp helps my webapp
> to reload NutchBean and thus indexes. I tried it and it works fine until I
> don't use merged indexes or even merged segments.
> When I try to use merged indexes my webapp locks indexes (I presume this
> happens as soon as NutchBean instantiates IndexSearcher). This means that I
> actually have to take my webapp offline in order to merge indexes. Is there
> any way around this other than Tyrell suggested?
>
> Regards,
>
> Bostjan
>
> ----- Original Message -----
> From: "Stefan Groschupf" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, December 16, 2005 12:09 PM
> Subject: Re: Live updating an intranet index
>
>
> > Actually you need to touch the web.xml of your webapp.
> > Since the nutchbean has not possibilities to notice that the indexed
> > changed or a new index segment is available.
> > I'm sure a solution is coming soon until this you need to redeploy  your
> > application or touch the web.xml :-/
> >
> > HTH
> > Stefan
> > Am 16.12.2005 um 03:14 schrieb Tyrell Perera:
> >
> >> hi,
> >>
> >> I am going to implement a Nutch based search for one of our intranet
> >> applications. I created the index using the method described for
> >> intranets in the tutorial.
> >>
> >> My question is, How can i update the index live when the application
> >> is online ? At present what i do is recreate the index somewhere else,
> >> take the search app offline and replace the existing one with the new
> >> one.
> >>
> >> This is because the 'crawl' fails if i give an exixting index folder.
> >>
> >> Am I doing something wrong ? is there any way to update this index
> >> while the app is live ?
> >>
> >> Regards,
> >>
> >> Tyrell
> >> --
> >>
> >> =======================
> >> http://tyrell.perera.blogspot.com
> >>
> >> "Simply I learned about her, and ungrudgingly do I share -- her riches
> >> I do not hide away" - The Holy Bible (Book of Wisdom 7:13)
> >>
> >
> >
>
>


--
Keep Discovering ... ...
http://www.jroller.com/page/jmars


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to