Skip to content

Commit 164bf07

Browse files
emmaling27Convex, Inc.
authored and
Convex, Inc.
committed
Remove dead search knob (#31185)
We stopped using v1 text search index format many months ago so we can delete this knob. GitOrigin-RevId: f6813a25ffe2fd41ddd8aaf8f41b45fcf3781aab
1 parent 1413a19 commit 164bf07

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/common/src/knobs.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -468,14 +468,6 @@ pub static DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS: LazyLock<usize> =
468468
pub static SEARCH_INDEX_SIZE_SOFT_LIMIT: LazyLock<usize> =
469469
LazyLock::new(|| env_config("SEARCH_INDEX_SIZE_SOFT_LIMIT", 10 * (1 << 20))); // 10 MiB
470470

471-
/// Size at which a v1 single segment text search index will be queued for
472-
/// snapshotting.
473-
///
474-
/// We use a larger value here because building single segment text search
475-
/// indexes is exponential, so building indexes infrequently reduces the overall
476-
/// time spent building the index.
477-
pub static TEXT_SEARCH_V1_INDEX_SIZE_SOFT_LIMIT: LazyLock<usize> =
478-
LazyLock::new(|| env_config("SEARCH_INDEX_SIZE_SOFT_LIMIT", 50 * (1 << 20))); // 50 MiB
479471
/// Configures the search index worker's rate limit on pages processed per
480472
/// second.
481473
pub static SEARCH_INDEX_WORKER_PAGES_PER_SECOND: LazyLock<NonZeroU32> = LazyLock::new(|| {

0 commit comments

Comments
 (0)