lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [46/50] [abbrv] lucenenet git commit: Lucene.Net.TestFramework: Added TODO about issue caused by using the MockVariableIntBlockPostingsFormat, which itself doesn't appear to be the issue.
Date Wed, 15 Mar 2017 23:50:28 GMT
Lucene.Net.TestFramework: Added TODO about issue caused by using the MockVariableIntBlockPostingsFormat,
which itself doesn't appear to be the issue.


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

Branch: refs/heads/api-work
Commit: 0a7ea1061a46b317b728ff2f5d34922036e8b588
Parents: 74750b9
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Mar 16 06:01:43 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Mar 16 06:01:43 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Index/RandomCodec.cs | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0a7ea106/src/Lucene.Net.TestFramework/Index/RandomCodec.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Index/RandomCodec.cs b/src/Lucene.Net.TestFramework/Index/RandomCodec.cs
index 5ec3003..8bf8975 100644
--- a/src/Lucene.Net.TestFramework/Index/RandomCodec.cs
+++ b/src/Lucene.Net.TestFramework/Index/RandomCodec.cs
@@ -155,6 +155,11 @@ namespace Lucene.Net.Index
                 new TestBloomFilteredLucene41Postings(), 
                 new MockSepPostingsFormat(), 
                 new MockFixedIntBlockPostingsFormat(TestUtil.NextInt(random, 1, 2000)),
+
+                // LUCENENET TODO: This codec is causing random exceptions, but upon
+                // line-by-line review of the codec, it is exactly as it was in Lucene.
+                // So, there must be something wrong with variable int functionality
+                // somewhere else in the core.
                 new MockVariableIntBlockPostingsFormat(TestUtil.NextInt(random, 1, 127)),

                 new MockRandomPostingsFormat(random),
                 new NestedPulsingPostingsFormat(), 


Mime
View raw message