You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2015/03/01 20:27:51 UTC
[1/3] lucenenet git commit: Add LUCENENET TODO Make sure we do not
forget about tracking the dropped exceptions.
Repository: lucenenet
Updated Branches:
refs/heads/master 3a025d956 -> 781e1c2cf
Add LUCENENET TODO
Make sure we do not forget about tracking the dropped exceptions.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/e3c58c3a
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/e3c58c3a
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/e3c58c3a
Branch: refs/heads/master
Commit: e3c58c3a1f449b15a1f9d153a15cb2320c7a73c0
Parents: 3a025d9
Author: Chand2048 <Ch...@Microsoft.com>
Authored: Thu Feb 26 10:09:45 2015 -0800
Committer: Chand2048 <Ch...@Microsoft.com>
Committed: Thu Feb 26 10:09:45 2015 -0800
----------------------------------------------------------------------
src/Lucene.Net.Core/Index/IndexReader.cs | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e3c58c3a/src/Lucene.Net.Core/Index/IndexReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/IndexReader.cs b/src/Lucene.Net.Core/Index/IndexReader.cs
index 1b46b21..54f10dc 100644
--- a/src/Lucene.Net.Core/Index/IndexReader.cs
+++ b/src/Lucene.Net.Core/Index/IndexReader.cs
@@ -161,6 +161,7 @@ namespace Lucene.Net.Index
else
{
//th.AddSuppressed(t);
+ // LUCENENET TODO - Figure out how to track these exceptions
// Drop the exception instead of wrapping in AggregateException.
// Wrapping will change the exception type and change flow control.
}
[2/3] lucenenet git commit: initialize test doc on each test run
Posted by sy...@apache.org.
initialize test doc on each test run
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/62c02b39
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/62c02b39
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/62c02b39
Branch: refs/heads/master
Commit: 62c02b39ebda35e6995ba6b261547b8b33e70ad5
Parents: 3a025d9
Author: Laimonas Simutis <la...@gmail.com>
Authored: Sun Mar 1 12:25:53 2015 -0500
Committer: Laimonas Simutis <la...@gmail.com>
Committed: Sun Mar 1 12:25:53 2015 -0500
----------------------------------------------------------------------
src/Lucene.Net.Tests/core/Index/TestSegmentReader.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/62c02b39/src/Lucene.Net.Tests/core/Index/TestSegmentReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestSegmentReader.cs b/src/Lucene.Net.Tests/core/Index/TestSegmentReader.cs
index d90e8cb..8805748 100644
--- a/src/Lucene.Net.Tests/core/Index/TestSegmentReader.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestSegmentReader.cs
@@ -1,3 +1,4 @@
+using System;
using System.Collections.Generic;
namespace Lucene.Net.Index
@@ -33,8 +34,8 @@ namespace Lucene.Net.Index
public class TestSegmentReader : LuceneTestCase
{
private Directory Dir;
- private Document TestDoc = new Document();
- private SegmentReader Reader = null;
+ private Document TestDoc;
+ private SegmentReader Reader;
//TODO: Setup the reader w/ multiple documents
[SetUp]
@@ -42,6 +43,7 @@ namespace Lucene.Net.Index
{
base.SetUp();
Dir = NewDirectory();
+ TestDoc = new Document();
DocHelper.SetupDoc(TestDoc);
SegmentCommitInfo info = DocHelper.WriteDoc(Random(), Dir, TestDoc);
Reader = new SegmentReader(info, DirectoryReader.DEFAULT_TERMS_INDEX_DIVISOR, IOContext.READ);
[3/3] lucenenet git commit: Merge remote-tracking branch
'laimis/testsegmentreader_fix'
Posted by sy...@apache.org.
Merge remote-tracking branch 'laimis/testsegmentreader_fix'
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/781e1c2c
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/781e1c2c
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/781e1c2c
Branch: refs/heads/master
Commit: 781e1c2cfaa8411fab3a073f920968e5c2e45843
Parents: e3c58c3 62c02b3
Author: Itamar Syn-Hershko <it...@code972.com>
Authored: Sun Mar 1 21:25:44 2015 +0200
Committer: Itamar Syn-Hershko <it...@code972.com>
Committed: Sun Mar 1 21:25:44 2015 +0200
----------------------------------------------------------------------
src/Lucene.Net.Tests/core/Index/TestSegmentReader.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------