lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [17/48] lucenenet git commit: Lucene.Net.Suggest: Fixed XML documentation warnings
Date Tue, 06 Jun 2017 00:11:50 GMT
Lucene.Net.Suggest: Fixed XML documentation warnings


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/864dcf73
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/864dcf73
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/864dcf73

Branch: refs/heads/master
Commit: 864dcf735776cc48d24e519488469e8be90f4da3
Parents: 93eef42
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Jun 4 03:46:46 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Jun 4 03:46:46 2017 +0700

----------------------------------------------------------------------
 .../Suggest/Analyzing/AnalyzingInfixSuggester.cs        |  4 ++--
 .../Suggest/Analyzing/FreeTextSuggester.cs              |  6 +++---
 .../Suggest/Jaspell/JaspellTernarySearchTrie.cs         | 12 ++++++------
 3 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/864dcf73/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs b/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs
index 344628f..edd912e 100644
--- a/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs
+++ b/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs
@@ -292,7 +292,7 @@ namespace Lucene.Net.Search.Suggest.Analyzing
         /// instead if you want to replace a previous suggestion.
         /// After adding or updating a batch of new suggestions,
         /// you must call <see cref="Refresh()"/> in the end in order to
-        /// see the suggestions in <see cref="DoLookup"/> 
+        /// see the suggestions in <see cref="DoLookup(string, IEnumerable{BytesRef},
int, bool, bool)"/> 
         /// </summary>
         public virtual void Add(BytesRef text, IEnumerable<BytesRef> contexts, long
weight, BytesRef payload)
         {
@@ -306,7 +306,7 @@ namespace Lucene.Net.Search.Suggest.Analyzing
         /// this text is not already present you can use <see cref="Add"/> 
         /// instead.  After adding or updating a batch of
         /// new suggestions, you must call <see cref="Refresh()"/> in the
-        /// end in order to see the suggestions in <see cref="DoLookup"/> 
+        /// end in order to see the suggestions in <see cref="DoLookup(string, IEnumerable{BytesRef},
int, bool, bool)"/> 
         /// </summary>
         public virtual void Update(BytesRef text, IEnumerable<BytesRef> contexts, long
weight, BytesRef payload)
         {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/864dcf73/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs b/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs
index a28007f..aeeb8be 100644
--- a/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs
+++ b/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs
@@ -39,9 +39,9 @@ namespace Lucene.Net.Search.Suggest.Analyzing
     //   - add pruning of low-freq ngrams?   
 
     /// <summary>
-    /// Builds an ngram model from the text sent to <see cref="Build"/>
+    /// Builds an ngram model from the text sent to <see cref="Build(IInputIterator, double)"/>
     /// and predicts based on the last grams-1 tokens in
-    /// the request sent to <see cref="DoLookup"/>.  This tries to
+    /// the request sent to <see cref="DoLookup(string, IEnumerable{BytesRef}, bool, int)"/>.
 This tries to
     /// handle the "long tail" of suggestions for when the
     /// incoming query is a never before seen query string.
     /// 
@@ -61,7 +61,7 @@ namespace Lucene.Net.Search.Suggest.Analyzing
     /// "Large language models in machine translation"</a> for details.
     /// 
     /// </para>
-    /// <para> From <see cref="DoLookup"/>, the key of each result is the
+    /// <para> From <see cref="DoLookup(string, IEnumerable{BytesRef}, bool, int)"/>,
the key of each result is the
     /// ngram token; the value is <see cref="long.MaxValue"/> * score (fixed
     /// point, cast to long).  Divide by <see cref="long.MaxValue"/> to get
     /// the score back, which ranges from 0.0 to 1.0.

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/864dcf73/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs b/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs
index 29e5276..7ed60d1 100644
--- a/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs
+++ b/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs
@@ -168,13 +168,13 @@ namespace Lucene.Net.Search.Suggest.Jaspell
         */
 
         /// <summary>
-        /// The default number of values returned by the <see cref="MatchAlmost"/>
+        /// The default number of values returned by the <see cref="MatchAlmost(string,
int)"/>
         /// method.
         /// </summary>
         private int defaultNumReturnValues = -1;
 
         /// <summary>
-        /// the number of differences allowed in a call to the <see cref="MatchAlmost"/>
+        /// the number of differences allowed in a call to the <see cref="MatchAlmost(string,
int)"/>
         /// <c>key</c>.
         /// </summary>
         private int matchAlmostDiff;
@@ -680,7 +680,7 @@ namespace Lucene.Net.Search.Suggest.Jaspell
         /// target key, where diff is equal to the last value set
         /// to the <see cref="MatchAlmostDiff"/> property.
         /// <para>
-        /// If the <see cref="MatchAlmost"/> method is called before the
+        /// If the <see cref="MatchAlmost(string, int)"/> method is called before the
         /// <see cref="MatchAlmostDiff"/> property has been called for the first time,
         /// then diff = 0.
         /// 
@@ -700,7 +700,7 @@ namespace Lucene.Net.Search.Suggest.Jaspell
         /// target key, where diff is equal to the last value set
         /// to the <see cref="MatchAlmostDiff"/> property.
         /// <para>
-        /// If the <see cref="MatchAlmost"/> method is called before the
+        /// If the <see cref="MatchAlmost(string, int)"/> method is called before the
         /// <see cref="MatchAlmostDiff"/> property has been called for the first time,
         /// then diff = 0.
         /// 
@@ -899,7 +899,7 @@ namespace Lucene.Net.Search.Suggest.Jaspell
 
         /// <summary>
         /// Sets the number of characters by which words can differ from target word
-        /// when calling the <see cref="MatchAlmost"/> method.
+        /// when calling the <see cref="MatchAlmost(string, int)"/> method.
         /// <para>
         /// Arguments less than 0 will set the char difference to 0, and arguments
         /// greater than 3 will set the char difference to 3.
@@ -931,7 +931,7 @@ namespace Lucene.Net.Search.Suggest.Jaspell
 
         /// <summary>
         /// Sets the default maximum number of values returned from the
-        /// <see cref="MatchPrefix"/> and <see cref="MatchAlmost"/> methods.
+        /// <see cref="MatchPrefix(string, int)"/> and <see cref="MatchAlmost(string,
int)"/> methods.
         /// <para>
         /// The value should be set this to -1 to get an unlimited number of return
         /// values. note that the methods mentioned above provide overloaded versions


Mime
View raw message