At the highest level, a SOSL query specifies search terms and scope. The search terms are a list of string literals and can include wildcards. The search scope is fields containing string data from one or more objects. This excludes Number, Date, and Checkbox fields from being searched with SOSL.
SOSL query syntax consists of four parts:
Query—The query is one or more words or phrases to search on. The query can include the wildcards
* (matches any number of characters) and
? (matches any single character) at the middle or end of search terms. Enclose a search term in quotation marks to perform an exact match on multiple words. Use ...