A newer version of this documentation is available.

View Latest

Regexp Query

      +

      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.

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

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