Please use brief keywords
Keywords operator:
- operator case insensitive. Example: and == And == AND
- AND: and | +
- OR: or | ,
- NOT: not | -
- ( ... )
- put space between operator and keyword
- %: catch all
- if more than 1 operator, use the last operator
- if no operator found, space is the operator (AND)
Example - 1: Simple
a b - c
Result: contains a and b but not c
Example - 2: More Advanced
a and b - c , d not or %e f (g h)
Result: a and b and f and (g h) not c or d or %e
having a and b and f and 'g h'(as 1 word), no c, or having d or ended by e
Hints:
From above example, the OR might overwrite AND and NOT condition - so do not have so complicated search string like above, unless you are logically strong.