mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1453] Feature Request: Ability to restrict search to specific fields #866
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#866
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 @sclu1034 on GitHub (Jun 10, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1453
Type
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, whereAllwould 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?