[opencms-dev] How to index JspTemplates with Lucene

M Butcher mbutcher at grcomputing.net
Wed Mar 3 23:26:02 CET 2004


Steffen,

Remember, JSP files are NOT INTERPRETED before they are searched. The 
tags are stripped out, but that is all. So, if they generate dynamic 
content, that content will not be indexed.

Matt

Alex ! wrote:
> Look at the xml below, found in your lucene registry, (probably placed 
> in registry.xml) change the docfactory enabled="false" to true. That's 
> it!!!
> 
> 
>       <docFactory enabled="false" type="jsp">
>         <class>net.grcomputing.opencms.search.lucene.JspDocument</class>
>       </docFactory>
> 
> 
> 
>> From: "Steffen Valentin" <sva at archikart.de>
>> Reply-To: opencms-dev at opencms.org
>> To: <opencms-dev at opencms.org>
>> Subject: [opencms-dev] How to index JspTemplates with Lucene
>> Date: Wed, 3 Mar 2004 11:52:03 +0100
>>
>> Hello group!
>>
>> I've got a question about indexing with Lucene!
>>
>> How do I index JspTemplates?
>>
>>
>> Thanks a lot! Steffen
> 
> 
> _________________________________________________________________
> Tired of 56k? Get a FREE BT Broadband connection 
> http://www.msn.co.uk/specials/btbroadband
> 
> _______________________________________________
> 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