Query types

Nuix search syntax uses a wide range of queries from single words to complex field queries. The following table details the various query types you can use to formulate a search.

Query type

Description

Simple

Search for a single-word or term to locate all occurrences of the word (search term).

If you use a specific case or punctuation, both are ignored. This finds the word in the properties, the name, the path, and the text content of items, or a combination of any of these items.

Wildcard

Search one or more words with the help of wildcard characters.

Wildcards substitute characters in a term to allow searching for one or more words that share some of the same characters.

Fuzzy

Search for terms based on the distance between two strings.

Nuix supports fuzzy searches based on the Levenshtein distance or "Edit distance" algorithm. The Levenshtein distance between two strings (words) is the minimum number of single-character edits (insertion, deletion, or substitution) required to change one word into the other.

Exact

Search for terms with punctuation and, or exact capitalization with single quotes (') around the term.

Field

Search for single-word terms occurring in specific properties of data items using one or more field names.

This finds the search term in text contained in the content of a document as well as in the properties of the document.

Phrase

Search for a sequence of words in a particular order with double quotes (") around the term.

To search for words within a certain distance of each other, use the tilde (~) symbol at the end of a phrase query along with a numerical value that indicates the number of unrelated words that can occur in between. This is the "slop" of a phrase query.

Regular Expression (Regex)

Search for terms using matching patterns of text strings, (such as particular characters, numbers, or words), with a forward slash (/) at each end of the expression.

Range

Search for terms within an upper and lower bound.

Use square brackets [ ] for a range that is inclusive of the term. Use curly braces { } for a range that is exclusive of the term.

The following pages more fully detail each query type and provide examples to help you understand how to use the syntax.