Closed austinmilt closed 2 years ago
Looks good. Can we propagate the new
pre_query_search_limit
parameter to the other Meilisearch queries inquery_root.rs
?
@ray-kast The pre_query_search_limit
should only be used when passing the results of Meilisearch to an SQL query. That's because this limit is a buffer to help increase the odds of getting consistent results on the SQL query after leveraging Meilisearch. Otherwise, the limit and offset provided in the API should be passed direct to Meilisearch. Currently the other search endpoints have limits and offsets, so no change needs to be made there.
This PR adds a query to get collections ordered by volume (sum of purchases in collection).
Changes
custom_types.rs
,query_root.rs
)collections.rs
)query_root.rs
)related #534