Wildcard Searches

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Wildcard Searches

Iustin
Administrator

Wildcard Searches

It supports single and multiple character wildcard searches within single terms. To perform a single character wildcard search use the "?" symbol.To perform a multiple character wildcard search use the "*" symbol.

The single character wildcard search looks for terms that match that with the single character replaced. For example, to search for "text" or "test" you can use the search:

te?t

Multiple character wildcard searches looks for 0 or more characters. For example, to search for electric, electrical or electricity, you can use the search:

electric*

You can also use the wildcard searches in the middle of a term.

elec*ty

Note: All the wildcard queries are executed against non-stemmed fields: EN_TI_S/mot* is converted to EN_TI/mot*

Note:PhraseQuery keeps the stemming option if no wildcards are found: EN_TI/"electric motor" is stemmed while EN_TI_S/"electric mot*" is converted to EN_TI/"electric mot*"

Note: You cannot use a * or ? symbol as the first character of a search.