lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [3/3] lucenenet git commit: Quickly fixing compilation by specifying arbitrary default value
Date Thu, 19 Feb 2015 09:41:49 GMT
Quickly fixing compilation by specifying arbitrary default value

Need to look at the Java sources to see what default values are used there

https://github.com/apache/lucene-solr/blob/lucene_solr_4_8_0/lucene/core/src/java/org/apache/lucene/search/TopTermsRewrite.java#L65


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

Branch: refs/heads/master
Commit: a3220b5119f628866134ba3e4bd0dabdc4c9664f
Parents: 2e5ba2b
Author: Itamar Syn-Hershko <itamar@code972.com>
Authored: Thu Feb 19 11:33:26 2015 +0200
Committer: Itamar Syn-Hershko <itamar@code972.com>
Committed: Thu Feb 19 11:33:26 2015 +0200

----------------------------------------------------------------------
 src/Lucene.Net.Core/Util/PriorityQueue.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a3220b51/src/Lucene.Net.Core/Util/PriorityQueue.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/PriorityQueue.cs b/src/Lucene.Net.Core/Util/PriorityQueue.cs
index 8ed5705..a0b52b7 100644
--- a/src/Lucene.Net.Core/Util/PriorityQueue.cs
+++ b/src/Lucene.Net.Core/Util/PriorityQueue.cs
@@ -39,7 +39,7 @@ namespace Lucene.Net.Util
         private readonly int MaxSize;
         private readonly T[] Heap;
 
-        public PriorityQueue(int maxSize)
+        public PriorityQueue(int maxSize = 128)
             : this(maxSize, true)
         {
         }


Mime
View raw message