A newer version of this documentation is available.

View Latest

Regexp Query

    March 9, 2025
    + 12

    A regexp query finds documents containing terms that match the specified regular expression. Please note that the regex query is a non-analytic query, meaning it won’t perform any text analysis on the query text.

    json
    { "regexp": "inter.+", "field": "reviews.content" }

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