mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #914] Bug: ArchiveBox search timing out with 20,000 snapshots #565
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#565
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 @sonofhypnos on GitHub (Jan 19, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/914
Describe the bug
When I try to search my local archive in the searchbar on top, it times out after 90 seconds with:
"Error from the search backend, only showing results from default admin search fields - Error: Command '['rg', '--type-add', 'ignore:*.{css,js,orig,svg}', '-ilTignore', '-e', 'a', '/home/tassilo/archivebox/archive']' timed out after 90 seconds"every time. (I tried searching single letters: "a", "b", "c", urls: "example.com", words: "hello")
Steps to reproduce
https://pastebin.com/uSgx2Kk4
archivebox serverin archive directory.Screenshots or log output
ArchiveBox version
@pirate commented on GitHub (Jan 22, 2022):
Sounds about right, unless you're on a really fast SSD,
rgis going to struggle searching that many files that quickly. This is whyrgis just the easy default, but we support and recommendsonicfor real full-text search ;)https://github.com/ArchiveBox/ArchiveBox/blob/dev/docker-compose.yml#L30