lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [22/58] lucenenet git commit: QueryParser.Flexible: Fixed bug that caused TestQPHelper.TestMatchAllDocs() to fail
Date Tue, 06 Dec 2016 15:11:57 GMT
QueryParser.Flexible: Fixed bug that caused TestQPHelper.TestMatchAllDocs() to fail


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

Branch: refs/heads/master
Commit: 2ad30fbcaa1adb16aed002f15e5e90f91ae43453
Parents: c6ee3d5
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Dec 4 17:36:59 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Dec 4 17:36:59 2016 +0700

----------------------------------------------------------------------
 .../Flexible/Standard/Processors/MatchAllDocsQueryNodeProcessor.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2ad30fbc/src/Lucene.Net.QueryParser/Flexible/Standard/Processors/MatchAllDocsQueryNodeProcessor.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/Processors/MatchAllDocsQueryNodeProcessor.cs
b/src/Lucene.Net.QueryParser/Flexible/Standard/Processors/MatchAllDocsQueryNodeProcessor.cs
index 4b216ac..4fda65e 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Standard/Processors/MatchAllDocsQueryNodeProcessor.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Standard/Processors/MatchAllDocsQueryNodeProcessor.cs
@@ -30,7 +30,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard.Processors
                 FieldQueryNode fqn = (FieldQueryNode)node;
 
                 if (fqn.Field.ToString().Equals("*")
-                    && fqn.Text.Equals("*"))
+                    && fqn.Text.ToString().Equals("*"))
                 {
 
                     return new MatchAllDocsQueryNode();


Mime
View raw message