Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D911C200B91 for ; Sun, 21 Aug 2016 08:54:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D7AB2160A87; Sun, 21 Aug 2016 06:54:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7303A160ACE for ; Sun, 21 Aug 2016 08:54:42 +0200 (CEST) Received: (qmail 41244 invoked by uid 500); 21 Aug 2016 06:54:41 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 40187 invoked by uid 99); 21 Aug 2016 06:54:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2016 06:54:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4A143EE695; Sun, 21 Aug 2016 06:54:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: synhershko@apache.org To: commits@lucenenet.apache.org Date: Sun, 21 Aug 2016 06:54:54 -0000 Message-Id: <13bc97cd65c64b27b910362cf02703cb@git.apache.org> In-Reply-To: <6522ab6f6b0a401f808da61a135530d9@git.apache.org> References: <6522ab6f6b0a401f808da61a135530d9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [15/18] lucenenet git commit: Changed Join.TermsIncluingScoreQuery.SVInOrderScorer.outerInstance variable to protected so its subclass can access it (fixes Join.TestJoinUtil.TestMultiValueRandomJoin()) archived-at: Sun, 21 Aug 2016 06:54:44 -0000 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 Authored: Sun Aug 21 10:58:19 2016 +0700 Committer: Shad Storhaug 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,