A newer version of this documentation is available.

View Latest

Wildcard Query

    February 16, 2025
    + 12

    A wildcard query uses a wildcard expression, to search within individual terms for matches. Wildcard expressions can be any single character (?) or zero to many characters (*). Wildcard expressions can appear in the middle or end of a term, but not at the beginning. Please note that the wildcard query is a non-analytic query, meaning it won’t perform any text analysis on the query text.

    json
    { "wildcard": "inter*", "field": "reviews.content" }

    A demonstration of a wildcard query using the Java SDK can be found in Searching from the SDK.