lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [03/21] lucenenet git commit: Lucene.Net.Core.Search.FieldCacheImpl refactor: Renamed TermsEnum() > GetTermsEnum()
Date Sun, 12 Mar 2017 16:38:02 GMT
Lucene.Net.Core.Search.FieldCacheImpl refactor: Renamed TermsEnum() > GetTermsEnum()


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

Branch: refs/heads/api-work
Commit: 7aef7f6ba1d4ce775140b0ed3354c62dbfc4b733
Parents: 38319a5
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sat Mar 11 15:46:45 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sat Mar 11 15:46:45 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/FieldCacheImpl.cs | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7aef7f6b/src/Lucene.Net.Core/Search/FieldCacheImpl.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/FieldCacheImpl.cs b/src/Lucene.Net.Core/Search/FieldCacheImpl.cs
index 8718481..386fe36 100644
--- a/src/Lucene.Net.Core/Search/FieldCacheImpl.cs
+++ b/src/Lucene.Net.Core/Search/FieldCacheImpl.cs
@@ -402,7 +402,7 @@ namespace Lucene.Net.Search
                         }
                     }
 
-                    TermsEnum termsEnum = TermsEnum(terms);
+                    TermsEnum termsEnum = GetTermsEnum(terms);
 
                     DocsEnum docs = null;
                     FixedBitSet docsWithField = null;
@@ -437,7 +437,7 @@ namespace Lucene.Net.Search
                 }
             }
 
-            protected abstract TermsEnum TermsEnum(Terms terms); // LUCENENET TODO: Change
to GetTermsEnum()
+            protected abstract TermsEnum GetTermsEnum(Terms terms); // LUCENENET specific
- renamed from TermsEnum()
 
             protected abstract void VisitTerm(BytesRef term);
 
@@ -598,7 +598,7 @@ namespace Lucene.Net.Search
                     values[docID] = currentValue;
                 }
 
-                protected override TermsEnum TermsEnum(Terms terms)
+                protected override TermsEnum GetTermsEnum(Terms terms)
                 {
                     return parser.TermsEnum(terms);
                 }
@@ -743,7 +743,7 @@ namespace Lucene.Net.Search
                     values[docID] = currentValue;
                 }
 
-                protected override TermsEnum TermsEnum(Terms terms)
+                protected override TermsEnum GetTermsEnum(Terms terms)
                 {
                     return parser.TermsEnum(terms);
                 }
@@ -960,7 +960,7 @@ namespace Lucene.Net.Search
                     values.Set(docID, (currentValue - minValue) & 0xFFFFFFFFL);
                 }
 
-                protected override TermsEnum TermsEnum(Terms terms)
+                protected override TermsEnum GetTermsEnum(Terms terms)
                 {
                     return parser.TermsEnum(terms);
                 }
@@ -1215,7 +1215,7 @@ namespace Lucene.Net.Search
                     values[docID] = currentValue;
                 }
 
-                protected override TermsEnum TermsEnum(Terms terms)
+                protected override TermsEnum GetTermsEnum(Terms terms)
                 {
                     return parser.TermsEnum(terms);
                 }
@@ -1402,7 +1402,7 @@ namespace Lucene.Net.Search
                     values.Set(docID, currentValue - minValue);
                 }
 
-                protected override TermsEnum TermsEnum(Terms terms)
+                protected override TermsEnum GetTermsEnum(Terms terms)
                 {
                     return parser.TermsEnum(terms);
                 }
@@ -1558,7 +1558,7 @@ namespace Lucene.Net.Search
                     values[docID] = currentValue;
                 }
 
-                protected override TermsEnum TermsEnum(Terms terms)
+                protected override TermsEnum GetTermsEnum(Terms terms)
                 {
                     return parser.TermsEnum(terms);
                 }


Mime
View raw message