The search command looks through every record in the database and returns records matching the search criteria. It is extremely fast and flexible - you can search through multiple fields and sort the results in just about any way imagineable. The "matched" or "hit" records in the database are displayed in a [FoundItems] loop.
Searching can be very sophisticated, so we have dedicated a complete section to it here.
Example (normally you would link to a URL or form containing the following information):
The database "SomeDatabase.db" opens, all records whose name field is "Grant" found, and any [FoundItems]..[/FoundItems] contexts in the template xx.tpl filled with the list of found records.
Here are some equivalent ways to send the same command: