lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [33/50] [abbrv] lucenenet git commit: Changed Join.TermsIncluingScoreQuery.SVInOrderScorer.outerInstance variable to protected so its subclass can access it (fixes Join.TestJoinUtil.TestMultiValueRandomJoin())
Date Tue, 23 Aug 2016 23:18:26 GMT
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/analysis-work
Commit: 9313ff9c89d330b718773808ba7d01faf7d02f02
Parents: 0fd8d34
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Aug 21 10:58:19 2016 +0700
Committer: Shad Storhaug <shad@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,


Mime
View raw message