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 <[email protected]> Authored: Thu Mar 2 11:32:24 2017 +0700 Committer: Shad Storhaug <[email protected]> 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>
