Skip to content

add negation/NOT for file contents

Created by: stefanhengl

This ticket is closely related to #9976 (closed). Both tickets can be implemented independently.

We want to support negating patterns when users explicitly override the search pattern with content:. Apache Lucene/OpenGrok supports negating file contents.

Query we want to support:

  • -content:foo
  • NOT foo