How to write a search query using the Console's query language.
In this section of the documentation