This commit is contained in:
Guillaume Mourier 2022-10-28 18:22:26 +02:00 committed by Louis Dureuil
parent 426d63b01b
commit 65a3086cf1
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ use crate::documents::{self, DocumentsBatchCursorError};
use crate::{CriterionError, DocumentId, FieldId, Object, SortError};
pub fn is_reserved_keyword(keyword: &str) -> bool {
["_geo", "_geoDistance", "_geoPoint", "_geoRadius"].contains(&keyword)
["_geo", "_geoDistance", "_geoPoint", "_geoRadius", "_geoBoundingBox"].contains(&keyword)
}
#[derive(Error, Debug)]