375: Fixes #365 r=Kerollmops a=vishnugt



Co-authored-by: Vishnu Ganesan <vganesan@microsoft.com>
Co-authored-by: Vishnu Gt <vishnugt@hotmail.com>
This commit is contained in:
bors[bot] 2021-09-28 14:42:48 +00:00 committed by GitHub
commit adddf3f179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,8 +247,8 @@ only composed of alphanumeric characters (a-z A-Z 0-9), hyphens (-) and undersco
)
}
Self::SortRankingRuleMissing => f.write_str(
"The sort ranking rule must be specified in the \
ranking rules settings to use the sort parameter at search time",
"You must specify where \"sort\" is listed in the \
rankingRules setting to use the sort parameter at search time",
),
Self::MissingDocumentId { document } => {
let json = serde_json::to_string(document).unwrap();