forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik Manimaran <mknapa...@gmail.com>
Subject Repost: Forrest-Lucene Help needed
Date Wed, 09 Nov 2005 21:44:28 GMT
>
> Hi,
>  I am trying to make the raw HTML included as static content in
> src/documentation/content directory be indexed and searched by Lucene.
>  I have a directory src/documentation/content/javadocs which contains
> javadocs for some components as html/other files.
>  Pointers to changes that need to be made in search.xmap needed. I guess
> tweaking the following map should bring about desired output but I am unable
> to succeed in making Lucene index the raw content.
>   <map:match pattern="**body-*.lucene">
> <map:select type="exists">
> <map:when test="{project:content.xdocs}{1}{2}.ehtml">
> <map:generate src="{project: content.xdocs}{1}{2}.ehtml" />
> <map:transform src="{forrest:stylesheets}/html2htmlbody.xsl" />
> </map:when>
> <map:when test="cocoon://{1}{2}.xml">
> <map:generate src="cocoon://{1}{2}.xml"/>
> </map:when>
> </map:select>
> <map:transform src="{forrest:stylesheets}/search/document2lucene.xsl">
> <map:parameter name="document-url" value="{1}{2}.xml"/>
> </map:transform>
> <map:serialize type="xml"/>
> </map:match>
>  Thanks and regards,
> Karthik.
>

Mime
View raw message