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 2016/08/21 06:54:54 UTC

[15/18] lucenenet git commit: Changed Join.TermsIncluingScoreQuery.SVInOrderScorer.outerInstance variable to protected so its subclass can access it (fixes Join.TestJoinUtil.TestMultiValueRandomJoin())

Changed Join.TermsIncluingScoreQuery.SVInOrderScorer.outerInstance variable to protected so its subclass can access it (fixes Join.TestJoinUtil.TestMultiValueRandomJoin())


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

Branch: refs/heads/master
Commit: 9313ff9c89d330b718773808ba7d01faf7d02f02
Parents: 0fd8d34
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sun Aug 21 10:58:19 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sun Aug 21 10:58:19 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Join/TermsIncludingScoreQuery.cs | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9313ff9c/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs b/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
index 9f3befc..93f2d2e 100644
--- a/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
+++ b/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
@@ -349,7 +349,7 @@ namespace Lucene.Net.Join
 
         internal class SVInOrderScorer : Scorer
         {
-            private readonly TermsIncludingScoreQuery outerInstance;
+            protected readonly TermsIncludingScoreQuery outerInstance;
 
 
             internal readonly DocIdSetIterator matchingDocsIterator;
@@ -427,14 +427,10 @@ namespace Lucene.Net.Join
         // This scorer deals with the fact that a document can have more than one score from multiple related documents.
         internal class MVInOrderScorer : SVInOrderScorer
         {
-            private readonly TermsIncludingScoreQuery outerInstance;
-
-            
             internal MVInOrderScorer(TermsIncludingScoreQuery outerInstance, Weight weight, Bits acceptDocs,
                 TermsEnum termsEnum, int maxDoc, long cost)
                 : base(outerInstance, weight, acceptDocs, termsEnum, maxDoc, cost)
             {
-                this.outerInstance = outerInstance;
             }
             
             protected override void FillDocsAndScores(FixedBitSet matchingDocs, Bits acceptDocs,