+
' specifies AND
operation: token1+token2
|
' specifies OR
operation: token1|token2
-
' negates a single token: -token0
"
' creates phrases of terms: "term1 term2 ..."
*
' at the end of terms specifies prefix query: term*
~
N' at the end of terms specifies fuzzy query: term~1
~
N' at the end of phrases specifies near query: "term1 term2"~5
(
' and ')
' specifies precedence: token1 + (token2 | token3)
OR
if no other operator is specified. For example, the following will OR
token1
and token2
together: token1 token2
token1 OR token2
first, then AND
with token3
: token1 | token2 + token3
\
'. The following characters will need to be escaped in terms and phrases: + | " ( ) ' \
-
' operator is a special case. On individual terms (not phrases) the first character of a term that is -
must be escaped; however, any '-
' characters beyond the first character do not need to be escaped. For example: -term1
-- Specifies NOT
operation against term1
\-term1
-- Searches for the term -term1
.term-1
-- Searches for the term term-1
.term\-1
-- Searches for the term term-1
.*
' operator is a special case. On individual terms (not phrases) the last character of a term that is '*
' must be escaped; however, any '*
' characters before the last character do not need to be escaped: term1*
-- Searches for the prefix term1
term1\*
-- Searches for the term term1*
term*1
-- Searches for the term term*1
term\*1
-- Searches for the term term*1