hotel+luxurywill search for accommodations containing both
hotel | luxurywill search for documents containing either
–luxurywill search for accommodations that have the
hotelterm and/or do not have
lux*will search for accommodations that have a term that starts with
lux, ignoring case.
City Motel(without quotes) would search for documents containing
Motelanywhere in any order,
"City Motel"(with quotes) will only match documents that contain that whole phrase together and in that order (text analysis still applies).
motel+(engelberg | luxury)will search for documents containing the motel term and either
luxury\\+hotelwill result in the term
luxury+hotel. In order to make things simple for the more typical cases, there are two exceptions to this rule where escaping is not needed:
-only needs to be escaped if it's the first character after whitespace, not if it's in the middle of a term. For example,
wi-fiis a single term
*needs to be escaped only if it's the last character before whitespace, not if it's in the middle of a term. For example,
wi*fiis treated as a single token.