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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.