Typographical Conventions in This Document

This SOSL reference uses specific typographical conventions.
Use the following typographical conventions:
Convention Description
FIND Name IN Account Courier font indicates items that you should type as shown. In a syntax statement, Courier font also indicates items that you should type as shown, except for curly braces, square brackets, ellipsis, and other typographical markers explained in this table.
FIND fieldname IN objectname Italics represent a variable or placeholder. You supply the actual value.
| The pipe character separates alternate elements. For example, in the clause UPDATE TRACKING|VIEWSTAT[,...], the | character indicates that you can use either TRACKING or VIEWSTAT after UPDATE.
[LIMIT n] Square brackets indicate an optional element. For example, [LIMIT n] means that you can specify a LIMIT clause. Don’t type square brackets as part of a SOSL command. Nested square brackets indicate elements that are optional and can only be used if the parent optional element is present. For example, in the clause [ORDER BY fieldname [ASC | DESC] [NULLS {FIRST | LAST}]] , ASC, DESC, or the NULLS clause cannot be used without the ORDER BY clause.
[...] and [,...] Square brackets containing an ellipsis indicate that the preceding element can be repeated up to the limit for the element. If a comma is also present, the repeated elements must be separated by commas. If the element is a list of choices grouped with curly braces, you can use items from the list in any order. For example, in the clause [ [ [ UPDATE [TRACKING|VIEWSTAT][,...]], the [,...] indicates that you can use TRACKING, VIEWSTAT, or both:
1UPDATE TRACKING
1UPDATE VIEWSTAT
1UPDATE TRACKING, VIEWSTAT