Using Boolean Operators
To make your full-text search more accurate, you can use logical operators such as the four explained below:
- & - logical AND.
For example, "ring & diamond". Site Search will find any URLs that contain both "ring" and "diamond". You can also use + for this operator.
- | - logical OR.
For example, "ring | diamond". Site Search will find any URLs that contain the word "ring" or the word "diamond".
- ~ - logical NOT.
For example, "ring & ~diamond". Site Search will find URLs that contain the word "ring" and do not contain the word "diamond" at the same time. Note that ~ just excludes the given word from the results. Query "~diamond" will not find anything!
- () - group command to compose more complex queries.
For example, "(ring | diamond) & ~necklace". Query language is simple and powerful at the same time. Just consider the query as a usual boolean expression.
|
|
|