Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support exclusion in tagmatcher #102

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

geoo89
Copy link
Contributor

@geoo89 geoo89 commented Oct 3, 2023

The --tags argument in the CLI allows for filtering content index row by tags.

By default, a row is accepted if its tag matches any of the provided tags, or is empty, e.g. 1 foo bar 2 baz means: only include rows if tags:1 is empty, foo or bar, and tags:2 is empty or baz

We now allow for excluding tags, in particular the empty tag: 1 foo bar ! 2 !baz means: only include rows if tags:1 is foo or bar (but not empty), and tags:2 is not baz"

@geoo89 geoo89 requested a review from fagiothree October 11, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Under review
Development

Successfully merging this pull request may close these issues.

1 participant