mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Fix some typos in error messages
This commit is contained in:
parent
f5f4438b43
commit
14ae01a6c9
@ -161,10 +161,10 @@ impl FacetCondition {
|
|||||||
) -> anyhow::Result<FacetCondition>
|
) -> anyhow::Result<FacetCondition>
|
||||||
{
|
{
|
||||||
let fid = fields_ids_map.id(key).with_context(|| {
|
let fid = fields_ids_map.id(key).with_context(|| {
|
||||||
format!("{:?} must isn't part of the fields ids map", key)
|
format!("{:?} isn't present in the fields ids map", key)
|
||||||
})?;
|
})?;
|
||||||
let ftype = faceted_fields.get(key).copied().with_context(|| {
|
let ftype = faceted_fields.get(key).copied().with_context(|| {
|
||||||
format!("{:?} must isn't a faceted field", key)
|
format!("{:?} isn't a faceted field", key)
|
||||||
})?;
|
})?;
|
||||||
let (neg, value) = match value.trim().strip_prefix('-') {
|
let (neg, value) = match value.trim().strip_prefix('-') {
|
||||||
Some(value) => (true, value.trim()),
|
Some(value) => (true, value.trim()),
|
||||||
|
Loading…
Reference in New Issue
Block a user