lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject lucenenet git commit: BUG: Lucene.Net.Queries.CustomScoreQuery: strict field wasn't being set by IsStrict property (was auto-implemented)
Date Thu, 02 Mar 2017 04:32:45 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/api-work a6337320f -> 82ffd6a3e


BUG: Lucene.Net.Queries.CustomScoreQuery: strict field wasn't being set by IsStrict property
(was auto-implemented)


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

Branch: refs/heads/api-work
Commit: 82ffd6a3e567718a523a6c0bf3cdbd2072577c1e
Parents: a633732
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Mar 2 11:32:24 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Mar 2 11:32:24 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Queries/CustomScoreQuery.cs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/82ffd6a3/src/Lucene.Net.Queries/CustomScoreQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Queries/CustomScoreQuery.cs b/src/Lucene.Net.Queries/CustomScoreQuery.cs
index decceea..1ee6639 100644
--- a/src/Lucene.Net.Queries/CustomScoreQuery.cs
+++ b/src/Lucene.Net.Queries/CustomScoreQuery.cs
@@ -420,7 +420,11 @@ namespace Lucene.Net.Queries
         /// <para/>
         /// Note: only has effect when the <see cref="ValueSource"/> part is not <c>null</c>.
         /// </summary>
-        public virtual bool IsStrict { get; set; }
+        public virtual bool IsStrict
+        {
+            get { return strict; }
+            set { strict = value; }
+        }
 
 
         /// <summary>


Mime
View raw message