lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [22/33] lucenenet git commit: BUG: Lucene.Net.Codecs.BlockTerms.BlockTermsReader: fields field was a Dictionary, but it should be SortedDictionary
Date Fri, 17 Mar 2017 22:28:52 GMT
BUG: Lucene.Net.Codecs.BlockTerms.BlockTermsReader: fields field was a Dictionary, but it should
be SortedDictionary


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

Branch: refs/heads/api-work
Commit: 344262ce83f180dcf1c48915067ec7abeffa2b4b
Parents: 04e1d9e
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Mar 17 21:44:27 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sat Mar 18 03:21:45 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Codecs/BlockTerms/BlockTermsReader.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/344262ce/src/Lucene.Net.Codecs/BlockTerms/BlockTermsReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Codecs/BlockTerms/BlockTermsReader.cs b/src/Lucene.Net.Codecs/BlockTerms/BlockTermsReader.cs
index ff14955..53bbe50 100644
--- a/src/Lucene.Net.Codecs/BlockTerms/BlockTermsReader.cs
+++ b/src/Lucene.Net.Codecs/BlockTerms/BlockTermsReader.cs
@@ -51,7 +51,7 @@ namespace Lucene.Net.Codecs.BlockTerms
         // Reads the terms index
         private TermsIndexReaderBase _indexReader;
 
-        private readonly Dictionary<string, FieldReader> _fields = new Dictionary<string,
FieldReader>();
+        private readonly IDictionary<string, FieldReader> _fields = new SortedDictionary<string,
FieldReader>(StringComparer.Ordinal);
 
         // keeps the dirStart offset
         private long _dirOffset;


Mime
View raw message