|Top Previous Next|
Agent Ransack's Boolean expression engine supports Web style search expressions using the AND, OR, and NOT operators. The Boolean expression is matched across the whole file, e.g.
Whole file example
The expression work AND document searches for files that include the words work and document. The words can occur on the same line or on different lines throughout the file.
The expression work NOT document searches for files that include work but not document anywhere in the file.
Note: the operators AND, OR, and NOT must be written in capital letters otherwise they are assumed to be search terms.
Quotes can be used to search for literal phrases, e.g.
"work document" searches for the exact phrase work document.
Brackets can be used to specify phrase grouping, e.g.
The expression work AND (document OR letter) searches for lines that include work and either document or letter.