Improve search negation logic

Only dashes at the start of terms and outside of quotes are now
interpreted as negation.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-06-08 20:47:20 -04:00
parent 6f6ddfbc82
commit 74f333d16c
4 changed files with 74 additions and 34 deletions

View File

@@ -711,6 +711,8 @@ Other changes
- Add support for Google Fonts dependencies.
- Add support for patchin dependency files using rewriting rules.
- Allow searching documents by UUID.
- Improve search negation logic. Only dashes at the start of terms and
outside of quotes are now interpreted as negation.
Removals