We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc5194 commit 2a71ee6Copy full SHA for 2a71ee6
1 file changed
quickwit/quickwit-search/src/list_fields.rs
@@ -41,16 +41,6 @@ use crate::{
41
search_thread_pool,
42
};
43
44
-/// QW_FIELD_LIST_SIZE_LIMIT defines a hard limit on the number of fields that
45
-/// can be returned (error otherwise).
46
-///
47
-/// Having many fields can happen when a user is creating fields dynamically in
48
-/// a JSON type with random field names. This leads to huge memory consumption
49
-/// when building the response. This is a workaround until a way is found to
50
-/// prune the long tail of rare fields.
51
-static FIELD_LIST_SIZE_LIMIT: LazyLock<usize> =
52
- LazyLock::new(|| quickwit_common::get_from_env("QW_FIELD_LIST_SIZE_LIMIT", 100_000, false));
53
-
54
const DYNAMIC_FIELD_PREFIX: &str = "_dynamic.";
55
56
/// Get the list of fields in the given split.
0 commit comments