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

[Feature request] Search filters #25

Closed
javiavid opened this issue Apr 25, 2022 · 1 comment
Closed

[Feature request] Search filters #25

javiavid opened this issue Apr 25, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@javiavid
Copy link

Is your feature request related to a problem? Please describe.
I would like to have a filter for exact phrases and to discard words

Describe the solution you'd like
-Use quotation marks for exact phrases
"antique car"

-Use hyphen to discard notes containing unwanted words
"antique car" -1970

Describe alternatives you've considered
For discards NOT could be used
"antique car" NOT 1970

@scambier scambier added the enhancement New feature or request label Apr 26, 2022
scambier added a commit that referenced this issue Apr 28, 2022
This works as a post-search filter, so individual words still need to be valid tokens
@scambier scambier self-assigned this Apr 29, 2022
scambier added a commit that referenced this issue Apr 29, 2022
scambier added a commit that referenced this issue Apr 30, 2022
@scambier
Copy link
Owner

scambier commented May 1, 2022

This feature has been released in version 1.1.0, which is accessible through BRAT.

You can now search for "antique car" -1970. Do note that quotes and exclusions work as a post-search filter: Omnisearch will first look for all notes that match antique and car, and then filter those who contain the sequence "antique car", and exclude those who have 1970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants