From 2a505503b3fbeef66dab0735a062e33567eac64d Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Wed, 8 Jun 2022 15:43:01 +0200 Subject: [PATCH] Change the number of facet values returned by default to 100 --- milli/src/search/facet/facet_distribution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/search/facet/facet_distribution.rs b/milli/src/search/facet/facet_distribution.rs index 7340538ea..8069abede 100644 --- a/milli/src/search/facet/facet_distribution.rs +++ b/milli/src/search/facet/facet_distribution.rs @@ -15,7 +15,7 @@ use crate::{FieldId, Index, Result}; /// The default number of values by facets that will /// be fetched from the key-value store. -const DEFAULT_VALUES_BY_FACET: usize = 1000; +const DEFAULT_VALUES_BY_FACET: usize = 100; /// Threshold on the number of candidates that will make /// the system to choose between one algorithm or another.