Wildcard Search

The SearchStax Site Search solution supports Solr's asterisk (*) wildcard feature for the convenience of general users. Other wildcard features are not officially supported, although they work under most circumstances.

Supported Wildcard Types

The following table is based on Apache's The Standard Query Parser page. It is intended as a general guide to wildcard features in Site Search.

Search Feature Example
Single-char wildcard sear?h
Multi-char wildcard *earc*
Fuzzy search searchstaks~
Proximity search "Search Search"~2
Existence search title:*
Prohibit search -author:*
Range search author:[* TO Tom]

Using Wildcards in Search

These queries can be used directly with the Search Preview and Search UI Kit App:

A search interface demonstrating a single-character wildcard query

To use proximity search and range search with the /emselect endpoint, you must URL encode the query string, as in q=author_ss:%5B*%20TO%20Tom%5D.

Articles in this section