# Recoll user manual
The query language

Sidebar | Prev | Up | Next

### Modifiers

Some characters are recognized as search modifiers when found immediately after the closing double quote of a phrase, as in `"some term"modifierchars`. The actual "phrase" can be a single term of course. Supported modifiers:

- `l` can be used to turn off stemming (mostly makes sense with `p` because stemming is off by default for phrases).

- `s` can be used to turn off synonym expansion, if a synonyms file is in place (only for Recoll 1.22 and later).

- `o` can be used to specify a "slack" for phrase and proximity searches: the number of additional terms that may be found between the specified ones. If `o` is followed by an integer number, this is the slack, else the default is 10.

- `p` can be used to turn the default phrase search into a proximity one (unordered). Example: `"order any in"p`

- `C` will turn on case sensitivity (if the index supports it).

- `D` will turn on diacritics sensitivity (if the index supports it).

- A weight can be specified for a query element by specifying a decimal value at the start of the modifiers. Example: `"Important"2.5`.

Prev | Up | Next
| Home |