On 11/14/05, Victor Lee <[EMAIL PROTECTED]> wrote:
>
> I thought about that too, but isn't it inefficent to
> have both php and jsp and tomcat and java running when
> I can have just php and java running?


One more Tomcat instance in your server will not represent more than only
some more megabytes of RAM used. I see no performance issues adding it to
your application architecture.

Maybe I can
> check for existing of index and segments inside
> nutchbean, so that it doesn't create them again for
> each new nutchbean?


In this case you could obtain your NutchBean instance through a
NutchBeanFactory
(that you would need to write) that would make use of a Singleton instance
of NutchBean. This way you would be free from changing the NutchBean class
and would be shielded from future changes on it.

Where can I find more about how to use opensearch with
> Nutch?
>
> Many thanks.
>
> --- Andrzej Bialecki <[EMAIL PROTECTED]> wrote:
>
> > Victor Lee wrote:
> >
> > >How should I go around the problem?
> > >
> > >
> > >
> >
> > Don't use php-java bridge - use OpenSearch servlet
> > to get RSS with
> > results, and then parse RSS using PHP; the servlet
> > container will cache
> > NutchBean for you.
> >
> > --
> > Best regards,
> > Andrzej Bialecki <><
> > ___. ___ ___ ___ _ _
> > __________________________________
> > [__ || __|__/|__||\/| Information Retrieval,
> > Semantic Web
> > ___|||__|| \| || | Embedded Unix, System
> > Integration
> > http://www.sigram.com Contact: info at sigram dot
> > com
> >
> >
> >
>
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>



--
"Minds are like parachutes, they work best when open."

Bruno Patini Furtado
Software Developer
webpage: www.bpfurtado.net <http://www.bpfurtado.net>
blog: http://www.livejournal.com/users/bpfurtado/

Reply via email to