Use the query syntax for more advanced searching

Use the query syntax for more advanced searching

The starting point for a search is a word or a phrase, eg dryland salinity will search for the phrase across all the text fields in the AANRO knowledge base.

Boolean operators are used to combine words or phrases to narrow or expand your search in different ways.

& is the equivalent of AND Boolean logic. It combines two search elements so that both items must be present for a match and is useful for narrowing down a search eg peach rootstocks & phytophthora.

/ is the equivalent of OR and will match on any of the terms eg cattle breeds / herefords / murray grey will find any records with one or more of these terms. OR is useful for broadening a search by including alternatives and spelling variations.

! is the equivalent of NOT and excludes the term it precedes from the search. NOT logic should be used carefully and only to screen out information you know you don’t want eg grain crops ! wheat. But be careful that you are not screening out useful information, which just happens to contain the word wheat.

NOTE: Words joined by & / ! are evaluated in left-to-right order: red & white / blue finds items that are red and white, or items that are blue. Use parentheses to control evaluation order: red & (white / blue) finds items that are red and white or red and blue.

* is a mask placed at the end of a word to match different word endings eg absorp* will match on absorption as well as absorps

Quotation marks must enclose any sequence of terms you want to search containing the search operators &, !, /, to prevent these terms functioning as search operators in your query; for example, “R&D”.

Proximity operators find words near each other:

w# finds words near each other, in either order but within the count of the number words indicated by the #, eg rainfall w5 crops finds “rainfall” within 5 words of “crops” (in either order)

p# find words near each other in that order, where # specifies the proximity as a count of the number of words eg application p2 pesticides finds “application” preceding “pesticides” by one or two words, eg nutrients p5 alg* finds “nutrients” preceding “algae or algal” by 5 words or fewer.