From 95f504c0bc0b9ec0930b6c6facefc1a8ea093192 Mon Sep 17 00:00:00 2001 From: Brandon Wong <29965003+brandonw3612@users.noreply.github.com> Date: Sun, 13 Apr 2025 22:50:45 +0200 Subject: feat: add support for filtering by bookmark age (#1228) --- docs/docs/14-Guides/02-search-query-language.md | 29 +++++++++++++------------ 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'docs') diff --git a/docs/docs/14-Guides/02-search-query-language.md b/docs/docs/14-Guides/02-search-query-language.md index b0d8ffd3..f45b7dc2 100644 --- a/docs/docs/14-Guides/02-search-query-language.md +++ b/docs/docs/14-Guides/02-search-query-language.md @@ -13,20 +13,21 @@ Hoarder provides a search query language to filter and find bookmarks. Here are Here's a comprehensive table of all supported qualifiers: -| Qualifier | Description | Example Usage | -| -------------------------------- | -------------------------------------------------- | --------------------- | -| `is:fav` | Favorited bookmarks | `is:fav` | -| `is:archived` | Archived bookmarks | `-is:archived` | -| `is:tagged` | Bookmarks that has one or more tags | `is:tagged` | -| `is:inlist` | Bookmarks that are in one or more lists | `is:inlist` | -| `is:link`, `is:text`, `is:media` | Bookmarks that are of type link, text or media | `is:link` | -| `url:` | Match bookmarks with URL substring | `url:example.com` | -| `#` | Match bookmarks with specific tag | `#important` | -| | Supports quoted strings for tags with spaces | `#"work in progress"` | -| `list:` | Match bookmarks in specific list | `list:reading` | -| | Supports quoted strings for list names with spaces | `list:"to review"` | -| `after:` | Bookmarks created on or after date (YYYY-MM-DD) | `after:2023-01-01` | -| `before:` | Bookmarks created on orbefore date (YYYY-MM-DD) | `before:2023-12-31` | +| Qualifier | Description | Example Usage | +|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------| +| `is:fav` | Favorited bookmarks | `is:fav` | +| `is:archived` | Archived bookmarks | `-is:archived` | +| `is:tagged` | Bookmarks that has one or more tags | `is:tagged` | +| `is:inlist` | Bookmarks that are in one or more lists | `is:inlist` | +| `is:link`, `is:text`, `is:media` | Bookmarks that are of type link, text or media | `is:link` | +| `url:` | Match bookmarks with URL substring | `url:example.com` | +| `#` | Match bookmarks with specific tag | `#important` | +| | Supports quoted strings for tags with spaces | `#"work in progress"` | +| `list:` | Match bookmarks in specific list | `list:reading` | +| | Supports quoted strings for list names with spaces | `list:"to review"` | +| `after:` | Bookmarks created on or after date (YYYY-MM-DD) | `after:2023-01-01` | +| `before:` | Bookmarks created on or before date (YYYY-MM-DD) | `before:2023-12-31` | +| `age:` | Match bookmarks based on how long ago they were created. Use `<` or `>` to indicate the maximum / minimum age of the bookmarks.
Supported units: `d` (days), `w` (weeks), `m` (months), `y` (years). | `age:<1d` `age:>2w`
`age:<6m` `age:>3y` | ### Examples -- cgit v1.2.3-70-g09d2