Skip to content

Commit 59d61c3

Browse files
imatwawanawmakPeloWriter
authored
update Search and Discover content with IN search (#3410)
* update search and disover with in statements * Update src/docs/product/discover-queries/query-builder.mdx fixing broken link * Update src/docs/product/discover-queries/query-builder.mdx Co-authored-by: William Mak <[email protected]> * Update src/docs/product/sentry-basics/search/index.mdx * Update src/docs/product/sentry-basics/search/index.mdx * Update src/docs/product/sentry-basics/search/index.mdx * update description of IN search for clarity Co-authored-by: Fiona <[email protected]> * update IN search description in Search index page * Edits to improve clarity; removed "operator" language Co-authored-by: William Mak <[email protected]> Co-authored-by: Fiona <[email protected]>
1 parent b8adf60 commit 59d61c3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/docs/product/discover-queries/query-builder.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ The Query Builder syntax is identical to [Sentry's Search syntax](/product/sentr
4646

4747
Use `OR` and `AND` search conditions between filters. However `OR` cannot be used between aggregate and non-aggregate filters. For more details about these conditions, see [Using `OR` and `AND`](/product/sentry-basics/search/#using-or-and-and).
4848

49+
You can also search multiple values for the same key by putting the values in a list. For example, "x:[value1, value2]" will find the same results as "x:value1 `OR` x:value2". You can learn more in our content covering [Multiple Values on the Same Key](/product/sentry-basics/search/#multiple-values-on-the-same-key).
50+
4951
### Tag Summary Filters
5052

5153
Every event has a list of tag values. The tag summary (or facet map) is a visualization of the top 10 keys sorted by frequency. The most common tag value is listed directly above the bar in the description and percentage. Hover over each section in a bar to see the exact distribution for that tag.

src/docs/product/sentry-basics/search/index.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@ user.username:janedoe OR count():>100
6969

7070
Also, the queries prioritize `AND` before `OR`. For example, "x `AND` y `OR` z" is the same as "(x `AND` y) `OR` z". Parentheses can be used to change the grouping. For example, "x `AND` (y `OR` z)".
7171

72+
### Multiple Values on the Same Key
73+
74+
You can search multiple values for the same key by putting the values in a list. For example, "x:[value1, value2]" will find the the same results as "x:value1 `OR` x:value2". When you do this, the search returns issues/events that match any search term.
75+
76+
An example of searching on the same key with a list of values:
77+
78+
```
79+
release:[12.0, 13.0]
80+
```
81+
82+
Currently, you can't use this type of search on the keyword `is`.
83+
7284
### Explicit Tag Syntax
7385

7486
We recommend you never use reserved keywords (such as `project_id`) as tags. But if you do, you must use the following syntax to search for it:

0 commit comments

Comments
 (0)