Skip to content

Conversation

brendan-kellam
Copy link
Contributor

@brendan-kellam brendan-kellam commented Dec 9, 2024

This PR adds the settings.maxFileSize option to the config schema, which allows users to specify the maximum file size (in bytes) that zoekt should index. E.g.,

{
    "$schema": "./schemas/v2/index.json",
    "settings": {
        "maxFileSize": 4194304 // Set size to 4MB (default 2MB)
    }
    // ...
}

All repositories in the config will use this file limit when indexing.

@brendan-kellam brendan-kellam marked this pull request as ready for review December 9, 2024 22:05
@brendan-kellam brendan-kellam changed the title Add config option to specify file limit size Add config option to specify max file size Dec 9, 2024
@brendan-kellam brendan-kellam merged commit 111023b into main Dec 9, 2024
3 checks passed
@brendan-kellam brendan-kellam deleted the bkellam/fileLimitSize branch December 9, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant