mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 14:44:21 +02:00
Updated Setting up Search (markdown)
@@ -9,8 +9,6 @@ You can search your ArchiveBox data in a number of ways:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
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).
|
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
> *Note: ArchiveBox currently only returns the bare list of snapshots that match when performing a search.*
|
> *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 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
|
```bash
|
||||||
# this setting controls which search backend ArchiveBox uses
|
# this setting controls which search backend ArchiveBox uses
|
||||||
archivebox config --set SEARCH_BACKEND_ENGINE=[ripgrep]|sonic|sqlite
|
archivebox config --set SEARCH_BACKEND_ENGINE=[ripgrep]|sonic|sqlite
|
||||||
|
Reference in New Issue
Block a user