Skip to content

Commit 675a5ed

Browse files
BorisDogdgolub
andauthored
Apply suggestions from code review
Co-authored-by: David Golub <[email protected]>
1 parent 7bcf7c3 commit 675a5ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MongoDB.Driver/Search/SearchDefinitions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private protected override BsonDocument RenderOperator(IBsonSerializer<TDocument
4545
new()
4646
{
4747
{ "query", _query.Render() },
48-
{ "tokenOrder", _tokenOrder.ToCamelCase(), _tokenOrder == AutocompleteTokenOrder.Sequential },
48+
{ "tokenOrder", _tokenOrder.ToCamelCase(), _tokenOrder != AutocompleteTokenOrder.Any },
4949
{ "fuzzy", () => _fuzzy.Render(), _fuzzy != null },
5050
};
5151
}

src/MongoDB.Driver/Search/SearchRange.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct SearchRange<TValue> where TValue : struct, IComparable<TValue>
1313
public static SearchRange<TValue> Empty { get; } = new(default, default, default, default);
1414

1515
/// <summary>
16-
/// Initializes a new instance of the <see cref="Range{TValue}"/> class.
16+
/// Initializes a new instance of the <see cref="SearchRange{TValue}"/> class.
1717
/// </summary>
1818
/// <param name="min">The lower bound of the range.</param>
1919
/// <param name="max">The upper bound of the range</param>

0 commit comments

Comments
 (0)