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 ca67f23a4b231500499f6084f9f21a828c6b4b22 Author: Ron Clabo <[email protected]> AuthorDate: Fri Apr 2 17:29:49 2021 -0400 Made minor changes to comments related to Grouping Search --- src/Lucene.Net.Grouping/AbstractAllGroupHeadsCollector.cs | 2 +- src/Lucene.Net.Grouping/GroupingSearch.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Lucene.Net.Grouping/AbstractAllGroupHeadsCollector.cs b/src/Lucene.Net.Grouping/AbstractAllGroupHeadsCollector.cs index bab2515..8360b2d 100644 --- a/src/Lucene.Net.Grouping/AbstractAllGroupHeadsCollector.cs +++ b/src/Lucene.Net.Grouping/AbstractAllGroupHeadsCollector.cs @@ -153,7 +153,7 @@ namespace Lucene.Net.Search.Grouping /// <summary> /// Represents a group head. A group head is the most relevant document for a particular group. - /// The relevancy is based is usually based on the sort. + /// The relevancy is usually based on the sort. /// <para> /// The group head contains a group value with its associated most relevant document id. /// </para> diff --git a/src/Lucene.Net.Grouping/GroupingSearch.cs b/src/Lucene.Net.Grouping/GroupingSearch.cs index 0f29d6a..a0c7d15 100644 --- a/src/Lucene.Net.Grouping/GroupingSearch.cs +++ b/src/Lucene.Net.Grouping/GroupingSearch.cs @@ -107,6 +107,7 @@ namespace Lucene.Net.Search.Grouping /// <param name="groupLimit">The number of groups to return from the specified group offset</param> /// <returns>the grouped result as a <see cref="ITopGroups{Object}"/> instance</returns> /// <exception cref="IOException">If any I/O related errors occur</exception> + // LUCENENET additional method signature. Makes discovering the return type easier. public virtual ITopGroups<object> Search(IndexSearcher searcher, Query query, int groupOffset, int groupLimit) { return Search<object>(searcher, null, query, groupOffset, groupLimit); @@ -138,6 +139,7 @@ namespace Lucene.Net.Search.Grouping /// <param name="groupLimit">The number of groups to return from the specified group offset</param> /// <returns>the grouped result as a <see cref="ITopGroups{Object}"/> instance</returns> /// <exception cref="IOException">If any I/O related errors occur</exception> + // LUCENENET additional method signature. Makes discovering the return type easier. public virtual ITopGroups<object> Search(IndexSearcher searcher, Filter filter, Query query, int groupOffset, int groupLimit) { if (groupFunction != null)
