You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2016/12/06 17:59:30 UTC
[1/2] lucenenet git commit: Fixing build errors by removing internal
modifiers (closes #197)
Repository: lucenenet
Updated Branches:
refs/heads/master 701b9ed20 -> 5a4837fcf
Fixing build errors by removing internal modifiers (closes #197)
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/e4ad1bd7
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/e4ad1bd7
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/e4ad1bd7
Branch: refs/heads/master
Commit: e4ad1bd7bd18ff5c84f9c143405c37e13aa2c8ca
Parents: 701b9ed
Author: Connie Yau <co...@microsoft.com>
Authored: Tue Dec 6 09:06:12 2016 -0800
Committer: Connie Yau <co...@microsoft.com>
Committed: Tue Dec 6 09:44:32 2016 -0800
----------------------------------------------------------------------
src/Lucene.Net.Tests/core/Search/JustCompileSearch.cs | 2 +-
src/Lucene.Net.Tests/core/Search/TestDocIdSet.cs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e4ad1bd7/src/Lucene.Net.Tests/core/Search/JustCompileSearch.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/JustCompileSearch.cs b/src/Lucene.Net.Tests/core/Search/JustCompileSearch.cs
index 0466f25..cd25ca2 100644
--- a/src/Lucene.Net.Tests/core/Search/JustCompileSearch.cs
+++ b/src/Lucene.Net.Tests/core/Search/JustCompileSearch.cs
@@ -201,7 +201,7 @@ namespace Lucene.Net.Search
{
}
- protected internal override bool Match(int docid)
+ protected override bool Match(int docid)
{
throw new System.NotSupportedException(UNSUPPORTED_MSG);
}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e4ad1bd7/src/Lucene.Net.Tests/core/Search/TestDocIdSet.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestDocIdSet.cs b/src/Lucene.Net.Tests/core/Search/TestDocIdSet.cs
index 3cf73b9..e322c18 100644
--- a/src/Lucene.Net.Tests/core/Search/TestDocIdSet.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestDocIdSet.cs
@@ -135,7 +135,7 @@ namespace Lucene.Net.Search
this.OuterInstance = outerInstance;
}
- protected internal override bool Match(int docid)
+ protected override bool Match(int docid)
{
return docid % 2 == 0; //validate only even docids
}
@@ -244,7 +244,7 @@ namespace Lucene.Net.Search
this.OuterInstance = outerInstance;
}
- protected internal override bool Match(int docid)
+ protected override bool Match(int docid)
{
return true;
}
[2/2] lucenenet git commit: Removed C#6 features from
QueryParser.Flexible (closes #198)
Posted by ni...@apache.org.
Removed C#6 features from QueryParser.Flexible (closes #198)
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/5a4837fc
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/5a4837fc
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/5a4837fc
Branch: refs/heads/master
Commit: 5a4837fcfe39699fbdfb7100678785c26aa3116c
Parents: e4ad1bd
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Wed Dec 7 00:55:07 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Wed Dec 7 00:55:07 2016 +0700
----------------------------------------------------------------------
.../Flexible/Standard/Config/NumericConfig.cs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5a4837fc/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs b/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
index fb2db14..d6c5a5a 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
@@ -1,6 +1,6 @@
\ufeffusing Lucene.Net.Support;
using System;
-using static Lucene.Net.Documents.FieldType;
+using Lucene.Net.Documents;
namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
{
@@ -33,7 +33,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
private NumberFormat format;
- private NumericType type;
+ private FieldType.NumericType type;
/// <summary>
/// Constructs a <see cref="NumericConfig"/> object.
@@ -45,7 +45,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
/// <seealso cref="NumericConfig.NumberFormat"/>
/// <seealso cref="Type"/>
public NumericConfig(int precisionStep, NumberFormat format,
- NumericType type)
+ FieldType.NumericType type)
{
PrecisionStep = precisionStep;
NumberFormat = format;
@@ -83,7 +83,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
/// <summary>
/// Gets or Sets the numeric type used to index the numeric values
/// </summary>
- public virtual NumericType Type
+ public virtual FieldType.NumericType Type
{
get { return type; }
set { type = value; }