[GH-ISSUE #1453] Feature Request: Ability to restrict search to specific fields #2377

Open
opened 2026-03-01 17:58:37 +03:00 by kerem · 0 comments
Owner

Originally created by @sclu1034 on GitHub (Jun 10, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1453

Type

  • General question or discussion
  • Propose a brand new feature
  • Request modification of existing behavior or design

What is the problem that your feature request solves

The existing search field only ever filters across all possible fields (content AND title AND url etc.). But sometimes I want to search for entries where I know that a word shows up in the title or URL, but the result list gets bloated by all the pages where this word shows up in the content instead.

Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes

Implement a way to restrict the search to specific fields. For my use case, it would be fine to add a dropdown next to the search bar with options like All, Title, Url, Content, where All would be the default and current behavior of a searching everything, while the other options restrict the search to just that value.

What hacks or alternative solutions have you tried to solve the problem?

None so far.
I suppose I could go into the archive storage, figure out how the metadata is saved and cobble together a script. But my instance is running inside Docker on Unraid, and both of these technologies aren't made for interactive shell usage.

How badly do you want this new feature?

  • It's an urgent deal-breaker, I can't live without it
  • It's important to add it in the near-mid term future
  • It would be nice to have eventually

  • I'm willing to contribute dev time / money to fix this issue
  • I like ArchiveBox so far / would recommend it to a friend
  • I've had a lot of difficulty getting ArchiveBox set up
Originally created by @sclu1034 on GitHub (Jun 10, 2024). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1453 ## Type - [ ] General question or discussion - [ ] Propose a brand new feature - [x] Request modification of existing behavior or design ## What is the problem that your feature request solves The existing search field only ever filters across all possible fields (content AND title AND url etc.). But sometimes I want to search for entries where I know that a word shows up in the title or URL, but the result list gets bloated by all the pages where this word shows up in the content instead. ## Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes Implement a way to restrict the search to specific fields. For my use case, it would be fine to add a dropdown next to the search bar with options like `All`, `Title`, `Url`, `Content`, where `All` would be the default and current behavior of a searching everything, while the other options restrict the search to just that value. ## What hacks or alternative solutions have you tried to solve the problem? None so far. I suppose I could go into the archive storage, figure out how the metadata is saved and cobble together a script. But my instance is running inside Docker on Unraid, and both of these technologies aren't made for interactive shell usage. ## How badly do you want this new feature? - [ ] It's an urgent deal-breaker, I can't live without it - [x] It's important to add it in the near-mid term future - [ ] It would be nice to have eventually --- - [ ] I'm willing to contribute [dev time](https://github.com/ArchiveBox/ArchiveBox#archivebox-development) / [money](https://github.com/sponsors/pirate) to fix this issue - [x] I like ArchiveBox so far / would recommend it to a friend - [ ] I've had a lot of difficulty getting ArchiveBox set up
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2377
No description provided.