lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [05/12] lucenenet git commit: Lucene.Net.Join..TermsIncludingScoreQuery.SVInOrderScorer: Renamed outerInstance > m_outerInstance (protected field convention)
Date Thu, 26 Jan 2017 14:38:03 GMT
Lucene.Net.Join..TermsIncludingScoreQuery.SVInOrderScorer: Renamed outerInstance > m_outerInstance
(protected field convention)


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

Branch: refs/heads/api-work
Commit: e24cb4955baf5039d8f53555306a9eb38288ae7a
Parents: 720fe70
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Jan 26 20:00:13 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Jan 26 20:00:13 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Join/TermsIncludingScoreQuery.cs | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e24cb495/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs b/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
index ee45f3a..aacc83b 100644
--- a/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
+++ b/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
@@ -354,7 +354,7 @@ namespace Lucene.Net.Join
 
         internal class SVInOrderScorer : Scorer
         {
-            protected readonly TermsIncludingScoreQuery outerInstance;
+            protected readonly TermsIncludingScoreQuery m_outerInstance;
 
 
             internal readonly DocIdSetIterator matchingDocsIterator;
@@ -367,7 +367,7 @@ namespace Lucene.Net.Join
                 TermsEnum termsEnum, int maxDoc, long cost) 
                 : base(weight)
             {
-                this.outerInstance = outerInstance;
+                this.m_outerInstance = outerInstance;
                 FixedBitSet matchingDocs = new FixedBitSet(maxDoc);
                 scores = new float[maxDoc];
                 FillDocsAndScores(matchingDocs, acceptDocs, termsEnum);
@@ -380,12 +380,12 @@ namespace Lucene.Net.Join
             {
                 BytesRef spare = new BytesRef();
                 DocsEnum docsEnum = null;
-                for (int i = 0; i < outerInstance._terms.Count; i++)
+                for (int i = 0; i < m_outerInstance._terms.Count; i++)
                 {
-                    if (termsEnum.SeekExact(outerInstance._terms.Get(outerInstance._ords[i],
spare)))
+                    if (termsEnum.SeekExact(m_outerInstance._terms.Get(m_outerInstance._ords[i],
spare)))
                     {
                         docsEnum = termsEnum.Docs(acceptDocs, docsEnum, FLAG_NONE);
-                        float score = outerInstance._scores[outerInstance._ords[i]];
+                        float score = m_outerInstance._scores[m_outerInstance._ords[i]];
                         for (int doc = docsEnum.NextDoc();
                             doc != NO_MORE_DOCS;
                             doc = docsEnum.NextDoc())
@@ -444,12 +444,12 @@ namespace Lucene.Net.Join
             {
                 BytesRef spare = new BytesRef();
                 DocsEnum docsEnum = null;
-                for (int i = 0; i < outerInstance._terms.Count; i++)
+                for (int i = 0; i < m_outerInstance._terms.Count; i++)
                 {
-                    if (termsEnum.SeekExact(outerInstance._terms.Get(outerInstance._ords[i],
spare)))
+                    if (termsEnum.SeekExact(m_outerInstance._terms.Get(m_outerInstance._ords[i],
spare)))
                     {
                         docsEnum = termsEnum.Docs(acceptDocs, docsEnum, FLAG_NONE);
-                        float score = outerInstance._scores[outerInstance._ords[i]];
+                        float score = m_outerInstance._scores[m_outerInstance._ords[i]];
                         for (int doc = docsEnum.NextDoc();
                             doc != NO_MORE_DOCS;
                             doc = docsEnum.NextDoc())


Mime
View raw message