Fix the max number of facets to be returned to 100

This commit is contained in:
Clément Renault 2023-04-26 17:19:02 +02:00 committed by Louis Dureuil
parent 93f30e65a9
commit a05074e675
No known key found for this signature in database

View File

@ -22,7 +22,7 @@ static LEVDIST1: Lazy<LevBuilder> = Lazy::new(|| LevBuilder::new(1, true));
static LEVDIST2: Lazy<LevBuilder> = Lazy::new(|| LevBuilder::new(2, true));
/// 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;
mod fst_utils;