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 23:06:51 UTC
[lucenenet] 02/03: `FieldType.cs` comments correction/improvement
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch docs/4.8.0-beta00014
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 11e264c2e24f2149b881a3ce35be0b3a8d0546e9
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
+}