[opencms-dev] Lucene Search on JSP Pages

M Butcher mbutcher at grcomputing.net
Fri Sep 5 19:04:00 CEST 2003


Yeah, you _could_ set up the module to search JSP's, but it searches
pre-rendered JSPs. In other words, it searches the JSP code. Actually,
if you set it up to use a parser with the 'fastTagStripper' it will omit
the code (as it is in tags), but it will only search the static text. In
other words, it is not likely to be that helpful.

FYI - to set it up to search jsps, you'd just change the settings in the
registry.xml file.

Matt

On Fri, 2003-09-05 at 02:35, Ivan Jelenic wrote:
> With this module you can index only html page and text files. You can
> see that in your registry.xml file. Indexing JSP are not supported. If
> you want to search JSP files read this
> http://www.jguru.com/faq/view.jsp?EID=1074516. Maybe this text will
> help.
>  
> Do you get Error parsing string? for '!'
>  
> Ivan.
>         ----- Original Message ----- 
>         From: Mario Wallnöfer
>         To: opencms-dev at opencms.org
>         Sent: 05 September, 2003 10:19 AM
>         Subject: AW: [opencms-dev] Lucene Search on JSP Pages
>         
>         no, i dont get an error message, the jsp's simply dont get
>         indexed.....
>                 -----Ursprüngliche Nachricht-----
>                 Von: opencms-dev-admin at opencms.org
>                 [mailto:opencms-dev-admin at opencms.org]Im Auftrag von
>                 Ivan Jelenic
>                 Gesendet: Freitag, 05. September 2003 10:15
>                 An: opencms-dev at opencms.org
>                 Betreff: Re: [opencms-dev] Lucene Search on JSP Pages
>                 
>                 
>                 Do you get Error parsing string?
>                  
>                 Ivan.
>                         ----- Original Message -----
>                         From: Mario Wallnöfer
>                         To: opencms-dev at opencms.org
>                         Sent: 05 September, 2003 10:07 AM
>                         Subject: [opencms-dev] Lucene Search on JSP
>                         Pages
>                         
>                         Dear All,
>                          
>                         i am using the Lucene Search Module and it
>                         works very good for static pages.
>                          
>                         i also want to find jsp pages with this
>                         module. 
>                          
>                         how can i do that ?
>                          
>                         when i type in the search filed a '!' i always
>                         get an error, whats the problem with
>                         characters like !?:...........
>                         
>                         --------------------------
>                         Mario Wallnöfer
>                         MSK Informatik GesmbH
>                         Zeillergasse 5/309
>                         1160 Wien
>                         +43-699-18181920
>                         http://www.msk-informatik.at
>                         
>                          
-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list