You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2014/11/07 06:51:02 UTC

lucenenet git commit: Apparently we do need to have Boost virtual

Repository: lucenenet
Updated Branches:
  refs/heads/master 3ec43cbd1 -> dd025161b


Apparently we do need to have Boost virtual


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

Branch: refs/heads/master
Commit: dd025161b666bf483e27c909410ccde69836354d
Parents: 3ec43cb
Author: Itamar Syn-Hershko <it...@code972.com>
Authored: Fri Nov 7 07:50:50 2014 +0200
Committer: Itamar Syn-Hershko <it...@code972.com>
Committed: Fri Nov 7 07:50:50 2014 +0200

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/Query.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/dd025161/src/Lucene.Net.Core/Search/Query.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/Query.cs b/src/Lucene.Net.Core/Search/Query.cs
index 7ff1367..3a66bd3 100644
--- a/src/Lucene.Net.Core/Search/Query.cs
+++ b/src/Lucene.Net.Core/Search/Query.cs
@@ -58,7 +58,7 @@ namespace Lucene.Net.Search
         /// matching this clause will (in addition to the normal weightings) have
         /// their score multiplied by <code>b</code>.
         /// </summary>
-        public float Boost { get; set; }
+        public virtual float Boost { get; set; }
 
         /// <summary>
         /// Prints a query to a string, with <code>field</code> assumed to be the