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:52 UTC

[lucenenet] 03/03: Lucene.Net.Document.FieldType: Upadated doc comments

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 de8efb2b39185f045f88be8746e1a6538e2c4357
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>