From 0620cc9513b294440e67154caa1f014fe552e0ef Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 10 May 2024 15:23:21 -0700 Subject: [PATCH] Updated Setting up Search (markdown) --- Setting-up-Search.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Setting-up-Search.md b/Setting-up-Search.md index 422d738..7392918 100644 --- a/Setting-up-Search.md +++ b/Setting-up-Search.md @@ -9,8 +9,6 @@ You can search your ArchiveBox data in a number of ways: ![image](https://github.com/ArchiveBox/ArchiveBox/assets/511499/637675ee-bf4a-49f9-b936-c2da1bd64410) -ArchiveBox search works by finding matches in `Snapshot` metadata fields (`url`, `title`, `timestamp`, `tags`), and the actual archived content (using the selected search backend below). You can find the search implementation here: [`archivebox/core/views.py: PublicIndex.get_queryset()`](https://github.com/ArchiveBox/ArchiveBox/blob/dev/archivebox/core/views.py#:~:text=title__icontains). -
> *Note: ArchiveBox currently only returns the bare list of snapshots that match when performing a search.* @@ -25,6 +23,8 @@ ArchiveBox search works by finding matches in `Snapshot` metadata fields (`url`, ## ArchiveBox Search Backends +ArchiveBox search works by doing simple substring matches in `Snapshot` metadata fields (`url`, `title`, `timestamp`, `tags`), and by searching the full archived content within each Snapshot (using the selected search backend below). You can find the search implementation source code here: [`archivebox/core/views.py: PublicIndex.get_queryset()`](https://github.com/ArchiveBox/ArchiveBox/blob/dev/archivebox/core/views.py#:~:text=title__icontains). + ```bash # this setting controls which search backend ArchiveBox uses archivebox config --set SEARCH_BACKEND_ENGINE=[ripgrep]|sonic|sqlite