mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #650] Feature Request: Lightweight rg configuration #406
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#406
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @berezovskyi on GitHub (Feb 6, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/650
Type
What is the problem that your feature request solves
I have about 5000 items in the library, ripgrep FTS on them takes around 75s when run from the host CLI, may be a bit longer on Docker. It times out after 60 seconds as per a hardcoded constant in https://github.com/ArchiveBox/ArchiveBox/blob/dev/archivebox/search/backends/ripgrep.py#L35
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
When I run
rg --type-add 'archiveb:*.{html,txt,json}' -iltarchiveb -e 'query' archive/instead of the original command, my search terminates in 25s.What hacks or alternative solutions have you tried to solve the problem?
We can increase the delay or make it configurable.
How badly do you want this new feature?