lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [09/28] lucenenet git commit: Lucene.Net.Memory.MemoryIndex.MemoryIndexReader.Searcher: added getter per MSDN guidelines
Date Wed, 01 Feb 2017 10:22:06 GMT
Lucene.Net.Memory.MemoryIndex.MemoryIndexReader.Searcher: added getter per MSDN guidelines


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

Branch: refs/heads/api-work
Commit: 8ddd86b0dcbec489248e87911dea846e90275e3b
Parents: 9ccf3f0
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 13:49:23 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 13:49:23 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Memory/MemoryIndex.MemoryIndexReader.cs | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8ddd86b0/src/Lucene.Net.Memory/MemoryIndex.MemoryIndexReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Memory/MemoryIndex.MemoryIndexReader.cs b/src/Lucene.Net.Memory/MemoryIndex.MemoryIndexReader.cs
index 9e70d6e..b6ba603 100644
--- a/src/Lucene.Net.Memory/MemoryIndex.MemoryIndexReader.cs
+++ b/src/Lucene.Net.Memory/MemoryIndex.MemoryIndexReader.cs
@@ -594,6 +594,10 @@ namespace Lucene.Net.Index.Memory
 
             internal IndexSearcher Searcher
             {
+                get // LUCENENET specific: added getter per MSDN guidelines
+                {
+                    return this.searcher;
+                }
                 set
                 {
                     this.searcher = value;


Mime
View raw message