Whether users know it or not, every time they use SharePoint's search box, they are actually writing a keyword query. A keyword query consists of either a free text query, a property restriction, or both. In addition, keyword queries can include operators, such as OR, AND, and NOT.
A basic keyword query contains at least one search term (free text), and is case insensitive, which means that a search for xbox
will return items containing both xbox
and XBOX
. Operators, on the other hand are case sensitive and must be written using uppercase letters, so searching for items containing either "xbox"or "playstation" will result in the following query: xbox OR playstation
.
What if we wish to look for any item that begins with xbox
and not just contains it? That's why we have the asterisk (*
) operator. Searching for xbox*
will return items such as xbox360
, xbox720
, and so on.
If we wish to look for items containing the exact phrase 'xbox 360'
, we put...