lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r911526 - in /lucene/lucene.net/trunk/C#/src/Lucene.Net: Document/AbstractField.cs Document/Field.cs Document/Fieldable.cs Document/NumericField.cs Index/FieldsReader.cs
Date Thu, 18 Feb 2010 18:53:43 GMT
Author: digy
Date: Thu Feb 18 18:53:43 2010
New Revision: 911526

URL: http://svn.apache.org/viewvc?rev=911526&view=rev
Log:
LUCENENET-340 Fieldable.ReaderValue should return TextReader not StreamReader

Modified:
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/AbstractField.cs
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Fieldable.cs
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/NumericField.cs
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/AbstractField.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Document/AbstractField.cs?rev=911526&r1=911525&r2=911526&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/AbstractField.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/AbstractField.cs Thu Feb 18 18:53:43
2010
@@ -465,7 +465,7 @@
 			return result.ToString();
 		}
 		public abstract Lucene.Net.Analysis.TokenStream TokenStreamValue();
-		public abstract System.IO.StreamReader ReaderValue();
+		public abstract System.IO.TextReader ReaderValue();
 		public abstract System.String StringValue();
 		public abstract byte[] BinaryValue();
 	}

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Document/Field.cs?rev=911526&r1=911525&r2=911526&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs Thu Feb 18 18:53:43 2010
@@ -199,7 +199,7 @@
 		/// binary value is used.  Exactly one of stringValue(),
 		/// readerValue(), and getBinaryValue() must be set. 
 		/// </summary>
-		public override System.IO.StreamReader ReaderValue()
+		public override System.IO.TextReader ReaderValue()
 		{
 			return fieldsData is System.IO.StreamReader?(System.IO.StreamReader) fieldsData:null;
 		}

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Fieldable.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Document/Fieldable.cs?rev=911526&r1=911525&r2=911526&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Fieldable.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/Fieldable.cs Thu Feb 18 18:53:43 2010
@@ -94,7 +94,7 @@
 		/// <summary>The value of the field as a Reader, which can be used at index time
to generate indexed tokens.</summary>
 		/// <seealso cref="StringValue()">
 		/// </seealso>
-		System.IO.StreamReader ReaderValue();
+		System.IO.TextReader ReaderValue();
 		
 		/// <summary>The value of the field in Binary, or null.</summary>
 		/// <seealso cref="StringValue()">

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/NumericField.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Document/NumericField.cs?rev=911526&r1=911525&r2=911526&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/NumericField.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Document/NumericField.cs Thu Feb 18 18:53:43
2010
@@ -230,7 +230,7 @@
 		}
 		
 		/// <summary>Returns always <code>null</code> for numeric fields </summary>
-		public override System.IO.StreamReader ReaderValue()
+		public override System.IO.TextReader ReaderValue()
 		{
 			return null;
 		}

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Index/FieldsReader.cs?rev=911526&r1=911525&r2=911526&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs Thu Feb 18 18:53:43 2010
@@ -573,7 +573,7 @@
 			/// binary value, or TokenStream value is used.  Exactly one of stringValue(), 
 			/// readerValue(), binaryValue(), and tokenStreamValue() must be set. 
 			/// </summary>
-			public override System.IO.StreamReader ReaderValue()
+			public override System.IO.TextReader ReaderValue()
 			{
 				Enclosing_Instance.EnsureOpen();
 				return null;
@@ -734,7 +734,7 @@
 				return (System.String) this.fieldsData;
 			}
 			
-			public override System.IO.StreamReader ReaderValue()
+			public override System.IO.TextReader ReaderValue()
 			{
 				// not needed for merge
 				return null;



Mime
View raw message