lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r948084 - /lucene/lucene.net/tags/Lucene.Net_2_9_2/contrib/Similarity.Net/Similarity.Net/Similar/MoreLikeThis.cs
Date Tue, 25 May 2010 16:07:16 GMT
Author: digy
Date: Tue May 25 16:07:16 2010
New Revision: 948084

URL: http://svn.apache.org/viewvc?rev=948084&view=rev
Log:
LUCENENET-368 Similarity.Net doesn't compile with Lucene trunk (tag 2.9.2)

Modified:
    lucene/lucene.net/tags/Lucene.Net_2_9_2/contrib/Similarity.Net/Similarity.Net/Similar/MoreLikeThis.cs

Modified: lucene/lucene.net/tags/Lucene.Net_2_9_2/contrib/Similarity.Net/Similarity.Net/Similar/MoreLikeThis.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/tags/Lucene.Net_2_9_2/contrib/Similarity.Net/Similarity.Net/Similar/MoreLikeThis.cs?rev=948084&r1=948083&r2=948084&view=diff
==============================================================================
--- lucene/lucene.net/tags/Lucene.Net_2_9_2/contrib/Similarity.Net/Similarity.Net/Similar/MoreLikeThis.cs
(original)
+++ lucene/lucene.net/tags/Lucene.Net_2_9_2/contrib/Similarity.Net/Similarity.Net/Similar/MoreLikeThis.cs
Tue May 25 16:07:16 2010
@@ -497,7 +497,7 @@ namespace Similarity.Net
             if (fieldNames == null)
             {
                 // gather list of valid fields from lucene
-                System.Collections.ICollection fields = ir.GetFieldNames(IndexReader.FieldOption.INDEXED);
+                System.Collections.Generic.ICollection<string> fields = ir.GetFieldNames(IndexReader.FieldOption.INDEXED);
                 System.Collections.IEnumerator e = fields.GetEnumerator();
                 fieldNames = new System.String[fields.Count];
                 int index = 0;
@@ -518,7 +518,7 @@ namespace Similarity.Net
             if (fieldNames == null)
             {
                 // gather list of valid fields from lucene
-                System.Collections.ICollection fields = ir.GetFieldNames(IndexReader.FieldOption.INDEXED);
+                System.Collections.Generic.ICollection<string> fields = ir.GetFieldNames(IndexReader.FieldOption.INDEXED);
                 System.Collections.IEnumerator e = fields.GetEnumerator();
                 fieldNames = new System.String[fields.Count];
                 int index = 0;



Mime
View raw message