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 9C83A200B93 for ; Wed, 24 Aug 2016 01:17:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9AF66160AC5; Tue, 23 Aug 2016 23:17:59 +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 9A57B160ABF for ; Wed, 24 Aug 2016 01:17:57 +0200 (CEST) Received: (qmail 44431 invoked by uid 500); 23 Aug 2016 23:17:55 -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 43131 invoked by uid 99); 23 Aug 2016 23:17:55 -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; Tue, 23 Aug 2016 23:17:55 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E4E58E05E1; Tue, 23 Aug 2016 23:17:54 +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: Tue, 23 Aug 2016 23:18:26 -0000 Message-Id: <2c1200f711e84923b9dcbea38c0e8414@git.apache.org> In-Reply-To: <7ea169ebc34c46fb8a7c1c3199804cae@git.apache.org> References: <7ea169ebc34c46fb8a7c1c3199804cae@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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()) archived-at: Tue, 23 Aug 2016 23:17:59 -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/analysis-work 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,