# 토론 검색

GitHub에 대한 토론을 검색하고 검색 한정자를 사용하여 결과의 범위를 좁힐 수 있습니다.

## 토론 검색 방법

모든 GitHub에서 전역적으로 토론을 검색하거나 특정 조직 또는 리포지토리 내에서 토론을 검색할 수 있습니다. 자세한 내용은 [GitHub 검색 정보](/ko/search-github/getting-started-with-searching-on-github/about-searching-on-github)을(를) 참조하세요.

> \[!TIP]
>
> * 이 문서에는 GitHub.com 웹 사이트의 예제 검색 링크가 포함되어 있지만 모든 GitHub 플랫폼에서 동일한 검색 필터를 사용할 수 있습니다. 연결된 예제 검색에서 `github.com`을 GitHub 플랫폼을 위한 호스트 이름으로 바꿉니다.
> * 결과를 더 개선하기 위해 검색 한정자에 추가할 수 있는 검색 구문 목록은 [검색 구문 이해](/ko/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)을(를) 참조하세요.
> * 여러 단어로 된 검색어를 따옴표로 묶으세요. 예를 들어 “진행 중”이라는 레이블이 있는 문제를 검색하려면 `label:"in progress"`를 검색합니다. 검색은 대/소문자를 구분하지 않습니다.

## 제목, 본문 또는 댓글로 검색

```
          `in` 한정자를 사용하여 토론 검색을 제목, 본문 또는 댓글로 제한할 수 있습니다. 한정자를 결합하여 제목, 본문 또는 댓글 조합을 검색할 수도 있습니다. 
          `in` 한정자를 생략하면 GitHub가 제목, 본문 및 댓글을 검색합니다.
```

| 한정자        | 예시 |
| :--------- | :- |
| `in:title` |    |

```
          [
          **welcome in:title**](https://github.com/search?q=welcome+in%3Atitle&type=Discussions)은 제목에 "welcome"이 있는 토론을 일치시킵니다. |
```

\| `in:body` |
[
**onboard in:title,body**](https://github.com/search?q=onboard+in%3Atitle%2Cbody\&type=Discussions)는 제목 또는 본문에 "onboard"가 있는 토론을 일치시킵니다. |
\| `in:comments` |
[
**thanks in:comments**](https://github.com/search?q=thanks+in%3Acomment\&type=Discussions)는 토론의 댓글에 "thanks"가 들어있는 토론과 일치하는 항목입니다. |

## 사용자 또는 조직의 리포지토리 내에서 검색

특정 사용자 또는 조직이 소유한 모든 리포지토리에서 토론을 검색하려면 `user` 또는 `org` 한정자를 사용하면 됩니다. 특정 리포지토리에서 토론을 검색하려면 `repo` 한정자를 사용하면 됩니다.

| 한정자                                 | 예시 |
| :---------------------------------- | :- |
| <code>user:<em>USERNAME</em></code> |    |

```
          [
          **user:octocat feedback**](https://github.com/search?q=user%3Aoctocat+feedback&type=Discussions)은 @octocat이 소유한 리포지토리에서 "feedback"이 있는 토론을 일치시킵니다. |
```

\| <code>org:<em>ORGNAME</em></code> |
[
**org:github**](https://github.com/search?q=org%3Agithub\&type=Discussions\&utf8=%E2%9C%93) GitHub 조직이 소유한 리포지토리의 토론과 일치합니다. |
\| <code>repo:<em>USERNAME/REPOSITORY</em></code> |
[
**repo:nodejs/node created:<2021-01-01**](https://github.com/search?q=repo%3Anodejs%2Fnode+created%3A%3C2020-01-01\&type=Discussions)은 2021년 1월 이전에 만든 @nodejs의 Node.js 런타임 프로젝트의 토론을 일치시킵니다. |

## 열린 상태 또는 닫힌 상태로 검색

```
          `is` 한정자를 사용하여 열려 있는지 닫혔는지 여부에 따라 토론을 필터링할 수 있습니다.
```

| 한정자       | 예시 |
| --------- | -- |
| `is:open` |    |

```
          [
          **performance is:open is:discussion**](https://github.com/search?q=is%3Adiscussion+performance+is%3Aopen&type=discussions)은 “performance”라는 단어가 있는 열린 토론을 매칭합니다.
```

\| `is:closed` |
[
**android is:closed**](https://github.com/search?q=android+is%3Aclosed\&type=discussions)는 "android"라는 단어가 있는 닫힌 토론을 매칭합니다.

## 토론 응답 여부에 따라 검색

```
          `is` 한정자를 사용하여 답변된 토론을 검색할 수 있습니다.
```

| 한정자           | 예시 |
| ------------- | -- |
| `is:answered` |    |

```
          [
          **performance is:answered is:discussion**](https://github.com/search?q=is%3Adiscussion+performance+is%3Aanswered&type=discussions)은 “performance”라는 단어가 있는 답변된 토론을 매칭합니다.
```

\| `is:unanswered` |
[
**android is:unanswered**](https://github.com/search?q=android+is%3Aunanswered\&type=discussions)는 "android"라는 단어가 있는 답변되지 않은 토론을 매칭합니다.

## 토론이 잠겨 있는지 여부에 따라 검색

```
          `is` 한정자를 사용하여 잠긴 토론을 검색할 수 있습니다. 자세한 내용은 [AUTOTITLE](/discussions/managing-discussions-for-your-community/moderating-discussions)을(를) 참조하세요.
```

| 한정자         | 예시 |
| ----------- | -- |
| `is:locked` |    |

```
          [
          **"code of conduct" is:locked is:discussion**](https://github.com/search?q=%22code+of+conduct%22+is%3Alocked+is%3Adiscussion&type=discussions)는 잠긴 "code of conduct"라는 단어가 포함된 토론과 일치합니다.
```

\| `is:unlocked` |
[
**code of conduct is:unlocked is:discussion**](https://github.com/search?q=%22code+of+conduct%22+is%3Aunlocked\&type=discussions)은 "code of conduct"라는 단어가 포함된 잠겨 있지 않은 토론을 검색합니다.

## 리포지토리 표시 여부별로 필터링

```
          `is` 한정자를 사용하여 토론이 포함된 리포지토리의 표시 여부를 기준으로 필터링할 수 있습니다. 자세한 내용은 [AUTOTITLE](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)을(를) 참조하세요.
```

| 한정자         | 예시 |
| :---------- | :- |
| `is:public` |    |

```
          [
          **is:public**](https://github.com/search?q=is%3Apublic&type=Discussions)은 퍼블릭 리포지토리에서 토론을 찾습니다. |
```

\|   |
\| `is:private` |
[
**is:private tiramisu**](https://github.com/search?q=is%3Aprivate+tiramisu\&type=Discussions)는 사용자가 액세스할 수 있는 프라이빗 리포지토리에서 "tiramisu"라는 단어가 포함된 토론을 찾습니다.

## 작성자로 검색

```
          `author` 한정자는 특정 사용자가 만든 토론을 찾습니다.
```

| 한정자                                   | 예시 |
| :------------------------------------ | :- |
| <code>author:<em>USERNAME</em></code> |    |

```
          [
          **cool author:octocat**](https://github.com/search?q=cool+author%3Aoctocat&type=Discussions)은 @octocat에서 만들어진 단어 "cool"이 있는 토론을 일치시킵니다. |
```

\| `in:body` <code>
author: <em>
USERNAME </em> </code>
|
[
**bootstrap in:body author:octocat**](https://github.com/search?q=bootstrap+in%3Abody+author%3Aoctocat\&type=Discussions)은 본문에 단어 "bootstrap"이 포함된 @octocat에서 만들어진 토론을 일치시킵니다. |

## 댓글 작성자로 검색

```
          `commenter` 한정자는 특정 사용자의 댓글이 포함된 토론을 찾습니다.
```

| 한정자                                      | 예시 |
| :--------------------------------------- | :- |
| <code>commenter:<em>USERNAME</em></code> |    |

```
          [
          **github commenter:becca org:github**](https://github.com/search?utf8=%E2%9C%93&q=github+commenter%3Abecca+org%3Agithub&type=Discussions) "github"이라는 단어를 포함하고 @becca 주석이 있는 GitHub 소유한 리포지토리의 토론과 일치합니다.
```

## 토론에 응답한 사용자로 검색

```
          `answered-by` 한정자는 특정 사용자의 댓글이 답변으로 표시된 토론을 찾습니다.
```

| 한정자                                        | 예시 |
| :----------------------------------------- | :- |
| <code>answered-by:<em>USERNAME</em></code> |    |

```
          [
          **cool answered-by:octocat**](https://github.com/search?q=cool+author%3Aoctocat&type=Discussions)은 @octocat이 답변한 단어 "cool"이 있는 토론을 매칭합니다. |
```

## 토론에 관여한 사용자를 기준으로 검색

```
          `involves` 한정자를 사용하여 특정 사용자가 참여한 토론을 찾을 수 있습니다. 이 한정자는 특정 사용자가 만들거나, 사용자를 언급하거나, 댓글을 포함하는 토론을 반환합니다. 
          `involves` 한정자는 단일 사용자에 대한 `author`, `mentions` 및 `commenter` 한정자 사이의 논리적 OR입니다.
```

| 한정자                                     | 예시 |
| :-------------------------------------- | :- |
| <code>involves:<em>USERNAME</em></code> |    |

```
          **
          [involves:becca involves:octocat](https://github.com/search?q=involves%3Abecca+involves%3Aoctocat&type=Discussions)** 은 @becca 또는 @octocat이 관여된 토론과 관련이 있습니다.
```

\| `in:body` <code>
involves: <em>
USERNAME </em> </code>
|
[
**NOT free in:body involves:becca**](https://github.com/search?q=NOT+free+in%3Abody+involves%3Abecca\&type=Discussions)는 본문에 "free"라는 단어가 포함되지 않은, @becca가 참여한 토론과 일치합니다.

## 댓글 수로 검색

```
          `comments` 한정자를 보다 큼, 보다 작음 및 범위 한정자와 함께 사용하여 댓글 수를 기준으로 검색할 수 있습니다. 자세한 내용은 [AUTOTITLE](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)을(를) 참조하세요.
```

| 한정자                              | 예시 |
| :------------------------------- | :- |
| <code>comments:<em>n</em></code> |    |

```
          [
          **comments:&gt;100**](https://github.com/search?q=comments%3A%3E100&type=Discussions)은 100개 이상의 댓글이 있는 토론을 일치시킵니다.
```

\| <code>comments:<em>n</em></code> |
[
**comments:500..1000**](https://github.com/search?q=comments%3A500..1000\&type=Discussions)은 500개에서 1,000개 사이의 댓글이 있는 토론을 일치시킵니다.

## 토론 생성 시점 또는 마지막 업데이트 시점으로 검색

만든 시간 또는 토론이 마지막으로 업데이트된 시간을 기준으로 토론을 필터링할 수 있습니다. 토론 만들기의 경우 `created` 한정자를 사용할 수 있습니다. 토론이 마지막으로 업데이트된 시기를 확인하려면 `updated` 한정자를 사용합니다.

두 한정자 모두 날짜를 매개 변수로 사용합니다. 날짜 형식은 [ISO8601](http://en.wikipedia.org/wiki/ISO_8601) 표준인 `YYYY-MM-DD`(년-월-일)를 따라야 합니다. 날짜 뒤에 선택적 시간 정보 `THH:MM:SS+00:00`을 추가하여 시, 분, 초로 검색할 수도 있습니다. 이것은 `T`이며 그 다음은 `HH:MM:SS`(시-분-초)와 UTC 오프셋(`+00:00`)입니다.

날짜를 검색할 때 보다 큼, 보다 작음, 범위 한정자를 사용하여 결과를 추가로 필터링할 수 있습니다. 자세한 내용은 [검색 구문 이해](/ko/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)을(를) 참조하세요.

| 한정자                                      | 예시 |
| :--------------------------------------- | :- |
| <code>created:<em>YYYY-MM-DD</em></code> |    |

```
          [
          **created:>2020-11-15**](https://github.com/search?q=created%3A%3E%3D2020-11-15&type=discussions)는 2020년 11월 15일 이후에 생성된 토론을 일치시킵니다.
```

\| <code>updated:<em>YYYY-MM-DD</em></code> |
[
**weird in:body updated:>=2020-02-01**](https://github.com/search?q=weird+in%3Abody+updated%3A%3E%3D2020-12-01\&type=Discussions)은 2020년 12월 이후에 업데이트되었으며 본문에 “weird”라는 단어가 있는 토론을 일치시킵니다.

## 카테고리별 검색

특정 토론 범주별로 토론을 필터링할 수 있습니다.

| 한정자                                         | 예시 |
| :------------------------------------------ | :- |
| <code>category:<em>CATEGORYNAME</em></code> |    |

```
          [
          **category:Ideas**](https://github.com/search?utf8=%E2%9C%93&q=category%3Aideas) "Ideas"라는 이름과 일치하는 토론 범주를 매칭합니다.
```

## 레이블로 검색

토론에 적용되는 특정 레이블로 토론을 필터링할 수 있습니다.

| 한정자    | 예시 |
| :----- | :- |
| <code> |    |

```
          label:
          <em>
          "LABEL NAME"
          </em>
          </code>
         | 
          [
          **label:"Product Feedback"**](https://github.com/search?utf8=%E2%9C%93&q=label%3A%22product+feedback%22&type=discussions)은 "Product Feedback"이라는 레이블과 일치하는 토론을 매칭합니다.
```

## 추가 참고 자료

* [검색 결과 정렬](/ko/search-github/getting-started-with-searching-on-github/sorting-search-results)