{% include 'head.html' %}
The search is performed against the title and the body.
The entire team will be searched unless there is an author fields.
␣),
|,
&,
-,
!,
(,
),
' and
" .termA or
termB or
456
␣)
enclosed in single (')
or double (") quotation marks.'Hello world' or
"I love eLabFTW!"
Two wildcards are available. The percent sign
(%)
matches zero or more characters while the underscore
(_)
matches exactly one character. To search for literal
% or
_
the characters need to be escaped with a backslash
\% or
\_.
Terms can be connected in different ways:
OR or
|:
termA OR termB or
termA|termB
AND,
& or
space (␣):
termA AND termB or
termA&termB or
termA termB
NOT,
- or
!:
NOT termA or
-termA or
!termA
(): (termA OR termB) AND !termCThe operators are listed in increasing order of precedence. Note the whitespace around the operators.
OR,
AND and
NOT
require to be surrounded by whitespace while
|,
&,
- and
!
don't.
termA termB OR termC
is equivalent to
(termA AND termB) OR termC.
To give priority to
OR
use parenthesis:
termA AND (termB OR termC).
Field/value pairs are also applicable in the quick search fields.
Basic syntax field:value
By default wildcards are added to Terms and Quoted terms. The strict switch (field:s:value) disables the wildcards.
A date has to be provided in the following format: YYYYMMDD,
i.e., four digit year, two digit month, and two digit day.
Year, month and day can—but don't have to—be separated by
hyphen (-),
slash (/),
period (.),
or comma (,).
Either a single date or a date range can be used.
<, <=, =, >=, >, or !=date:17890714 or
date:>1909-12-12 or
date:>=1867.11.07
..)date:20200101..20201231