Skip to content

Commit 41e5770

Browse files
committed
- PR comments
1 parent 24ec76f commit 41e5770

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

evergreen/run-atlas-search-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ echo "Running Atlas Search driver tests"
1414

1515
export ATLAS_SEARCH_TESTS_ENABLED=true
1616

17-
powershell.exe .\\build.ps1 --target TestAtlasSearch
17+
powershell.exe .\\build.ps1 --target=TestAtlasSearch

src/MongoDB.Driver/Search/SearchDefinitionBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public SearchDefinition<TDocument> MoreLikeThis<TLike>(IEnumerable<TLike> like)
306306
/// </param>
307307
/// <returns>A more like this search definition.</returns>
308308
public SearchDefinition<TDocument> MoreLikeThis<TLike>(params TLike[] like) =>
309-
new MoreLikeThisSearchDefinition<TDocument, TLike>(like);
309+
MoreLikeThis((IEnumerable<TLike>)like);
310310

311311
/// <summary>
312312
/// Creates a search definition that supports querying and scoring numeric and date values.

src/MongoDB.Driver/Search/SearchHighlightOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public SearchHighlightOptions(SearchPathDefinition<TDocument> path, int? maxChar
6161
public SearchHighlightOptions(
6262
Expression<Func<TDocument, object>> path,
6363
int? maxCharsToExamine = null,
64-
int? maxNumPassages = null) :
65-
this(new ExpressionFieldDefinition<TDocument>(path), maxCharsToExamine, maxNumPassages)
64+
int? maxNumPassages = null)
65+
: this(new ExpressionFieldDefinition<TDocument>(path), maxCharsToExamine, maxNumPassages)
6666
{
6767
}
6868

0 commit comments

Comments
 (0)