mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #956] Documentation: Document how search works #593
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#593
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 @bbkane on GitHub (Mar 27, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/956
Wiki Page URL
https://github.com/ArchiveBox/ArchiveBox/wiki/Usage#explanation-of-buttons-in-the-web-ui---admin-snapshots-list
Suggested Edit
Document how search works in Archivebox. It looks like https://github.com/ArchiveBox/ArchiveBox/pull/721 and https://github.com/ArchiveBox/ArchiveBox/pull/543 add full text search using Sonic, but I can't find advanced usage details. Can it do boolean queries (
"rabbits" AND NOT "racoons") for example? Would someone more familiar with the project add a few sentences describing what the capabilities of the search are and maybe some examples explaining how to use it?@bbkane commented on GitHub (Mar 27, 2022):
Does it search the body as well as the title? Can I order by fields in the query?
@rcarmo commented on GitHub (Sep 13, 2022):
It would be great to have this documented. Right now it feels like I can't do full text search on page contents, and it is mostly because search is inscrutable.
@pirate commented on GitHub (Sep 28, 2022):
I don't believe it can do Boolean queries but if you have Sonic you can do full-text search of the article bodies with fuzzy matching.
@rcarmo commented on GitHub (Sep 28, 2022):
I’m using the container image (which I assume includes it). Yet the lack of documentation still applies.
@pirate commented on GitHub (Nov 18, 2022):
I've added a line to the Usage docs and a screenshot explaining search slightly more here: https://github.com/ArchiveBox/ArchiveBox/wiki/Usage#explanation-of-buttons-in-the-web-ui---admin-snapshots-list
I still have to add instructions on how to set up Sonic/ripgrep and configure them later.
SEARCH_BACKEND_ENGINE,SEARCH_BACKEND_HOST, andSEARCH_BACKEND_PASSWORDIn summary for people arriving here via Google the setup instructions for Sonic are as follows:
🔍 Sonic Search Setup Instructions
sonic.cfgfile into yourdata/folder:curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic.cfgsonic:container config indocker-compose.yml: https://github.com/ArchiveBox/ArchiveBox/blob/dev/docker-compose.yml#:~:text=sonic.cfgSEARCH_BACKEND_ENGINE,SEARCH_BACKEND_HOST, andSEARCH_BACKEND_PASSWORDconfig vars in ArchiveBox to point to the new container: https://github.com/ArchiveBox/ArchiveBox/blob/dev/docker-compose.yml#:~:text=SEARCH_BACKEND_ENGINEdocker-compose down; docker-compose down; docker-compose updocker compose run archivebox update --index-onlyIf anyone wants to contribute the wiki page with these instructions + screenshots + links to the README I'm happy to review a documentation improvement PR.
@diego898 commented on GitHub (Jan 19, 2023):
Split out my comment into #1087
@pirate commented on GitHub (May 7, 2024):
This is mostly done now! Check out our new documentation page here: https://github.com/ArchiveBox/ArchiveBox/wiki/Setting-up-Search
I still have to document the config options on the
Configurationpage but it's a start.For improvements / suggestions you can comment back here or open a PR with changes for this file:
https://github.com/ArchiveBox/docs/blob/master/Setting-up-Search.md