From 84c842193183a023e42c93994d44be24ed1f2d85 Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Thu, 11 Sep 2025 15:55:07 -0300 Subject: [PATCH 1/6] :art: Apply prettier --- docs/concepts/search/index.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index e2a7da75074e4..7169d385fa028 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -12,7 +12,10 @@ Search is available on several features throughout [sentry.io](https://sentry.io ## Query Syntax -You'll only need to use query syntax if you're using a Sentry [API](/api/). You'll get pre-populated suggestions once you start typing in your search terms when using the search bar anywhere in [Sentry.io](https://sentry.sentry.io/). + You'll only need to use query syntax if you're using a Sentry [API](/api/). + You'll get pre-populated suggestions once you start typing in your search + terms when using the search bar anywhere in + [Sentry.io](https://sentry.sentry.io/). Search queries are constructed using a `key:value` pattern, with an optional raw search at the end. Each `key:value` pair is a `token` and the optional raw search is itself a single `token`. The `key:value` pair `tokens` are treated as issue or event properties. The optional raw search is treated as a single `token` and searches event titles/messages. From b273cad6f2a7fe3cdc2f5daab7f2a0b4f3f1c1a5 Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Thu, 11 Sep 2025 15:55:37 -0300 Subject: [PATCH 2/6] :speech_balloon: Change asterisk wildcard from opreator to character --- docs/concepts/search/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index 7169d385fa028..d624139443b0a 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -120,7 +120,7 @@ In the example above, the search query returns all Issues that are unresolved _a #### Wildcards -Search supports the wildcard operator `*` as a placeholder for specific characters and strings. +Search supports the wildcard character `*` as a placeholder for specific characters and strings. ``` browser:"Safari 11*" @@ -128,7 +128,7 @@ browser:"Safari 11*" In the example above, the search query will match on `browser` values like `"Safari 11.0.2"`, `"Safari 11.0.3"`, etc. -You may also combine operators like so: +You may also combine the wildcard character `*` with other operators like so: ``` !message:"*Timeout" From 958a9e733641dbe3d815339553411e1f31aba67d Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Thu, 11 Sep 2025 15:55:56 -0300 Subject: [PATCH 3/6] :sparkles: Add in new section regarding wildcard operators --- docs/concepts/search/index.mdx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index d624139443b0a..9373dbc854755 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -136,6 +136,28 @@ You may also combine the wildcard character `*` with other operators like so: In the above example, the search query returns results which do not have message values like `ConnectionTimeout`, `ReadTimeout`, etc. +#### Wildcard Operators + + + When using these operators, the base wildcard character `*` will be treated as + a literal character and not as a wildcard. + + +Sentry's API supports the use of the following wildcard operators when making requests to the API. + +For ease of use, we recommend using the wildcard `*` character instead of these operators when manually querying the API. + +``` +# contains, and does not contain +browser:containschrome, !browser:containsfire + +# starts with, and does not start with +browser:starts withchrome, !browser:starts withchrome + +# ends with, and does not end with +browser:ends withchrome, !browser:ends withfire +``` + ## Page Filters Page filters allow you to narrow down the results shown on a page by selecting specific projects, environments, and date ranges. After you've set your filters, they'll persist as you navigate across pages in Sentry. From 2bcd6ee6d6724bbaa08a5e461e8174b564807f13 Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Mon, 15 Sep 2025 09:51:42 -0300 Subject: [PATCH 4/6] :speech_balloon: Update Wildcards to Wildcard Character --- docs/concepts/search/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index 9373dbc854755..b8556d63050a9 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -118,7 +118,7 @@ is:unresolved !user.email:example@customer.com In the example above, the search query returns all Issues that are unresolved _and_ have not affected the user with the email address `example@customer.com`. -#### Wildcards +#### Wildcard Character Search supports the wildcard character `*` as a placeholder for specific characters and strings. From db09e5ad4b203ba9b89a59acce370764d141073e Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Mon, 15 Sep 2025 09:52:02 -0300 Subject: [PATCH 5/6] :speech_balloon: Update to new spaceless wildcard operators --- docs/concepts/search/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index b8556d63050a9..fe8cb075f2414 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -149,13 +149,13 @@ For ease of use, we recommend using the wildcard `*` character instead of these ``` # contains, and does not contain -browser:containschrome, !browser:containsfire +browser:Containschrome, !browser:Containsfire # starts with, and does not start with -browser:starts withchrome, !browser:starts withchrome +browser:StartsWithchrome, !browser:StartsWithchrome # ends with, and does not end with -browser:ends withchrome, !browser:ends withfire +browser:EndsWithchrome, !browser:EndsWithfire ``` ## Page Filters From 2ddc73339fb52883dcd2b3bb2cbf066d52f3448a Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Wed, 22 Oct 2025 11:15:41 -0300 Subject: [PATCH 6/6] :bulb: Add in comment for what unicode characters we use --- docs/concepts/search/index.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index fe8cb075f2414..c997a23220042 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -148,6 +148,8 @@ Sentry's API supports the use of the following wildcard operators when making re For ease of use, we recommend using the wildcard `*` character instead of these operators when manually querying the API. ``` +# Note: the characters wrapping the operators are `\uf00d`. + # contains, and does not contain browser:Containschrome, !browser:Containsfire