You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/03/26 03:17:46 UTC

svn commit: r641110 - in /lenya/trunk/src/modules/xhtml: sitemap.xmap xslt/xhtml2index.xsl

Author: andreas
Date: Tue Mar 25 19:17:45 2008
New Revision: 641110

URL: http://svn.apache.org/viewvc?rev=641110&view=rev
Log:
Removing url index field.

Modified:
    lenya/trunk/src/modules/xhtml/sitemap.xmap
    lenya/trunk/src/modules/xhtml/xslt/xhtml2index.xsl

Modified: lenya/trunk/src/modules/xhtml/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/xhtml/sitemap.xmap?rev=641110&r1=641109&r2=641110&view=diff
==============================================================================
--- lenya/trunk/src/modules/xhtml/sitemap.xmap (original)
+++ lenya/trunk/src/modules/xhtml/sitemap.xmap Tue Mar 25 19:17:45 2008
@@ -42,9 +42,7 @@
       <!-- {pub-id}/{area}/{uuid}/{language} -->
       <map:match pattern="lucene-index/*/*/*/*">
         <map:generate src="lenya-document:{3},pub={1},area={2},lang={4}"/>
-        <map:transform src="fallback://lenya/modules/xhtml/xslt/xhtml2index.xsl">
-          <map:parameter name="url" value="{request:requestURI}"/>
-        </map:transform>
+        <map:transform src="fallback://lenya/modules/xhtml/xslt/xhtml2index.xsl"/>
         <map:serialize type="xml"/>
       </map:match>
     </map:pipeline>

Modified: lenya/trunk/src/modules/xhtml/xslt/xhtml2index.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/xhtml/xslt/xhtml2index.xsl?rev=641110&r1=641109&r2=641110&view=diff
==============================================================================
--- lenya/trunk/src/modules/xhtml/xslt/xhtml2index.xsl (original)
+++ lenya/trunk/src/modules/xhtml/xslt/xhtml2index.xsl Tue Mar 25 19:17:45 2008
@@ -7,13 +7,10 @@
   xmlns:dc="http://purl.org/dc/elements/1.1/"
 >
 
-<xsl:param name="uri"/>
-
 <xsl:template match="/">
   <!-- attributes of the index and document element will be added by the lucene module -->
   <lucene:index>
     <lucene:document>
-      <lucene:field name="url" boost="0"><xsl:value-of select="$uri"/></lucene:field>
       <xsl:apply-templates/>
     </lucene:document>
   </lucene:index>  



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org