Add API search setting

This commit is contained in:
ManyTheFish
2023-06-07 11:24:40 +02:00
parent a3716c5678
commit 461b5118bd
7 changed files with 22 additions and 2 deletions

View File

@ -514,6 +514,7 @@ mod tests {
false,
&None,
&None,
None,
crate::search::new::GeoSortStrategy::default(),
0,
100,

View File

@ -355,6 +355,7 @@ pub fn execute_search(
exhaustive_number_hits: bool,
filters: &Option<Filter>,
sort_criteria: &Option<Vec<AscDesc>>,
searchable_attributes: Option<&[String]>,
geo_strategy: geo_sort::Strategy,
from: usize,
length: usize,