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 2021/04/17 21:34:23 UTC
[lucenenet] branch master updated (f44e3b9 -> d228ad2)
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git.
from f44e3b9 docs: Lucene.Net.QueryParser + Lucene.Net.Replicator: Fixed formatting and code snippets so they are readable, fixed many broken links (see #284, #300)
new fd37986 `FieldType.cs` comments correction/improvement
new d228ad2 Lucene.Net.Document.FieldType: Upadated doc comments
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/Lucene.Net/Document/FieldType.cs | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
[lucenenet] 01/02: `FieldType.cs` comments correction/improvement
Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit fd379866b40a7583315f87e556338a59a524b4ce
Author: Mohammad Javad Ebrahimi <mj...@gmail.com>
AuthorDate: Sat Apr 17 22:26:13 2021 +0430
`FieldType.cs` comments correction/improvement
The default value of `IsTokenized` changed to `false` in comments.
The default value `NumericType.NONE` added in the comments.
---
src/Lucene.Net/Document/FieldType.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/Lucene.Net/Document/FieldType.cs b/src/Lucene.Net/Document/FieldType.cs
index 2ab36ef..848b054 100644
--- a/src/Lucene.Net/Document/FieldType.cs
+++ b/src/Lucene.Net/Document/FieldType.cs
@@ -119,7 +119,7 @@ namespace Lucene.Net.Documents
/// <summary>
/// Set to <c>true</c> to tokenize this field's contents via the
- /// configured <see cref="Analysis.Analyzer"/>. The default is <c>false</c>.
+ /// configured <see cref="Analysis.Analyzer"/>. The default is <c>true</c>.
/// </summary>
/// <exception cref="InvalidOperationException"> if this <see cref="FieldType"/> is frozen against
/// future modifications. </exception>
@@ -234,6 +234,8 @@ namespace Lucene.Net.Documents
/// Specifies the field's numeric type, or set to <c>null</c> if the field has no numeric type.
/// If non-null then the field's value will be indexed numerically so that
/// <see cref="Search.NumericRangeQuery"/> can be used at search time.
+ /// <para/>
+ /// The default is <see cref="NumericType.NONE"/>.
/// </summary>
/// <exception cref="InvalidOperationException"> if this <see cref="FieldType"/> is frozen against
/// future modifications. </exception>
@@ -396,4 +398,4 @@ namespace Lucene.Net.Documents
/// 64-bit double numeric type </summary>
DOUBLE
}
-}
\ No newline at end of file
+}
[lucenenet] 02/02: Lucene.Net.Document.FieldType: Upadated doc
comments
Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit d228ad2b9f1ebe4e9e43067353bab24882ad18c5
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sun Apr 18 04:16:49 2021 +0700
Lucene.Net.Document.FieldType: Upadated doc comments
Updated NumericType description to specify NumericType.NONE rather than null.
---
src/Lucene.Net/Document/FieldType.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Lucene.Net/Document/FieldType.cs b/src/Lucene.Net/Document/FieldType.cs
index 848b054..42dcc5e 100644
--- a/src/Lucene.Net/Document/FieldType.cs
+++ b/src/Lucene.Net/Document/FieldType.cs
@@ -231,8 +231,8 @@ namespace Lucene.Net.Documents
}
/// <summary>
- /// Specifies the field's numeric type, or set to <c>null</c> if the field has no numeric type.
- /// If non-null then the field's value will be indexed numerically so that
+ /// Specifies the field's numeric type, or set to <see cref="NumericType.NONE"/> if the field has no numeric type.
+ /// If not <see cref="NumericType.NONE"/> then the field's value will be indexed numerically so that
/// <see cref="Search.NumericRangeQuery"/> can be used at search time.
/// <para/>
/// The default is <see cref="NumericType.NONE"/>.
@@ -252,7 +252,7 @@ namespace Lucene.Net.Documents
/// <summary>
/// Sets the numeric precision step for the field.
/// <para/>
- /// This has no effect if <see cref="NumericType"/> returns <see cref="NumericType.NONE"/>.
+ /// This has no effect if <see cref="NumericType"/> is <see cref="NumericType.NONE"/>.
/// <para/>
/// The default is <see cref="NumericUtils.PRECISION_STEP_DEFAULT"/>.
/// </summary>