Implement geo sort on documents

This commit is contained in:
Mubelotix 2025-06-30 13:57:30 +02:00
parent e35d58b531
commit f86f4f619f
No known key found for this signature in database
GPG key ID: 0406DF6C3A69B942
5 changed files with 152 additions and 48 deletions

View file

@ -1556,7 +1556,7 @@ fn retrieve_documents<S: AsRef<str>>(
let mut facet_sort = None;
if let Some(sort) = sort_criteria {
facet_sort = Some(recursive_facet_sort(index, &rtxn, &sort, &candidates)?)
facet_sort = Some(recursive_facet_sort(index, &rtxn, sort, &candidates)?)
}
let (it, number_of_documents) = if let Some(facet_sort) = &facet_sort {