A query is composed of _terms_ and _operators_. There are two types of _terms_:
- A [**Facet**](https://docs.datadoghq.com/tracing/trace_explorer/query_syntax/#facet-search)
- A [**Tag**](https://docs.datadoghq.com/tracing/trace_explorer/query_syntax/#tags-search)
# Escaping of special characters
The following attributes are considered as special:
> `?`, `>`, `<`, `:`, `=`,`"`, `~`, `/`, and `\`
For instance, to search traces that contain `user=JaneDoe` in their `url` the following search must be entered:
```
@url:*user\=JaneDoe*
```
The same logic must be applied to spaces within trace attributes. It is not recommended to have spaces in trace attributes but in such cases, spaces require escaping. If an attribute is called `user.first name`, perform a search on this attribute by escaping the space:
```
@user.first\ name:myvalue
```
# Wildcard
You can use