You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by "Pitre, Russell" <RP...@shawmut.com> on 2003/07/28 03:49:38 UTC
How can I index JSP files?
Reffering to this: http://www.jguru.com/faq/view.jsp?EID=1074516
"To index the content of JSPs that a user would see using a Web browser,
you would need to write an application that acts as a Web client, in
order to mimic the Web browser behaviour. Once you have such an
application, you should be able to point it to the desired JSP, retrieve
the contents that the JSP generates, parse it, and feed it to Lucene."
I am a newbie to lucene and I would like to enable searching capability
to my website which is written entirely with JSP and servlets. Does
anyone have any experience parsing JSP files in order to create in index
for/by Lucene? I would greatly appreciate any help with the matter.
THanx
Russ
Re: How can I index JSP files?
Posted by Leo Galambos <Le...@seznam.cz>.
If I understand the Enigma code well, they say, that you must write a
crawler ;-)
-g-
>"To index the content of JSPs that a user would see using a Web browser,
>you would need to write an application that acts as a Web client, in
>order to mimic the Web browser behaviour. Once you have such an
>application, you should be able to point it to the desired JSP, retrieve
>the contents that the JSP generates, parse it, and feed it to Lucene."
>
>
>
>
>
>
>
>I am a newbie to lucene and I would like to enable searching capability
>to my website which is written entirely with JSP and servlets. Does
>anyone have any experience parsing JSP files in order to create in index
>for/by Lucene? I would greatly appreciate any help with the matter.
>THanx
>
>
>
>Russ
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: How can I index JSP files?
Posted by Otis Gospodnetic <ot...@yahoo.com>.
You could try using a spider such as Spindle. Don't have the URL, but
I'm sure you can find it via Google. Spindle uses Lucene.
Otis
--- "Pitre, Russell" <RP...@shawmut.com> wrote:
> Reffering to this: http://www.jguru.com/faq/view.jsp?EID=1074516
>
>
>
>
>
> "To index the content of JSPs that a user would see using a Web
> browser,
> you would need to write an application that acts as a Web client, in
> order to mimic the Web browser behaviour. Once you have such an
> application, you should be able to point it to the desired JSP,
> retrieve
> the contents that the JSP generates, parse it, and feed it to
> Lucene."
>
>
>
>
>
>
>
> I am a newbie to lucene and I would like to enable searching
> capability
> to my website which is written entirely with JSP and servlets. Does
> anyone have any experience parsing JSP files in order to create in
> index
> for/by Lucene? I would greatly appreciate any help with the matter.
> THanx
>
>
>
> Russ
>
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org