eikek / eikek/docspell

FR: Allow power search for "no" tag

Open
#2,620 1 comment 0 reactions 0 assignees View on GitHub
restserver
Dominant language
Elm
Stars
2.3k
Forks
184
Avg merge
8h 2m
Merged PRs (30d)
4

Description

It seems not possible to find items which have no tag set.

Ideas would be to allow either of these maybe - what is easiest to implement:
- tag="" (This search is accepted but does not return anything)
- !tag:* (with '*' to be expanded to all available tags, so not one of any available or similar)
- exist:tag (would require exist to work with multiple entries)

or similar.

Contributor guide

Open the contributing guide

Research direction

Start by locating the power-search handling and the existing tag-query behavior. Compare the proposed syntaxes for finding documents with no tags, then confirm the intended syntax and expected results before changing anything. Done means the chosen query returns untagged items without breaking existing tag searches.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.