mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Fix the max number of facets to be returned to 100
This commit is contained in:
parent
93f30e65a9
commit
a05074e675
@ -22,7 +22,7 @@ static LEVDIST1: Lazy<LevBuilder> = Lazy::new(|| LevBuilder::new(1, true));
|
|||||||
static LEVDIST2: Lazy<LevBuilder> = Lazy::new(|| LevBuilder::new(2, true));
|
static LEVDIST2: Lazy<LevBuilder> = Lazy::new(|| LevBuilder::new(2, true));
|
||||||
|
|
||||||
/// The maximum number of facets returned by the facet search route.
|
/// The maximum number of facets returned by the facet search route.
|
||||||
const MAX_NUMBER_OF_FACETS: usize = 1000;
|
const MAX_NUMBER_OF_FACETS: usize = 100;
|
||||||
|
|
||||||
pub mod facet;
|
pub mod facet;
|
||||||
mod fst_utils;
|
mod fst_utils;
|
||||||
|
Loading…
Reference in New Issue
Block a user