Universal Search Query Types
Search Query Type |
Character |
Example Query |
Search Behavior |
Exact Match (Single Keyword) |
Enclosed " " |
"Test Sample" |
Search will return the keyword for exact match for the keyword |
All Keywords (AND Condition) |
Prefix + |
[+Test +Sample ] |
Search will return the documents that contain both keywords Test and Sample |
|
|
[+(Test Sample) +(Project) ] |
Search will return documents that contain the keyword (Test or Sample) and Project keyword |
AND |
AND |
[Test AND Sample ] |
Search will return documents that contain both keywords |
Any Keywords (OR Condition) |
OR |
[Test OR Sample ] |
Search will return documents that contain the keyword Test or Sample |
|
| ( default) |
[(Test | Sample) ] |
Search for documents containing the keyword Test or Sample |
Not Keyword |
NOT |
[Test NOT Sample ] |
Search will return documents that contain the keyword Test and do not contain the keyword Sample |
|
Prefix ! |
[(!Test Sample) ] |
Search will return documents that contain the keyword Sample and not contain the keyword Test |
|
Prefix - |
[+Test -Sample ] |
Search will return documents that contain the keyword Test and not contain the keyword Sample |
Wildcard |
* |
[Test* ], [Te*st ], [/.*Test/ ] |
Suffixing * will return search results containing words that begin with the keyword. Infixing * returns words that begin with Te and end with st . |
|
? |
[Test? ], [Test?r ], [/.?Test/ ] |
The search results will contain only one character as a wildcard. |
Regex |
Enclosed / |
[/Test.*/] |
Search for documents matching the regular expression (regex) |
Fuzzy Search |
Append ~ |
[Test~ ] |
Search will return documents that contain the keyword Test or similar words like West, Best (useful for typo detection) |
Fuzzy Search with character count |
Append ~2 |
[Test~2 ] |
Same as above, but limits the search results to keywords similar to Test by no more than two characters |
Boost |
Append ^ |
[Test^50 Sample ] |
Search will return documents containing both Test and Sample, but with more preference to Test. Boost score for Test by 50. |
|
|
[Test^0.1 Sample ] |
Search will return documents containing both Test and Sample, but Test will be given the least preference (score of 0.1) |
Field Search |
FieldName:Keyword |
[Title:/.*FinalTest.*/ ] |
Search will return documents that have "FinalTest" in their title. |
|
|
[Title:/.*FinalTest.*/ AND Sample ] |
Search will return documents that have "FinalTest" in their title and also contain the keyword Sample. |