cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Nicolici" <dan.nicol...@nexource.ro>
Subject Easier indexing
Date Mon, 19 Dec 2005 11:11:40 GMT
Hi!

 

I am indexing my website with the LuceneIndexTransformer like this:

 

      <map:match pattern="site/indexAll">

            <map:aggregate element="page">

                  <map:part src="cocoon:/content/menu?cocoon-view=content"/>

                  <map:part
src="cocoon:/content/newspapers?cocoon-view=content"/>

                  <map:part
src="cocoon:/content/books?cocoon-view=content"/>             

            </map:aggregate>

            <map:transform src="xsl/xml2lucene.xsl"/>

            <map:transform type="index"/>

            <map:serialize type="xml"/>

      </map:match>

 

The content pipeline is:

 

      <map:match pattern="content/*">

            <map:generate src="{global:template}xsp/{1}.xsp"
type="serverpages">

                  <map:parameter name="location"
value="{request:contextPath}/web/site/{1}"/>

            </map:generate>

            <map:transform src="{global:template}xsl/{1}.xsl"/>

            <map:serialize/>            

      </map:match>

 

Can (or how can) I achieve the following:

 

      <map:match pattern="site/indexAll">

            <map:part src="cocoon:/content/*"/>       

            <map:transform src="xsl/xml2lucene.xsl"/>

            <map:transform type="index"/>

            <map:serialize type="xml"/>

      </map:match>

 

to  eliminate the writing of all possible src's that can call the content
pipeline.

 

Right now I think it is impossible, but am I wrong?


Mime
View raw message