Skip to content

Commit 4e4ce29

Browse files
Merge #603
603: Make RankingScoreThreshold optional r=curquiza a=danFbach # Pull Request ## Related issue Fixes #601 ## What does this PR do? - make RankingScoreThreshold nullable (thereby optional and ignored by json convertor if left null) ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Passes all current integration tests. Co-authored-by: Dan Fehrenbach <[email protected]>
2 parents 789faf8 + a525d8b commit 4e4ce29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Meilisearch/SearchQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,6 @@ public class SearchQuery
147147
/// Gets or sets rankingScoreThreshold, a number between 0.0 and 1.0.
148148
/// </summary>
149149
[JsonPropertyName("rankingScoreThreshold")]
150-
public decimal RankingScoreThreshold { get; set; }
150+
public decimal? RankingScoreThreshold { get; set; }
151151
}
152152
}

0 commit comments

Comments
 (0)