[opencms-dev] lucene module 1.5 - render jsps

Stephan Hartmann beffe at beffe.de
Tue Apr 13 21:56:01 CEST 2004


The lucene module can index content definitions. All you have to do is to
create a content definition class to access a news entry (if you haven't
already done so) and take a look at the conent definition part of the lucene
registry.
The jsp that displays the news must at least get one paramter, the id of
your found news. It must be intelligent enough to determine on which page it
is.

Bye,
Stephan

----- Original Message -----
From: "Cyrill Brunschwiler" <cbrunsch at hsr.ch>
To: <opencms-dev at opencms.org>
Sent: Tuesday, April 13, 2004 6:53 PM
Subject: Re: [opencms-dev] lucene module 1.5 - render jsps


> Hi Ed
>
> Thanks for your prompt answer. I should be bit more detailed...
> For example:
> I've got a jsp which displays 10 news entries per page to the visitor.
> The content of the news entries is stored in a database.
> I would have a search engine output which points to the
> page containing the news articles whose have been found.
> That means.. i'm still unable to determine on which page the news
> entry will be displayed by reading the content from the database.
>
> Or did i understand anything wrong?
> Cyrill
>
> On Tuesday 13 April 2004 15:19, Eduard Nesterov wrote:
> > Hi Cyrill,
> >
> > Why do you need to render jsps for indexing?
> > JSP should be a dynamic page. If it is so then index dynamic content not
> > the jsp itself.
> > It sounds like you are trying to use it as a static page.
> >
> > Ed.
> >
> > Cyrill Brunschwiler wrote:
> > >Hi
> > >
> > >As i read in the lucene module manuals, there's currently
> > >no way to render jsps for indexing.
> > >
> > >my questions:
> > >Did already anybody put in some time, building such a handler?
> > >Will htdig work as a browser (rendering jsps) and meet my needs?
> > >
> > >regards,
> > >Cyrill
> > >
> > >_______________________________________________
> > >This mail is send to you from the opencms-dev mailing list
> > >To change your list options, or to unsubscribe from the list, please
visit
> > >http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>




More information about the opencms-dev mailing list