lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [26/50] [abbrv] lucenenet git commit: BUG: Lucene.Net.Queries.Mlt.MoreLikeThisQuery.Equals(): Fixed set comparison for stop words
Date Wed, 15 Mar 2017 23:50:08 GMT
BUG: Lucene.Net.Queries.Mlt.MoreLikeThisQuery.Equals(): Fixed set comparison for stop words


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/cfdcfeba
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/cfdcfeba
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/cfdcfeba

Branch: refs/heads/api-work
Commit: cfdcfebad524f1cd9b2b2da34163cb77784fe322
Parents: 087a818
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Mar 15 04:27:29 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Mar 15 16:03:31 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Queries/Mlt/MoreLikeThisQuery.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/cfdcfeba/src/Lucene.Net.Queries/Mlt/MoreLikeThisQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Queries/Mlt/MoreLikeThisQuery.cs b/src/Lucene.Net.Queries/Mlt/MoreLikeThisQuery.cs
index 62fd903..87296e4 100644
--- a/src/Lucene.Net.Queries/Mlt/MoreLikeThisQuery.cs
+++ b/src/Lucene.Net.Queries/Mlt/MoreLikeThisQuery.cs
@@ -225,7 +225,7 @@ namespace Lucene.Net.Queries.Mlt
                     return false;
                 }
             }
-            else if (!stopWords.Equals(other.stopWords))
+            else if (!stopWords.SetEquals(other.stopWords))
             {
                 return false;
             }


Mime
View raw message