Using Wildcards


With wildcard operators, you can search for words with variable characters. You can position wildcard operators at the beginning, middle, or end of a query word, and you can combine them within a word (e.g., ?ffect*).

Note Search stemming is disabled for a query term when you use a wildcard at the beginning or in the middle of the term.

Matching a Single Character

You can use the single character wildcard-the question mark-to represent a single variable character in a query.

Syntax:

string?
str??ing
???string
Examples:

medic???
1?4
R??2
The first query will search for terms like medicine, medicate, etc.

The second query will search for terms like 114, 144, etc.

The third query will search for terms like R2D2, etc.

Matching a Character String

You can use the string wildcard-the asterisk-to represent a variable string of zero or more characters in a query.

Syntax:

string*
string1*string2
*string
Examples:

medic*
m*n
*ane
1*5
The first query will search for terms like medic, medics, medical, medicine, medicate, medically, medication, etc.

The second query will search for terms like man, men, mean, moon, melon, moron, maroon, Manhattan, manifestation, etc.

The third query will search for terms like bane, lane, crane, plane, profane, insane, membrane, etc.

The fourth query will search for terms like 15, 175, 1995, etc.

Note: A query consisting of only the string wildcard operator will return a Hitlist comprising all records in a database; the records will have identical relevance ranking scores.
[Previous Topic] [Contents] [Next Topic]