if we have no rtree we return all other provided documents

This commit is contained in:
Tamo
2021-09-09 15:19:47 +02:00
parent a84f3a8b31
commit 3fc145c254
3 changed files with 11 additions and 10 deletions

View File

@ -312,7 +312,7 @@ impl<'t> CriteriaBuilder<'t> {
)?),
AscDescName::Desc(Member::Geo(_point)) => {
return Err(UserError::InvalidSortName {
name: "Sorting in descending order is currently not supported for the geosearch".to_string(),
name: "sorting in descending order is not supported for the geosearch".to_string(),
})?
}
};