mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Implement geo sort on documents
This commit is contained in:
parent
e35d58b531
commit
f86f4f619f
5 changed files with 152 additions and 48 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue