lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1695405 - in /lucene/dev/trunk: ./ lucene/demo/src/resources/org/apache/lucene/demo/xmlparser/WEB-INF/ lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/ lucene/site/xsl/ solr/example/example-DIH/solr/db/conf/xslt/ solr/example...
Date Tue, 11 Aug 2015 23:15:21 GMT
Author: uschindler
Date: Tue Aug 11 23:15:20 2015
New Revision: 1695405

URL: http://svn.apache.org/r1695405
Log:
LUCENE-6732: Remove tabs XSL files

Modified:
    lucene/dev/trunk/build.xml
    lucene/dev/trunk/lucene/demo/src/resources/org/apache/lucene/demo/xmlparser/WEB-INF/query.xsl
    lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumBooleanQuery.xsl
    lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumFilteredQuery.xsl
    lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumLuceneClassicQuery.xsl
    lucene/dev/trunk/lucene/site/xsl/index.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/example_rss.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/updateXml.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/example_rss.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/updateXml.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/example_rss.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/updateXml.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/example_rss.xsl
    lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/updateXml.xsl
    lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl
    lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl
    lucene/dev/trunk/solr/site/index.xsl

Modified: lucene/dev/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/build.xml?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/build.xml (original)
+++ lucene/dev/trunk/build.xml Tue Aug 11 23:15:20 2015
@@ -131,7 +131,7 @@
       import org.apache.tools.ant.BuildException;
       
       def extensions = [
-        'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html', 'js', 'xml'
+        'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html', 'js', 'xml', 'xsl'
       ];
       def invalidPatterns = [
         (~$/@author\b/$) : '@author javadoc tag',

Modified: lucene/dev/trunk/lucene/demo/src/resources/org/apache/lucene/demo/xmlparser/WEB-INF/query.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/demo/src/resources/org/apache/lucene/demo/xmlparser/WEB-INF/query.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/demo/src/resources/org/apache/lucene/demo/xmlparser/WEB-INF/query.xsl
(original)
+++ lucene/dev/trunk/lucene/demo/src/resources/org/apache/lucene/demo/xmlparser/WEB-INF/query.xsl
Tue Aug 11 23:15:20 2015
@@ -18,57 +18,57 @@
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:template match="/Document">
 <BooleanQuery>
-	<!-- Clause if user selects a preference for type of job - apply choice of 
-	     permanent/contract filter and cache -->
-	<xsl:if test="type">
-	    <Clause occurs="must">
-	    	<ConstantScoreQuery>
-	    	   <CachedFilter>
-	    	     	<TermsFilter fieldName="type"><xsl:value-of select="type"/></TermsFilter>
-	    	   </CachedFilter>
-	    	 </ConstantScoreQuery>
-	   </Clause>
-	</xsl:if>
-		
-	<!-- Use standard Lucene query parser for any job description input -->
-	<xsl:if test="description">
-		<Clause occurs="must">
-			<UserQuery fieldName="description"><xsl:value-of select="description"/></UserQuery>
-		</Clause>
-	</xsl:if>      
-	
-	<!-- If any of the location fields are set OR them ALL in a Boolean filter and cache
individual filters -->
-	<xsl:if test="South|North|East|West">
-		<Clause occurs="must">
-			<ConstantScoreQuery>
-				<BooleanFilter>
-					<xsl:for-each select="South|North|East|West">
-					<Clause occurs="should">
-						<CachedFilter>
-							<TermsFilter fieldName="location"><xsl:value-of select="name()"/></TermsFilter>
-						</CachedFilter>
-				  	</Clause>
-					</xsl:for-each>					
-				</BooleanFilter>
-	     		</ConstantScoreQuery>
-	 	</Clause>
-	</xsl:if>   	
-	
-	<!-- Use XSL functions to split and zero pad salary range value -->
-	<xsl:if test="salaryRange">
-		<Clause occurs="must">
-			<ConstantScoreQuery>
-				<RangeFilter fieldName="salary" >
-					<xsl:attribute name="lowerTerm">
-						<xsl:value-of select='format-number( substring-before(salaryRange,"-"), "000" )'
/>
-					</xsl:attribute> 
-					<xsl:attribute name="upperTerm">
-						<xsl:value-of select='format-number( substring-after(salaryRange,"-"), "000" )'
/>
-					</xsl:attribute> 
-				</RangeFilter>
-			</ConstantScoreQuery>
-		</Clause>
-	</xsl:if>	
+  <!-- Clause if user selects a preference for type of job - apply choice of 
+       permanent/contract filter and cache -->
+  <xsl:if test="type">
+      <Clause occurs="must">
+        <ConstantScoreQuery>
+           <CachedFilter>
+               <TermsFilter fieldName="type"><xsl:value-of select="type"/></TermsFilter>
+           </CachedFilter>
+         </ConstantScoreQuery>
+     </Clause>
+  </xsl:if>
+    
+  <!-- Use standard Lucene query parser for any job description input -->
+  <xsl:if test="description">
+    <Clause occurs="must">
+      <UserQuery fieldName="description"><xsl:value-of select="description"/></UserQuery>
+    </Clause>
+  </xsl:if>      
+  
+  <!-- If any of the location fields are set OR them ALL in a Boolean filter and cache
individual filters -->
+  <xsl:if test="South|North|East|West">
+    <Clause occurs="must">
+      <ConstantScoreQuery>
+        <BooleanFilter>
+          <xsl:for-each select="South|North|East|West">
+          <Clause occurs="should">
+            <CachedFilter>
+              <TermsFilter fieldName="location"><xsl:value-of select="name()"/></TermsFilter>
+            </CachedFilter>
+            </Clause>
+          </xsl:for-each>          
+        </BooleanFilter>
+           </ConstantScoreQuery>
+     </Clause>
+  </xsl:if>     
+  
+  <!-- Use XSL functions to split and zero pad salary range value -->
+  <xsl:if test="salaryRange">
+    <Clause occurs="must">
+      <ConstantScoreQuery>
+        <RangeFilter fieldName="salary" >
+          <xsl:attribute name="lowerTerm">
+            <xsl:value-of select='format-number( substring-before(salaryRange,"-"), "000"
)' />
+          </xsl:attribute> 
+          <xsl:attribute name="upperTerm">
+            <xsl:value-of select='format-number( substring-after(salaryRange,"-"), "000"
)' />
+          </xsl:attribute> 
+        </RangeFilter>
+      </ConstantScoreQuery>
+    </Clause>
+  </xsl:if>  
 </BooleanQuery>
 </xsl:template>
 </xsl:stylesheet>
\ No newline at end of file

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumBooleanQuery.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumBooleanQuery.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumBooleanQuery.xsl
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumBooleanQuery.xsl
Tue Aug 11 23:15:20 2015
@@ -18,29 +18,29 @@
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:template match="/Document">
 <!--This template ANDs all fields together. Within a single field all terms are ORed.
-	The query fields are fed directly through an analyzer and so do not need to adhere to  
-	traditional Lucene query syntax.
- -->	
+  The query fields are fed directly through an analyzer and so do not need to adhere to 

+  traditional Lucene query syntax.
+ -->  
 <BooleanQuery>
-	<xsl:if test="count(artist)>0">
-	    <Clause occurs="must">
-	      <TermsQuery fieldName="artist"><xsl:value-of select="artist"/></TermsQuery>
-	   </Clause>
+  <xsl:if test="count(artist)>0">
+      <Clause occurs="must">
+        <TermsQuery fieldName="artist"><xsl:value-of select="artist"/></TermsQuery>
+     </Clause>
    </xsl:if>
-	<xsl:if test="count(album)>0">
-	    <Clause occurs="must">
-	      <TermsQuery fieldName="album"><xsl:value-of select="album"/></TermsQuery>
-	   </Clause>
+  <xsl:if test="count(album)>0">
+      <Clause occurs="must">
+        <TermsQuery fieldName="album"><xsl:value-of select="album"/></TermsQuery>
+     </Clause>
    </xsl:if>
-	<xsl:if test="count(genre)>0">
-	    <Clause occurs="must">
-	      <TermsQuery fieldName="genre"><xsl:value-of select="genre"/></TermsQuery>
-	   </Clause>
+  <xsl:if test="count(genre)>0">
+      <Clause occurs="must">
+        <TermsQuery fieldName="genre"><xsl:value-of select="genre"/></TermsQuery>
+     </Clause>
    </xsl:if>
-	<xsl:if test="count(releaseDate)>0">
-	    <Clause occurs="must">
-	      <TermsQuery fieldName="releaseDate"><xsl:value-of select="releaseDate"/></TermsQuery>
-	   </Clause>
+  <xsl:if test="count(releaseDate)>0">
+      <Clause occurs="must">
+        <TermsQuery fieldName="releaseDate"><xsl:value-of select="releaseDate"/></TermsQuery>
+     </Clause>
    </xsl:if>
 </BooleanQuery>
 

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumFilteredQuery.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumFilteredQuery.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumFilteredQuery.xsl
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumFilteredQuery.xsl
Tue Aug 11 23:15:20 2015
@@ -18,30 +18,30 @@
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:template match="/Document">
 <!-- This template uses an efficient, cached filter for the "genre" field".
-	Other query fields are fed directly through an analyzer and so do not need to adhere to
 
-	traditional Lucene query syntax. Terms within a field are ORed while different fields are
ANDed
- -->	
-		<BooleanQuery>
-			<xsl:if test="count(artist)>0">
-			    <Clause occurs="must">
-			      <TermsQuery fieldName="artist"><xsl:value-of select="artist"/></TermsQuery>
-			   </Clause>
-		   </xsl:if>
-			<xsl:if test="count(album)>0">
-			    <Clause occurs="must">
-			      <TermsQuery fieldName="album"><xsl:value-of select="album"/></TermsQuery>
-			   </Clause>
-		   </xsl:if>
-			<xsl:if test="count(releaseDate)>0">
-			    <Clause occurs="must">
-			      <TermsQuery fieldName="releaseDate"><xsl:value-of select="releaseDate"/></TermsQuery>
-			   </Clause>
-		   </xsl:if>
-			<Clause occurs="filter">
-				<TermsQuery fieldName="genre">
-					<xsl:value-of select="genre"/>
-				</TermsQuery>
-			</Clause>
-	</BooleanQuery>
+  Other query fields are fed directly through an analyzer and so do not need to adhere to
 
+  traditional Lucene query syntax. Terms within a field are ORed while different fields are
ANDed
+ -->  
+    <BooleanQuery>
+      <xsl:if test="count(artist)>0">
+          <Clause occurs="must">
+            <TermsQuery fieldName="artist"><xsl:value-of select="artist"/></TermsQuery>
+         </Clause>
+       </xsl:if>
+      <xsl:if test="count(album)>0">
+          <Clause occurs="must">
+            <TermsQuery fieldName="album"><xsl:value-of select="album"/></TermsQuery>
+         </Clause>
+       </xsl:if>
+      <xsl:if test="count(releaseDate)>0">
+          <Clause occurs="must">
+            <TermsQuery fieldName="releaseDate"><xsl:value-of select="releaseDate"/></TermsQuery>
+         </Clause>
+       </xsl:if>
+      <Clause occurs="filter">
+        <TermsQuery fieldName="genre">
+          <xsl:value-of select="genre"/>
+        </TermsQuery>
+      </Clause>
+  </BooleanQuery>
 </xsl:template>
 </xsl:stylesheet>

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumLuceneClassicQuery.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumLuceneClassicQuery.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumLuceneClassicQuery.xsl
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/albumLuceneClassicQuery.xsl
Tue Aug 11 23:15:20 2015
@@ -18,11 +18,11 @@
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:template match="/Document">
 <!-- This template is designed to work with a google-like search form - one edit box and

-	uses the traditional Lucene query syntax
- -->		
+  uses the traditional Lucene query syntax
+ -->    
 <BooleanQuery>
     <Clause occurs="must">
-	      <UserQuery><xsl:value-of select="queryString"/></UserQuery>
+        <UserQuery><xsl:value-of select="queryString"/></UserQuery>
    </Clause>
 </BooleanQuery>
 </xsl:template>

Modified: lucene/dev/trunk/lucene/site/xsl/index.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/site/xsl/index.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/site/xsl/index.xsl (original)
+++ lucene/dev/trunk/lucene/site/xsl/index.xsl Tue Aug 11 23:15:20 2015
@@ -88,8 +88,8 @@
         <xsl:call-template name="modules"/>
       </body>
     </html>
-	</xsl:template>
-	
+  </xsl:template>
+  
   <xsl:template name="modules">
     <ul>
       <xsl:for-each select="str:split($buildfiles,'|')">

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/example_rss.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/example_rss.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/example_rss.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/example_rss.xsl Tue Aug 11
23:15:20 2015
@@ -32,7 +32,7 @@
   <xsl:template match='/'>
     <rss version="2.0">
        <channel>
-	 <title>Example Solr RSS 2.0 Feed</title>
+         <title>Example Solr RSS 2.0 Feed</title>
          <link>http://localhost:8983/solr</link>
          <description>
           This has been formatted by the sample "example_rss.xsl" transform -

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/updateXml.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/updateXml.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/updateXml.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/xslt/updateXml.xsl Tue Aug 11 23:15:20
2015
@@ -49,10 +49,10 @@
       <xsl:variable name="fn" select="@name"/>
       
       <xsl:for-each select="*">
-		<xsl:element name="field">
-		    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
-	        <xsl:value-of select="."/>
-		</xsl:element>
+        <xsl:element name="field">
+            <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+              <xsl:value-of select="."/>
+        </xsl:element>
       </xsl:for-each>
   </xsl:template>
 
@@ -60,10 +60,10 @@
   <xsl:template match="doc/*">
       <xsl:variable name="fn" select="@name"/>
 
-	<xsl:element name="field">
-	    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+       <xsl:element name="field">
+        <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
         <xsl:value-of select="."/>
-	</xsl:element>
+       </xsl:element>
   </xsl:template>
 
   <xsl:template match="*"/>

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/example_rss.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/example_rss.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/example_rss.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/example_rss.xsl Tue Aug
11 23:15:20 2015
@@ -32,7 +32,7 @@
   <xsl:template match='/'>
     <rss version="2.0">
        <channel>
-	 <title>Example Solr RSS 2.0 Feed</title>
+         <title>Example Solr RSS 2.0 Feed</title>
          <link>http://localhost:8983/solr</link>
          <description>
           This has been formatted by the sample "example_rss.xsl" transform -

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/updateXml.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/updateXml.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/updateXml.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/mail/conf/xslt/updateXml.xsl Tue Aug 11
23:15:20 2015
@@ -49,10 +49,10 @@
       <xsl:variable name="fn" select="@name"/>
       
       <xsl:for-each select="*">
-		<xsl:element name="field">
-		    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
-	        <xsl:value-of select="."/>
-		</xsl:element>
+        <xsl:element name="field">
+          <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+          <xsl:value-of select="."/>
+        </xsl:element>
       </xsl:for-each>
   </xsl:template>
 
@@ -60,10 +60,10 @@
   <xsl:template match="doc/*">
       <xsl:variable name="fn" select="@name"/>
 
-	<xsl:element name="field">
-	    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+      <xsl:element name="field">
+        <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
         <xsl:value-of select="."/>
-	</xsl:element>
+      </xsl:element>
   </xsl:template>
 
   <xsl:template match="*"/>

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/example_rss.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/example_rss.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/example_rss.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/example_rss.xsl Tue Aug 11
23:15:20 2015
@@ -32,7 +32,7 @@
   <xsl:template match='/'>
     <rss version="2.0">
        <channel>
-	 <title>Example Solr RSS 2.0 Feed</title>
+         <title>Example Solr RSS 2.0 Feed</title>
          <link>http://localhost:8983/solr</link>
          <description>
           This has been formatted by the sample "example_rss.xsl" transform -

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/updateXml.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/updateXml.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/updateXml.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/xslt/updateXml.xsl Tue Aug 11
23:15:20 2015
@@ -49,10 +49,10 @@
       <xsl:variable name="fn" select="@name"/>
       
       <xsl:for-each select="*">
-		<xsl:element name="field">
-		    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
-	        <xsl:value-of select="."/>
-		</xsl:element>
+        <xsl:element name="field">
+          <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+          <xsl:value-of select="."/>
+        </xsl:element>
       </xsl:for-each>
   </xsl:template>
 
@@ -60,10 +60,10 @@
   <xsl:template match="doc/*">
       <xsl:variable name="fn" select="@name"/>
 
-	<xsl:element name="field">
-	    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+      <xsl:element name="field">
+        <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
         <xsl:value-of select="."/>
-	</xsl:element>
+      </xsl:element>
   </xsl:template>
 
   <xsl:template match="*"/>

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/example_rss.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/example_rss.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/example_rss.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/example_rss.xsl Tue Aug
11 23:15:20 2015
@@ -32,7 +32,7 @@
   <xsl:template match='/'>
     <rss version="2.0">
        <channel>
-	 <title>Example Solr RSS 2.0 Feed</title>
+         <title>Example Solr RSS 2.0 Feed</title>
          <link>http://localhost:8983/solr</link>
          <description>
           This has been formatted by the sample "example_rss.xsl" transform -

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/updateXml.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/updateXml.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/updateXml.xsl (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/xslt/updateXml.xsl Tue Aug 11
23:15:20 2015
@@ -49,10 +49,10 @@
       <xsl:variable name="fn" select="@name"/>
       
       <xsl:for-each select="*">
-		<xsl:element name="field">
-		    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
-	        <xsl:value-of select="."/>
-		</xsl:element>
+        <xsl:element name="field">
+          <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+          <xsl:value-of select="."/>
+        </xsl:element>
       </xsl:for-each>
   </xsl:template>
 
@@ -60,10 +60,10 @@
   <xsl:template match="doc/*">
       <xsl:variable name="fn" select="@name"/>
 
-	<xsl:element name="field">
-	    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+      <xsl:element name="field">
+        <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
         <xsl:value-of select="."/>
-	</xsl:element>
+      </xsl:element>
   </xsl:template>
 
   <xsl:template match="*"/>

Modified: lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl
(original)
+++ lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl
Tue Aug 11 23:15:20 2015
@@ -32,7 +32,7 @@
   <xsl:template match='/'>
     <rss version="2.0">
        <channel>
-	 <title>Example Solr RSS 2.0 Feed</title>
+         <title>Example Solr RSS 2.0 Feed</title>
          <link>http://localhost:8983/solr</link>
          <description>
           This has been formatted by the sample "example_rss.xsl" transform -

Modified: lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl
(original)
+++ lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl
Tue Aug 11 23:15:20 2015
@@ -49,10 +49,10 @@
       <xsl:variable name="fn" select="@name"/>
       
       <xsl:for-each select="*">
-		<xsl:element name="field">
-		    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
-	        <xsl:value-of select="."/>
-		</xsl:element>
+        <xsl:element name="field">
+          <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+          <xsl:value-of select="."/>
+        </xsl:element>
       </xsl:for-each>
   </xsl:template>
 
@@ -60,10 +60,10 @@
   <xsl:template match="doc/*">
       <xsl:variable name="fn" select="@name"/>
 
-	<xsl:element name="field">
-	    <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
+      <xsl:element name="field">
+        <xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
         <xsl:value-of select="."/>
-	</xsl:element>
+      </xsl:element>
   </xsl:template>
 
   <xsl:template match="*"/>

Modified: lucene/dev/trunk/solr/site/index.xsl
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/site/index.xsl?rev=1695405&r1=1695404&r2=1695405&view=diff
==============================================================================
--- lucene/dev/trunk/solr/site/index.xsl (original)
+++ lucene/dev/trunk/solr/site/index.xsl Tue Aug 11 23:15:20 2015
@@ -81,8 +81,8 @@
         <xsl:call-template name="modules"/>
       </body>
     </html>
-	</xsl:template>
-	
+  </xsl:template>
+  
   <xsl:template name="modules">
     <ul>
       <xsl:for-each select="str:split($buildfiles,'|')">



Mime
View raw message