Skip to content

search: support negation for field content

Administrator requested to merge sh/negate-content into master

Created by: stefanhengl

Relates to #12232

This PR adds support for negating the content field

foo and -content:bar

limitations:

  • indexed searches only
  • implemented as part of the new parser: "search.migrateParser": true
  • syntax highlighting in search-field marks -content as not supported. This will be handled in a separate PR.
  • suggestions ignore negations (see PR comments below).

Merge request reports

Loading