Result of highlighting a query: markup plus how the query is interpreted.
Token-wrapped, HTML-escaped markup of the raw query (round-trips to the input).
Whether the query is plain, a valid advanced query, or an invalid one.
Optional
Human-readable reason, present only when state is "error".
state
"error"
Result of highlighting a query: markup plus how the query is interpreted.