Search Operators

Symbols and Boolean operators are at the heart of the search engine of NetGovern Search. Any time you search for a keyword or partial keyword, Boolean operators specify precisely how it is done. NetGovern Search supports almost all Boolean operators, such as AND, OR, NOT, BUT, NEAR, and so on. However, they must be capitalized to be recognized as operators instead of search terms.

Regular Expressions (regex)

A regular expression (or regex) is a pattern describing a certain amount of text. NetGovern Search supports some regular expressions (regex) or pattern matching. You use the forward slash symbol (/) to initiate it. For a larger string, you must also end with it. The following example would find four digits in a row, or two letters and two digits. There is a limit of four such variables in a row.

/[0-9][0-9][0-9][0-9]/

/[a-z][a-z][0-9][0-9]/

For more information, refer to Elasticsearch: Regexp Query.

Reserved Characters

Certain characters are reserved for use by NetGovern Search and must be escaped if you want them to be part of a search. These include the following:

  • Single Characters: \ + - && || ! ( ) { } [ ] ^ " ~ :
  • Double Characters: && and ||

When using a reserved character at the beginning of a search query, it is important to select the Automatically escape reserved index characters (SOLR) option. Otherwise, your search will not work properly. The following example uses the tilde (~) character.

Example: ~asd.txt